wallee
Version:
TypeScript/JavaScript client for wallee
34 lines (33 loc) • 1.15 kB
TypeScript
/**
*
* @export
* @interface TenantDatabase
*/
export interface TenantDatabase {
/**
* The name used to identify the database.
* @type {string}
* @memberof TenantDatabase
*/
readonly name?: string;
/**
* A unique identifier for the object.
* @type {number}
* @memberof TenantDatabase
*/
readonly id?: number;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
* @type {number}
* @memberof TenantDatabase
*/
readonly version?: number;
}
/**
* Check if a given object implements the TenantDatabase interface.
*/
export declare function instanceOfTenantDatabase(value: object): value is TenantDatabase;
export declare function TenantDatabaseFromJSON(json: any): TenantDatabase;
export declare function TenantDatabaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TenantDatabase;
export declare function TenantDatabaseToJSON(json: any): TenantDatabase;
export declare function TenantDatabaseToJSONTyped(value?: Omit<TenantDatabase, 'name' | 'id' | 'version'> | null, ignoreDiscriminator?: boolean): any;