fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
121 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.
*/
/**
*
* @export
* @interface APIAuditLog
*/
export interface APIAuditLog {
/**
*
* @type {string}
* @memberof APIAuditLog
*/
id: string;
/**
*
* @type {string}
* @memberof APIAuditLog
*/
userId?: string;
/**
*
* @type {string}
* @memberof APIAuditLog
*/
username?: string;
/**
*
* @type {string}
* @memberof APIAuditLog
*/
resourceName: string;
/**
*
* @type {string}
* @memberof APIAuditLog
*/
crudType: APIAuditLogCrudTypeEnum;
/**
*
* @type {string}
* @memberof APIAuditLog
*/
from?: APIAuditLogFromEnum;
/**
*
* @type {string}
* @memberof APIAuditLog
*/
url?: string | null;
/**
*
* @type {string}
* @memberof APIAuditLog
*/
ip?: string | null;
/**
*
* @type {Date}
* @memberof APIAuditLog
*/
when?: Date;
/**
*
* @type {string}
* @memberof APIAuditLog
*/
description?: string;
/**
*
* @type {Date}
* @memberof APIAuditLog
*/
serverStartDate?: Date;
/**
* Construct a type with a set of properties K of type T
* @type {{ [key: string]: any; }}
* @memberof APIAuditLog
*/
objectDetails?: {
[key: string]: any;
} | null;
}
/**
* @export
* @enum {string}
*/
export declare enum APIAuditLogCrudTypeEnum {
c = "c",
r = "r",
u = "u",
d = "d",
login = "login"
}
/**
* @export
* @enum {string}
*/
export declare enum APIAuditLogFromEnum {
ui = "ui",
api = "api",
cron = "cron"
}
/**
* Check if a given object implements the APIAuditLog interface.
*/
export declare function instanceOfAPIAuditLog(value: object): value is APIAuditLog;
export declare function APIAuditLogFromJSON(json: any): APIAuditLog;
export declare function APIAuditLogFromJSONTyped(json: any, ignoreDiscriminator: boolean): APIAuditLog;
export declare function APIAuditLogToJSON(json: any): APIAuditLog;
export declare function APIAuditLogToJSONTyped(value?: APIAuditLog | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=APIAuditLog.d.ts.map