import IModel from '../../core/interface/IModel'; export default class Message implements IModel { private messageId; private roomName; private name; private userId; private category; private metadata; private createdAt; private revision; static getRegion(grn: string): string | null; static getOwnerId(grn: string): string | null; static getNamespaceName(grn: string): string | null; static getRoomName(grn: string): string | null; static getMessageName(grn: string): string | null; static isValid(grn: string): boolean; static createGrn(region: string | null, ownerId: string | null, namespaceName: string | null, roomName: string | null, messageName: string | null): string | null; getMessageId(): string | null; setMessageId(messageId: string | null): this; withMessageId(messageId: string | null): this; getRoomName(): string | null; setRoomName(roomName: string | null): this; withRoomName(roomName: string | null): this; getName(): string | null; setName(name: string | null): this; withName(name: string | null): this; getUserId(): string | null; setUserId(userId: string | null): this; withUserId(userId: string | null): this; getCategory(): number | null; setCategory(category: number | null): this; withCategory(category: number | null): this; getMetadata(): string | null; setMetadata(metadata: string | null): this; withMetadata(metadata: string | null): this; getCreatedAt(): number | null; setCreatedAt(createdAt: number | null): this; withCreatedAt(createdAt: number | null): this; getRevision(): number | null; setRevision(revision: number | null): this; withRevision(revision: number | null): this; static fromDict(data: { [key: string]: any; }): Message | null; toDict(): { [key: string]: any; }; }