fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
268 lines • 5.49 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 { CommentUserBadgeInfo } from './CommentUserBadgeInfo';
/**
*
* @export
* @interface PubSubCommentBase
*/
export interface PubSubCommentBase {
/**
*
* @type {string}
* @memberof PubSubCommentBase
*/
id: string;
/**
*
* @type {string}
* @memberof PubSubCommentBase
*/
tenantId: string;
/**
*
* @type {string}
* @memberof PubSubCommentBase
*/
userId?: string | null;
/**
*
* @type {string}
* @memberof PubSubCommentBase
*/
urlId: string;
/**
*
* @type {string}
* @memberof PubSubCommentBase
*/
commenterName: string;
/**
*
* @type {string}
* @memberof PubSubCommentBase
*/
commenterLink?: string | null;
/**
*
* @type {string}
* @memberof PubSubCommentBase
*/
commentHTML: string;
/**
*
* @type {string}
* @memberof PubSubCommentBase
*/
comment: string;
/**
*
* @type {string}
* @memberof PubSubCommentBase
*/
parentId?: string | null;
/**
*
* @type {number}
* @memberof PubSubCommentBase
*/
votes?: number | null;
/**
*
* @type {number}
* @memberof PubSubCommentBase
*/
votesUp?: number | null;
/**
*
* @type {number}
* @memberof PubSubCommentBase
*/
votesDown?: number | null;
/**
*
* @type {boolean}
* @memberof PubSubCommentBase
*/
verified: boolean;
/**
*
* @type {string}
* @memberof PubSubCommentBase
*/
avatarSrc?: string | null;
/**
*
* @type {boolean}
* @memberof PubSubCommentBase
*/
hasImages?: boolean;
/**
*
* @type {boolean}
* @memberof PubSubCommentBase
*/
hasLinks?: boolean;
/**
*
* @type {boolean}
* @memberof PubSubCommentBase
*/
isByAdmin?: boolean;
/**
*
* @type {boolean}
* @memberof PubSubCommentBase
*/
isByModerator?: boolean;
/**
*
* @type {boolean}
* @memberof PubSubCommentBase
*/
isPinned?: boolean | null;
/**
*
* @type {boolean}
* @memberof PubSubCommentBase
*/
isLocked?: boolean | null;
/**
*
* @type {string}
* @memberof PubSubCommentBase
*/
displayLabel?: string | null;
/**
*
* @type {number}
* @memberof PubSubCommentBase
*/
rating?: number | null;
/**
*
* @type {Array<CommentUserBadgeInfo>}
* @memberof PubSubCommentBase
*/
badges?: Array<CommentUserBadgeInfo> | null;
/**
*
* @type {number}
* @memberof PubSubCommentBase
*/
viewCount?: number | null;
/**
*
* @type {boolean}
* @memberof PubSubCommentBase
*/
isDeleted?: boolean;
/**
*
* @type {boolean}
* @memberof PubSubCommentBase
*/
isDeletedUser?: boolean;
/**
*
* @type {boolean}
* @memberof PubSubCommentBase
*/
isSpam?: boolean;
/**
*
* @type {string}
* @memberof PubSubCommentBase
*/
anonUserId?: string | null;
/**
*
* @type {Array<string>}
* @memberof PubSubCommentBase
*/
feedbackIds?: Array<string>;
/**
*
* @type {number}
* @memberof PubSubCommentBase
*/
flagCount?: number | null;
/**
*
* @type {string}
* @memberof PubSubCommentBase
*/
domain?: string | null;
/**
*
* @type {string}
* @memberof PubSubCommentBase
*/
url: string;
/**
*
* @type {string}
* @memberof PubSubCommentBase
*/
pageTitle?: string | null;
/**
*
* @type {Date}
* @memberof PubSubCommentBase
*/
expireAt?: Date | null;
/**
*
* @type {boolean}
* @memberof PubSubCommentBase
*/
reviewed?: boolean;
/**
*
* @type {boolean}
* @memberof PubSubCommentBase
*/
hasCode?: boolean;
/**
*
* @type {boolean}
* @memberof PubSubCommentBase
*/
approved: boolean;
/**
*
* @type {string}
* @memberof PubSubCommentBase
*/
locale: string | null;
/**
*
* @type {boolean}
* @memberof PubSubCommentBase
*/
isBannedUser?: boolean;
/**
*
* @type {Array<string>}
* @memberof PubSubCommentBase
*/
groupIds?: Array<string> | null;
}
/**
* Check if a given object implements the PubSubCommentBase interface.
*/
export declare function instanceOfPubSubCommentBase(value: object): value is PubSubCommentBase;
export declare function PubSubCommentBaseFromJSON(json: any): PubSubCommentBase;
export declare function PubSubCommentBaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PubSubCommentBase;
export declare function PubSubCommentBaseToJSON(json: any): PubSubCommentBase;
export declare function PubSubCommentBaseToJSONTyped(value?: PubSubCommentBase | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=PubSubCommentBase.d.ts.map