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