UNPKG

fastcomments-sdk

Version:

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

202 lines 4.32 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 { CommentUserBadgeInfo } from './CommentUserBadgeInfo'; /** * * @export * @interface PublicCommentBase */ export interface PublicCommentBase { /** * * @type {string} * @memberof PublicCommentBase */ id: string; /** * * @type {string} * @memberof PublicCommentBase */ userId?: string | null; /** * * @type {string} * @memberof PublicCommentBase */ commenterName: string; /** * * @type {string} * @memberof PublicCommentBase */ commenterLink?: string | null; /** * * @type {string} * @memberof PublicCommentBase */ commentHTML: string; /** * * @type {string} * @memberof PublicCommentBase */ parentId?: string | null; /** * * @type {Date} * @memberof PublicCommentBase */ date: Date | null; /** * * @type {number} * @memberof PublicCommentBase */ votes?: number | null; /** * * @type {number} * @memberof PublicCommentBase */ votesUp?: number | null; /** * * @type {number} * @memberof PublicCommentBase */ votesDown?: number | null; /** * * @type {boolean} * @memberof PublicCommentBase */ verified: boolean; /** * * @type {string} * @memberof PublicCommentBase */ avatarSrc?: string | null; /** * * @type {boolean} * @memberof PublicCommentBase */ hasImages?: boolean; /** * * @type {boolean} * @memberof PublicCommentBase */ isByAdmin?: boolean; /** * * @type {boolean} * @memberof PublicCommentBase */ isByModerator?: boolean; /** * * @type {boolean} * @memberof PublicCommentBase */ isPinned?: boolean | null; /** * * @type {boolean} * @memberof PublicCommentBase */ isLocked?: boolean | null; /** * * @type {string} * @memberof PublicCommentBase */ displayLabel?: string | null; /** * * @type {number} * @memberof PublicCommentBase */ rating?: number | null; /** * * @type {Array<CommentUserBadgeInfo>} * @memberof PublicCommentBase */ badges?: Array<CommentUserBadgeInfo> | null; /** * * @type {number} * @memberof PublicCommentBase */ viewCount?: number | null; /** * * @type {boolean} * @memberof PublicCommentBase */ isDeleted?: boolean; /** * * @type {boolean} * @memberof PublicCommentBase */ isDeletedUser?: boolean; /** * * @type {boolean} * @memberof PublicCommentBase */ isSpam?: boolean; /** * * @type {string} * @memberof PublicCommentBase */ anonUserId?: string | null; /** * * @type {Array<string>} * @memberof PublicCommentBase */ feedbackIds?: Array<string>; /** * * @type {boolean} * @memberof PublicCommentBase */ requiresVerification?: boolean; /** * * @type {string} * @memberof PublicCommentBase */ editKey?: string; /** * * @type {boolean} * @memberof PublicCommentBase */ approved?: boolean; } /** * Check if a given object implements the PublicCommentBase interface. */ export declare function instanceOfPublicCommentBase(value: object): value is PublicCommentBase; export declare function PublicCommentBaseFromJSON(json: any): PublicCommentBase; export declare function PublicCommentBaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicCommentBase; export declare function PublicCommentBaseToJSON(json: any): PublicCommentBase; export declare function PublicCommentBaseToJSONTyped(value?: PublicCommentBase | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=PublicCommentBase.d.ts.map