import Message, { IMessage } from './../../message.js'; import { IDescriptorBody } from '../../descriptor.js'; export interface IGetSuggestionResponse extends IMessage { id: string; authorId: string; type: string; createdAt: string; data: string; hasComments: boolean; state: string; attributes: string | null; } export default class GetSuggestionResponse extends Message { readonly id: string; readonly authorId: string; readonly type: string; readonly hasComments: boolean; readonly state: string; readonly data: Record; readonly attributes: Record | null; readonly createdAt: Date; static readonly DESCRIPTOR_NAME: string; static readonly DESCRIPTOR: IDescriptorBody; constructor(id: string, authorId: string, type: string, createdAt: string, hasComments: boolean, state: string, data?: Record, attributes?: Record | null); toJSON(): IGetSuggestionResponse; static fromJSON(data: IGetSuggestionResponse): GetSuggestionResponse; }