fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
84 lines • 2.56 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 { APIModerateUserBanPreferences } from './APIModerateUserBanPreferences';
import type { CustomConfigParameters } from './CustomConfigParameters';
import type { APIStatus } from './APIStatus';
/**
*
* @export
* @interface GetUserBanPreferenceResponse
*/
export interface GetUserBanPreferenceResponse {
/**
*
* @type {APIModerateUserBanPreferences}
* @memberof GetUserBanPreferenceResponse
*/
preferences: APIModerateUserBanPreferences | null;
/**
*
* @type {APIStatus}
* @memberof GetUserBanPreferenceResponse
*/
status: APIStatus;
/**
*
* @type {string}
* @memberof GetUserBanPreferenceResponse
*/
reason: string;
/**
*
* @type {string}
* @memberof GetUserBanPreferenceResponse
*/
code: string;
/**
*
* @type {string}
* @memberof GetUserBanPreferenceResponse
*/
secondaryCode?: string;
/**
*
* @type {number}
* @memberof GetUserBanPreferenceResponse
*/
bannedUntil?: number;
/**
*
* @type {number}
* @memberof GetUserBanPreferenceResponse
*/
maxCharacterLength?: number;
/**
*
* @type {string}
* @memberof GetUserBanPreferenceResponse
*/
translatedError?: string;
/**
*
* @type {CustomConfigParameters}
* @memberof GetUserBanPreferenceResponse
*/
customConfig?: CustomConfigParameters;
}
/**
* Check if a given object implements the GetUserBanPreferenceResponse interface.
*/
export declare function instanceOfGetUserBanPreferenceResponse(value: object): value is GetUserBanPreferenceResponse;
export declare function GetUserBanPreferenceResponseFromJSON(json: any): GetUserBanPreferenceResponse;
export declare function GetUserBanPreferenceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetUserBanPreferenceResponse;
export declare function GetUserBanPreferenceResponseToJSON(json: any): GetUserBanPreferenceResponse;
export declare function GetUserBanPreferenceResponseToJSONTyped(value?: GetUserBanPreferenceResponse | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=GetUserBanPreferenceResponse.d.ts.map