UNPKG

fastcomments-sdk

Version:

FastComments API Client - A SDK for interacting with the FastComments API

188 lines 4.11 kB
/** * fastcomments * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 0.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { CommentUserHashTagInfo } from './CommentUserHashTagInfo'; import type { CommentUserMentionInfo } from './CommentUserMentionInfo'; import type { GifSearchResponseImagesInnerInner } from './GifSearchResponseImagesInnerInner'; /** * * @export * @interface CommentData */ export interface CommentData { /** * * @type {number} * @memberof CommentData */ date?: number; /** * * @type {string} * @memberof CommentData */ localDateString?: string; /** * * @type {number} * @memberof CommentData */ localDateHours?: number; /** * * @type {string} * @memberof CommentData */ commenterName: string; /** * * @type {string} * @memberof CommentData */ commenterEmail?: string | null; /** * * @type {string} * @memberof CommentData */ commenterLink?: string | null; /** * * @type {string} * @memberof CommentData */ comment: string; /** * * @type {number} * @memberof CommentData */ productId?: number; /** * * @type {string} * @memberof CommentData */ userId?: string | null; /** * * @type {string} * @memberof CommentData */ avatarSrc?: string | null; /** * * @type {string} * @memberof CommentData */ parentId?: string | null; /** * * @type {Array<CommentUserMentionInfo>} * @memberof CommentData */ mentions?: Array<CommentUserMentionInfo>; /** * * @type {Array<CommentUserHashTagInfo>} * @memberof CommentData */ hashTags?: Array<CommentUserHashTagInfo>; /** * * @type {string} * @memberof CommentData */ pageTitle?: string; /** * * @type {boolean} * @memberof CommentData */ isFromMyAccountPage?: boolean; /** * * @type {string} * @memberof CommentData */ url: string; /** * * @type {string} * @memberof CommentData */ urlId: string; /** * * @type {object} * @memberof CommentData */ meta?: object; /** * * @type {Array<string>} * @memberof CommentData */ moderationGroupIds?: Array<string>; /** * * @type {number} * @memberof CommentData */ rating?: number; /** * * @type {boolean} * @memberof CommentData */ fromOfflineRestore?: boolean; /** * * @type {number} * @memberof CommentData */ autoplayDelayMS?: number; /** * * @type {Array<string>} * @memberof CommentData */ feedbackIds?: Array<string>; /** * Construct a type with a set of properties K of type T * @type {{ [key: string]: GifSearchResponseImagesInnerInner; }} * @memberof CommentData */ questionValues?: { [key: string]: GifSearchResponseImagesInnerInner; }; /** * * @type {boolean} * @memberof CommentData */ tos?: boolean; /** * * @type {string} * @memberof CommentData */ botId?: string; } /** * Check if a given object implements the CommentData interface. */ export declare function instanceOfCommentData(value: object): value is CommentData; export declare function CommentDataFromJSON(json: any): CommentData; export declare function CommentDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommentData; export declare function CommentDataToJSON(json: any): CommentData; export declare function CommentDataToJSONTyped(value?: CommentData | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=CommentData.d.ts.map