fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
105 lines • 3.07 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 CreateCommentPublic200Response
*/
export interface CreateCommentPublic200Response {
/**
*
* @type {APIStatus}
* @memberof CreateCommentPublic200Response
*/
status: APIStatus;
/**
*
* @type {PublicComment}
* @memberof CreateCommentPublic200Response
*/
comment: PublicComment;
/**
*
* @type {UserSessionInfo}
* @memberof CreateCommentPublic200Response
*/
user: UserSessionInfo | null;
/**
* Construct a type with a set of properties K of type T
* @type {{ [key: string]: object; }}
* @memberof CreateCommentPublic200Response
*/
moduleData?: {
[key: string]: object;
};
/**
*
* @type {string}
* @memberof CreateCommentPublic200Response
*/
userIdWS?: string;
/**
*
* @type {string}
* @memberof CreateCommentPublic200Response
*/
reason: string;
/**
*
* @type {string}
* @memberof CreateCommentPublic200Response
*/
code: string;
/**
*
* @type {string}
* @memberof CreateCommentPublic200Response
*/
secondaryCode?: string;
/**
*
* @type {number}
* @memberof CreateCommentPublic200Response
*/
bannedUntil?: number;
/**
*
* @type {number}
* @memberof CreateCommentPublic200Response
*/
maxCharacterLength?: number;
/**
*
* @type {string}
* @memberof CreateCommentPublic200Response
*/
translatedError?: string;
/**
*
* @type {CustomConfigParameters}
* @memberof CreateCommentPublic200Response
*/
customConfig?: CustomConfigParameters;
}
/**
* Check if a given object implements the CreateCommentPublic200Response interface.
*/
export declare function instanceOfCreateCommentPublic200Response(value: object): value is CreateCommentPublic200Response;
export declare function CreateCommentPublic200ResponseFromJSON(json: any): CreateCommentPublic200Response;
export declare function CreateCommentPublic200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateCommentPublic200Response;
export declare function CreateCommentPublic200ResponseToJSON(json: any): CreateCommentPublic200Response;
export declare function CreateCommentPublic200ResponseToJSONTyped(value?: CreateCommentPublic200Response | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=CreateCommentPublic200Response.d.ts.map