fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
262 lines • 5.72 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 { APICommentBaseMeta } from './APICommentBaseMeta';
/**
*
* @export
* @interface UpdatableCommentParams
*/
export interface UpdatableCommentParams {
/**
*
* @type {string}
* @memberof UpdatableCommentParams
*/
urlId?: string;
/**
*
* @type {string}
* @memberof UpdatableCommentParams
*/
urlIdRaw?: string;
/**
*
* @type {string}
* @memberof UpdatableCommentParams
*/
url?: string;
/**
*
* @type {string}
* @memberof UpdatableCommentParams
*/
pageTitle?: string | null;
/**
*
* @type {string}
* @memberof UpdatableCommentParams
*/
userId?: string | null;
/**
*
* @type {string}
* @memberof UpdatableCommentParams
*/
commenterEmail?: string | null;
/**
*
* @type {string}
* @memberof UpdatableCommentParams
*/
commenterName?: string;
/**
*
* @type {string}
* @memberof UpdatableCommentParams
*/
commenterLink?: string | null;
/**
*
* @type {string}
* @memberof UpdatableCommentParams
*/
comment?: string;
/**
*
* @type {string}
* @memberof UpdatableCommentParams
*/
commentHTML?: string;
/**
*
* @type {string}
* @memberof UpdatableCommentParams
*/
parentId?: string | null;
/**
*
* @type {number}
* @memberof UpdatableCommentParams
*/
date?: number | null;
/**
*
* @type {string}
* @memberof UpdatableCommentParams
*/
localDateString?: string | null;
/**
*
* @type {number}
* @memberof UpdatableCommentParams
*/
localDateHours?: number | null;
/**
*
* @type {number}
* @memberof UpdatableCommentParams
*/
votes?: number | null;
/**
*
* @type {number}
* @memberof UpdatableCommentParams
*/
votesUp?: number | null;
/**
*
* @type {number}
* @memberof UpdatableCommentParams
*/
votesDown?: number | null;
/**
*
* @type {Date}
* @memberof UpdatableCommentParams
*/
expireAt?: Date | null;
/**
*
* @type {boolean}
* @memberof UpdatableCommentParams
*/
verified?: boolean;
/**
*
* @type {Date}
* @memberof UpdatableCommentParams
*/
verifiedDate?: Date | null;
/**
*
* @type {boolean}
* @memberof UpdatableCommentParams
*/
notificationSentForParent?: boolean;
/**
*
* @type {boolean}
* @memberof UpdatableCommentParams
*/
notificationSentForParentTenant?: boolean;
/**
*
* @type {boolean}
* @memberof UpdatableCommentParams
*/
reviewed?: boolean;
/**
*
* @type {string}
* @memberof UpdatableCommentParams
*/
externalId?: string;
/**
*
* @type {string}
* @memberof UpdatableCommentParams
*/
externalParentId?: string | null;
/**
*
* @type {string}
* @memberof UpdatableCommentParams
*/
avatarSrc?: string | null;
/**
*
* @type {boolean}
* @memberof UpdatableCommentParams
*/
isSpam?: boolean;
/**
*
* @type {boolean}
* @memberof UpdatableCommentParams
*/
approved?: boolean;
/**
*
* @type {boolean}
* @memberof UpdatableCommentParams
*/
isDeleted?: boolean;
/**
*
* @type {boolean}
* @memberof UpdatableCommentParams
*/
isDeletedUser?: boolean;
/**
*
* @type {boolean}
* @memberof UpdatableCommentParams
*/
isByAdmin?: boolean;
/**
*
* @type {boolean}
* @memberof UpdatableCommentParams
*/
isByModerator?: boolean;
/**
*
* @type {boolean}
* @memberof UpdatableCommentParams
*/
isPinned?: boolean | null;
/**
*
* @type {boolean}
* @memberof UpdatableCommentParams
*/
isLocked?: boolean | null;
/**
*
* @type {number}
* @memberof UpdatableCommentParams
*/
flagCount?: number | null;
/**
*
* @type {string}
* @memberof UpdatableCommentParams
*/
displayLabel?: string | null;
/**
*
* @type {APICommentBaseMeta}
* @memberof UpdatableCommentParams
*/
meta?: APICommentBaseMeta | null;
/**
*
* @type {Array<string>}
* @memberof UpdatableCommentParams
*/
moderationGroupIds?: Array<string> | null;
/**
*
* @type {Array<string>}
* @memberof UpdatableCommentParams
*/
feedbackIds?: Array<string>;
}
/**
* Check if a given object implements the UpdatableCommentParams interface.
*/
export declare function instanceOfUpdatableCommentParams(value: object): value is UpdatableCommentParams;
export declare function UpdatableCommentParamsFromJSON(json: any): UpdatableCommentParams;
export declare function UpdatableCommentParamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdatableCommentParams;
export declare function UpdatableCommentParamsToJSON(json: any): UpdatableCommentParams;
export declare function UpdatableCommentParamsToJSONTyped(value?: UpdatableCommentParams | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=UpdatableCommentParams.d.ts.map