fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
104 lines • 3.09 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 { RenderableUserNotification } from './RenderableUserNotification';
import type { APIStatus } from './APIStatus';
/**
*
* @export
* @interface GetUserNotifications200Response
*/
export interface GetUserNotifications200Response {
/**
* Construct a type with a set of properties K of type T
* @type {{ [key: string]: string; }}
* @memberof GetUserNotifications200Response
*/
translations?: {
[key: string]: string;
};
/**
*
* @type {boolean}
* @memberof GetUserNotifications200Response
*/
isSubscribed: boolean;
/**
*
* @type {boolean}
* @memberof GetUserNotifications200Response
*/
hasMore: boolean;
/**
*
* @type {Array<RenderableUserNotification>}
* @memberof GetUserNotifications200Response
*/
notifications: Array<RenderableUserNotification>;
/**
*
* @type {APIStatus}
* @memberof GetUserNotifications200Response
*/
status: APIStatus;
/**
*
* @type {string}
* @memberof GetUserNotifications200Response
*/
reason: string;
/**
*
* @type {string}
* @memberof GetUserNotifications200Response
*/
code: string;
/**
*
* @type {string}
* @memberof GetUserNotifications200Response
*/
secondaryCode?: string;
/**
*
* @type {number}
* @memberof GetUserNotifications200Response
*/
bannedUntil?: number;
/**
*
* @type {number}
* @memberof GetUserNotifications200Response
*/
maxCharacterLength?: number;
/**
*
* @type {string}
* @memberof GetUserNotifications200Response
*/
translatedError?: string;
/**
*
* @type {CustomConfigParameters}
* @memberof GetUserNotifications200Response
*/
customConfig?: CustomConfigParameters;
}
/**
* Check if a given object implements the GetUserNotifications200Response interface.
*/
export declare function instanceOfGetUserNotifications200Response(value: object): value is GetUserNotifications200Response;
export declare function GetUserNotifications200ResponseFromJSON(json: any): GetUserNotifications200Response;
export declare function GetUserNotifications200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetUserNotifications200Response;
export declare function GetUserNotifications200ResponseToJSON(json: any): GetUserNotifications200Response;
export declare function GetUserNotifications200ResponseToJSONTyped(value?: GetUserNotifications200Response | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=GetUserNotifications200Response.d.ts.map