fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
319 lines • 6.4 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 { RepeatCommentHandlingAction } from './RepeatCommentHandlingAction';
import type { RepeatCommentCheckIgnoredReason } from './RepeatCommentCheckIgnoredReason';
import type { SpamRule } from './SpamRule';
/**
*
* @export
* @interface CommentLogData
*/
export interface CommentLogData {
/**
*
* @type {boolean}
* @memberof CommentLogData
*/
clearContent?: boolean;
/**
*
* @type {boolean}
* @memberof CommentLogData
*/
isDeletedUser?: boolean;
/**
*
* @type {string}
* @memberof CommentLogData
*/
phrase?: string;
/**
*
* @type {string}
* @memberof CommentLogData
*/
badWord?: string;
/**
*
* @type {string}
* @memberof CommentLogData
*/
word?: string;
/**
*
* @type {string}
* @memberof CommentLogData
*/
locale?: string;
/**
*
* @type {string}
* @memberof CommentLogData
*/
tenantBadgeId?: string;
/**
*
* @type {string}
* @memberof CommentLogData
*/
badgeId?: string;
/**
*
* @type {boolean}
* @memberof CommentLogData
*/
wasLoggedIn?: boolean;
/**
*
* @type {boolean}
* @memberof CommentLogData
*/
foundUser?: boolean;
/**
*
* @type {boolean}
* @memberof CommentLogData
*/
verified?: boolean;
/**
*
* @type {string}
* @memberof CommentLogData
*/
engine?: string;
/**
*
* @type {string}
* @memberof CommentLogData
*/
engineResponse?: string;
/**
*
* @type {number}
* @memberof CommentLogData
*/
engineTokens?: number;
/**
*
* @type {number}
* @memberof CommentLogData
*/
trustFactor?: number;
/**
*
* @type {string}
* @memberof CommentLogData
*/
source?: string;
/**
*
* @type {SpamRule}
* @memberof CommentLogData
*/
rule?: SpamRule;
/**
*
* @type {string}
* @memberof CommentLogData
*/
userId?: string;
/**
*
* @type {number}
* @memberof CommentLogData
*/
subscribers?: number;
/**
*
* @type {number}
* @memberof CommentLogData
*/
notificationCount?: number;
/**
*
* @type {number}
* @memberof CommentLogData
*/
votesBefore?: number | null;
/**
*
* @type {number}
* @memberof CommentLogData
*/
votesUpBefore?: number | null;
/**
*
* @type {number}
* @memberof CommentLogData
*/
votesDownBefore?: number | null;
/**
*
* @type {number}
* @memberof CommentLogData
*/
votesAfter?: number | null;
/**
*
* @type {number}
* @memberof CommentLogData
*/
votesUpAfter?: number | null;
/**
*
* @type {number}
* @memberof CommentLogData
*/
votesDownAfter?: number | null;
/**
*
* @type {RepeatCommentHandlingAction}
* @memberof CommentLogData
*/
repeatAction?: RepeatCommentHandlingAction;
/**
*
* @type {RepeatCommentCheckIgnoredReason}
* @memberof CommentLogData
*/
reason?: RepeatCommentCheckIgnoredReason;
/**
*
* @type {any}
* @memberof CommentLogData
*/
otherData?: any | null;
/**
*
* @type {boolean}
* @memberof CommentLogData
*/
spamBefore?: boolean;
/**
*
* @type {boolean}
* @memberof CommentLogData
*/
spamAfter?: boolean;
/**
*
* @type {string}
* @memberof CommentLogData
*/
permanentFlag?: CommentLogDataPermanentFlagEnum;
/**
*
* @type {boolean}
* @memberof CommentLogData
*/
approvedBefore?: boolean;
/**
*
* @type {boolean}
* @memberof CommentLogData
*/
approvedAfter?: boolean;
/**
*
* @type {boolean}
* @memberof CommentLogData
*/
reviewedBefore?: boolean;
/**
*
* @type {boolean}
* @memberof CommentLogData
*/
reviewedAfter?: boolean;
/**
*
* @type {string}
* @memberof CommentLogData
*/
textBefore?: string;
/**
*
* @type {string}
* @memberof CommentLogData
*/
textAfter?: string;
/**
*
* @type {Date}
* @memberof CommentLogData
*/
expireBefore?: Date | null;
/**
*
* @type {Date}
* @memberof CommentLogData
*/
expireAfter?: Date | null;
/**
*
* @type {number}
* @memberof CommentLogData
*/
flagCountBefore?: number | null;
/**
*
* @type {number}
* @memberof CommentLogData
*/
trustFactorBefore?: number;
/**
*
* @type {number}
* @memberof CommentLogData
*/
trustFactorAfter?: number;
/**
*
* @type {string}
* @memberof CommentLogData
*/
referencedCommentId?: string;
/**
*
* @type {string}
* @memberof CommentLogData
*/
invalidLocale?: string;
/**
*
* @type {string}
* @memberof CommentLogData
*/
detectedLocale?: string;
/**
*
* @type {string}
* @memberof CommentLogData
*/
detectedLanguage?: string;
}
/**
* @export
* @enum {string}
*/
export declare enum CommentLogDataPermanentFlagEnum {
permanent = "permanent"
}
/**
* Check if a given object implements the CommentLogData interface.
*/
export declare function instanceOfCommentLogData(value: object): value is CommentLogData;
export declare function CommentLogDataFromJSON(json: any): CommentLogData;
export declare function CommentLogDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommentLogData;
export declare function CommentLogDataToJSON(json: any): CommentLogData;
export declare function CommentLogDataToJSONTyped(value?: CommentLogData | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=CommentLogData.d.ts.map