fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
219 lines • 5.28 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 { CustomConfigParameters } from './CustomConfigParameters';
import type { PublicComment } from './PublicComment';
import type { APIStatus } from './APIStatus';
import type { UserSessionInfo } from './UserSessionInfo';
/**
*
* @export
* @interface GetCommentsPublic200Response
*/
export interface GetCommentsPublic200Response {
/**
*
* @type {number}
* @memberof GetCommentsPublic200Response
*/
statusCode?: number;
/**
*
* @type {APIStatus}
* @memberof GetCommentsPublic200Response
*/
status: APIStatus;
/**
*
* @type {string}
* @memberof GetCommentsPublic200Response
*/
code: string;
/**
*
* @type {string}
* @memberof GetCommentsPublic200Response
*/
reason: string;
/**
*
* @type {string}
* @memberof GetCommentsPublic200Response
*/
translatedWarning?: string;
/**
*
* @type {Array<PublicComment>}
* @memberof GetCommentsPublic200Response
*/
comments: Array<PublicComment>;
/**
*
* @type {UserSessionInfo}
* @memberof GetCommentsPublic200Response
*/
user: UserSessionInfo | null;
/**
*
* @type {string}
* @memberof GetCommentsPublic200Response
*/
urlIdClean?: string;
/**
*
* @type {number}
* @memberof GetCommentsPublic200Response
*/
lastGenDate?: number | null;
/**
*
* @type {boolean}
* @memberof GetCommentsPublic200Response
*/
includesPastPages?: boolean;
/**
*
* @type {boolean}
* @memberof GetCommentsPublic200Response
*/
isDemo?: boolean;
/**
*
* @type {number}
* @memberof GetCommentsPublic200Response
*/
commentCount?: number;
/**
*
* @type {boolean}
* @memberof GetCommentsPublic200Response
*/
isSiteAdmin?: boolean;
/**
*
* @type {boolean}
* @memberof GetCommentsPublic200Response
*/
hasBillingIssue?: boolean;
/**
* Construct a type with a set of properties K of type T
* @type {{ [key: string]: object; }}
* @memberof GetCommentsPublic200Response
*/
moduleData?: {
[key: string]: object;
};
/**
*
* @type {number}
* @memberof GetCommentsPublic200Response
*/
pageNumber: number;
/**
*
* @type {boolean}
* @memberof GetCommentsPublic200Response
*/
isWhiteLabeled?: boolean;
/**
*
* @type {boolean}
* @memberof GetCommentsPublic200Response
*/
isProd?: boolean;
/**
*
* @type {boolean}
* @memberof GetCommentsPublic200Response
*/
isCrawler?: boolean;
/**
*
* @type {number}
* @memberof GetCommentsPublic200Response
*/
notificationCount?: number;
/**
*
* @type {boolean}
* @memberof GetCommentsPublic200Response
*/
hasMore?: boolean;
/**
*
* @type {boolean}
* @memberof GetCommentsPublic200Response
*/
isClosed?: boolean;
/**
*
* @type {number}
* @memberof GetCommentsPublic200Response
*/
presencePollState?: number;
/**
*
* @type {CustomConfigParameters}
* @memberof GetCommentsPublic200Response
*/
customConfig?: CustomConfigParameters;
/**
*
* @type {string}
* @memberof GetCommentsPublic200Response
*/
urlIdWS?: string;
/**
*
* @type {string}
* @memberof GetCommentsPublic200Response
*/
userIdWS?: string;
/**
*
* @type {string}
* @memberof GetCommentsPublic200Response
*/
tenantIdWS?: string;
/**
*
* @type {string}
* @memberof GetCommentsPublic200Response
*/
secondaryCode?: string;
/**
*
* @type {number}
* @memberof GetCommentsPublic200Response
*/
bannedUntil?: number;
/**
*
* @type {number}
* @memberof GetCommentsPublic200Response
*/
maxCharacterLength?: number;
/**
*
* @type {string}
* @memberof GetCommentsPublic200Response
*/
translatedError?: string;
}
/**
* Check if a given object implements the GetCommentsPublic200Response interface.
*/
export declare function instanceOfGetCommentsPublic200Response(value: object): value is GetCommentsPublic200Response;
export declare function GetCommentsPublic200ResponseFromJSON(json: any): GetCommentsPublic200Response;
export declare function GetCommentsPublic200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetCommentsPublic200Response;
export declare function GetCommentsPublic200ResponseToJSON(json: any): GetCommentsPublic200Response;
export declare function GetCommentsPublic200ResponseToJSONTyped(value?: GetCommentsPublic200Response | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=GetCommentsPublic200Response.d.ts.map