fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
349 lines • 7.07 kB
TypeScript
/**
* 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 APICommentBase
*/
export interface APICommentBase {
/**
*
* @type {string}
* @memberof APICommentBase
*/
id: string;
/**
*
* @type {boolean}
* @memberof APICommentBase
*/
aiDeterminedSpam?: boolean;
/**
*
* @type {string}
* @memberof APICommentBase
*/
anonUserId?: string | null;
/**
*
* @type {boolean}
* @memberof APICommentBase
*/
approved: boolean;
/**
*
* @type {string}
* @memberof APICommentBase
*/
avatarSrc?: string | null;
/**
*
* @type {Array<CommentUserBadgeInfo>}
* @memberof APICommentBase
*/
badges?: Array<CommentUserBadgeInfo> | null;
/**
*
* @type {string}
* @memberof APICommentBase
*/
comment: string;
/**
*
* @type {string}
* @memberof APICommentBase
*/
commentHTML: string;
/**
*
* @type {string}
* @memberof APICommentBase
*/
commenterEmail?: string | null;
/**
*
* @type {string}
* @memberof APICommentBase
*/
commenterLink?: string | null;
/**
*
* @type {string}
* @memberof APICommentBase
*/
commenterName: string;
/**
*
* @type {Date}
* @memberof APICommentBase
*/
date: Date | null;
/**
*
* @type {string}
* @memberof APICommentBase
*/
displayLabel?: string | null;
/**
*
* @type {string}
* @memberof APICommentBase
*/
domain?: string | null;
/**
*
* @type {string}
* @memberof APICommentBase
*/
externalId?: string;
/**
*
* @type {string}
* @memberof APICommentBase
*/
externalParentId?: string | null;
/**
*
* @type {Date}
* @memberof APICommentBase
*/
expireAt?: Date | null;
/**
*
* @type {Array<string>}
* @memberof APICommentBase
*/
feedbackIds?: Array<string>;
/**
*
* @type {number}
* @memberof APICommentBase
*/
flagCount?: number | null;
/**
*
* @type {number}
* @memberof APICommentBase
*/
fromProductId?: number;
/**
*
* @type {boolean}
* @memberof APICommentBase
*/
hasCode?: boolean;
/**
*
* @type {boolean}
* @memberof APICommentBase
*/
hasImages?: boolean;
/**
*
* @type {boolean}
* @memberof APICommentBase
*/
hasLinks?: boolean;
/**
*
* @type {Array<CommentUserHashTagInfo>}
* @memberof APICommentBase
*/
hashTags?: Array<CommentUserHashTagInfo>;
/**
*
* @type {boolean}
* @memberof APICommentBase
*/
isByAdmin?: boolean;
/**
*
* @type {boolean}
* @memberof APICommentBase
*/
isByModerator?: boolean;
/**
*
* @type {boolean}
* @memberof APICommentBase
*/
isDeleted?: boolean;
/**
*
* @type {boolean}
* @memberof APICommentBase
*/
isDeletedUser?: boolean;
/**
*
* @type {boolean}
* @memberof APICommentBase
*/
isPinned?: boolean | null;
/**
*
* @type {boolean}
* @memberof APICommentBase
*/
isLocked?: boolean | null;
/**
*
* @type {boolean}
* @memberof APICommentBase
*/
isSpam?: boolean;
/**
*
* @type {number}
* @memberof APICommentBase
*/
localDateHours?: number | null;
/**
*
* @type {string}
* @memberof APICommentBase
*/
localDateString?: string | null;
/**
*
* @type {string}
* @memberof APICommentBase
*/
locale: string | null;
/**
*
* @type {Array<CommentUserMentionInfo>}
* @memberof APICommentBase
*/
mentions?: Array<CommentUserMentionInfo>;
/**
*
* @type {APICommentBaseMeta}
* @memberof APICommentBase
*/
meta?: APICommentBaseMeta | null;
/**
*
* @type {Array<string>}
* @memberof APICommentBase
*/
moderationGroupIds?: Array<string> | null;
/**
*
* @type {boolean}
* @memberof APICommentBase
*/
notificationSentForParent?: boolean;
/**
*
* @type {boolean}
* @memberof APICommentBase
*/
notificationSentForParentTenant?: boolean;
/**
*
* @type {string}
* @memberof APICommentBase
*/
pageTitle?: string | null;
/**
*
* @type {string}
* @memberof APICommentBase
*/
parentId?: string | null;
/**
*
* @type {number}
* @memberof APICommentBase
*/
rating?: number | null;
/**
*
* @type {boolean}
* @memberof APICommentBase
*/
reviewed?: boolean;
/**
*
* @type {string}
* @memberof APICommentBase
*/
tenantId: string;
/**
*
* @type {string}
* @memberof APICommentBase
*/
url: string;
/**
*
* @type {string}
* @memberof APICommentBase
*/
urlId: string;
/**
*
* @type {string}
* @memberof APICommentBase
*/
urlIdRaw?: string;
/**
*
* @type {string}
* @memberof APICommentBase
*/
userId?: string | null;
/**
*
* @type {boolean}
* @memberof APICommentBase
*/
verified: boolean;
/**
*
* @type {Date}
* @memberof APICommentBase
*/
verifiedDate?: Date | null;
/**
*
* @type {number}
* @memberof APICommentBase
*/
votes?: number | null;
/**
*
* @type {number}
* @memberof APICommentBase
*/
votesDown?: number | null;
/**
*
* @type {number}
* @memberof APICommentBase
*/
votesUp?: number | null;
}
/**
* Check if a given object implements the APICommentBase interface.
*/
export declare function instanceOfAPICommentBase(value: object): value is APICommentBase;
export declare function APICommentBaseFromJSON(json: any): APICommentBase;
export declare function APICommentBaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): APICommentBase;
export declare function APICommentBaseToJSON(json: any): APICommentBase;
export declare function APICommentBaseToJSONTyped(value?: APICommentBase | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=APICommentBase.d.ts.map