UNPKG

fastcomments-sdk

Version:

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

349 lines 6.81 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 { APICommentBaseMeta } from './APICommentBaseMeta'; import type { CommentUserBadgeInfo } from './CommentUserBadgeInfo'; /** * * @export * @interface APIComment */ export interface APIComment { /** * * @type {string} * @memberof APIComment */ id: string; /** * * @type {boolean} * @memberof APIComment */ aiDeterminedSpam?: boolean; /** * * @type {string} * @memberof APIComment */ anonUserId?: string | null; /** * * @type {boolean} * @memberof APIComment */ approved: boolean; /** * * @type {string} * @memberof APIComment */ avatarSrc?: string | null; /** * * @type {Array<CommentUserBadgeInfo>} * @memberof APIComment */ badges?: Array<CommentUserBadgeInfo> | null; /** * * @type {string} * @memberof APIComment */ comment: string; /** * * @type {string} * @memberof APIComment */ commentHTML: string; /** * * @type {string} * @memberof APIComment */ commenterEmail?: string | null; /** * * @type {string} * @memberof APIComment */ commenterLink?: string | null; /** * * @type {string} * @memberof APIComment */ commenterName: string; /** * * @type {number} * @memberof APIComment */ date: number | null; /** * * @type {string} * @memberof APIComment */ displayLabel?: string | null; /** * * @type {string} * @memberof APIComment */ domain?: string | null; /** * * @type {string} * @memberof APIComment */ externalId?: string; /** * * @type {string} * @memberof APIComment */ externalParentId?: string | null; /** * * @type {Date} * @memberof APIComment */ expireAt?: Date | null; /** * * @type {Array<string>} * @memberof APIComment */ feedbackIds?: Array<string>; /** * * @type {number} * @memberof APIComment */ flagCount?: number | null; /** * * @type {number} * @memberof APIComment */ fromProductId?: number; /** * * @type {boolean} * @memberof APIComment */ hasCode?: boolean; /** * * @type {boolean} * @memberof APIComment */ hasImages?: boolean; /** * * @type {boolean} * @memberof APIComment */ hasLinks?: boolean; /** * * @type {Array<CommentUserHashTagInfo>} * @memberof APIComment */ hashTags?: Array<CommentUserHashTagInfo>; /** * * @type {boolean} * @memberof APIComment */ isByAdmin?: boolean; /** * * @type {boolean} * @memberof APIComment */ isByModerator?: boolean; /** * * @type {boolean} * @memberof APIComment */ isDeleted?: boolean; /** * * @type {boolean} * @memberof APIComment */ isDeletedUser?: boolean; /** * * @type {boolean} * @memberof APIComment */ isPinned?: boolean | null; /** * * @type {boolean} * @memberof APIComment */ isLocked?: boolean | null; /** * * @type {boolean} * @memberof APIComment */ isSpam?: boolean; /** * * @type {number} * @memberof APIComment */ localDateHours?: number | null; /** * * @type {string} * @memberof APIComment */ localDateString?: string | null; /** * * @type {string} * @memberof APIComment */ locale: string | null; /** * * @type {Array<CommentUserMentionInfo>} * @memberof APIComment */ mentions?: Array<CommentUserMentionInfo>; /** * * @type {APICommentBaseMeta} * @memberof APIComment */ meta?: APICommentBaseMeta | null; /** * * @type {Array<string>} * @memberof APIComment */ moderationGroupIds?: Array<string> | null; /** * * @type {boolean} * @memberof APIComment */ notificationSentForParent?: boolean; /** * * @type {boolean} * @memberof APIComment */ notificationSentForParentTenant?: boolean; /** * * @type {string} * @memberof APIComment */ pageTitle?: string | null; /** * * @type {string} * @memberof APIComment */ parentId?: string | null; /** * * @type {number} * @memberof APIComment */ rating?: number | null; /** * * @type {boolean} * @memberof APIComment */ reviewed?: boolean; /** * * @type {string} * @memberof APIComment */ tenantId: string; /** * * @type {string} * @memberof APIComment */ url: string; /** * * @type {string} * @memberof APIComment */ urlId: string; /** * * @type {string} * @memberof APIComment */ urlIdRaw?: string; /** * * @type {string} * @memberof APIComment */ userId?: string | null; /** * * @type {boolean} * @memberof APIComment */ verified: boolean; /** * * @type {Date} * @memberof APIComment */ verifiedDate?: Date | null; /** * * @type {number} * @memberof APIComment */ votes?: number | null; /** * * @type {number} * @memberof APIComment */ votesDown?: number | null; /** * * @type {number} * @memberof APIComment */ votesUp?: number | null; } /** * Check if a given object implements the APIComment interface. */ export declare function instanceOfAPIComment(value: object): value is APIComment; export declare function APICommentFromJSON(json: any): APIComment; export declare function APICommentFromJSONTyped(json: any, ignoreDiscriminator: boolean): APIComment; export declare function APICommentToJSON(json: any): APIComment; export declare function APICommentToJSONTyped(value?: APIComment | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=APIComment.d.ts.map