wallee
Version:
TypeScript/JavaScript client for wallee
78 lines (77 loc) • 2.9 kB
TypeScript
import type { CreationEntityState } from './CreationEntityState';
import type { UserType } from './UserType';
/**
*
* @export
* @interface ApplicationUserCreateWithMacKey
*/
export interface ApplicationUserCreateWithMacKey {
/**
* The scope that the user belongs to.
* @type {number}
* @memberof ApplicationUserCreateWithMacKey
*/
readonly scope?: number;
/**
* The date and time when the object is planned to be permanently removed. If the value is empty, the object will not be removed.
* @type {Date}
* @memberof ApplicationUserCreateWithMacKey
*/
readonly plannedPurgeDate?: Date;
/**
* A unique identifier for the object.
* @type {number}
* @memberof ApplicationUserCreateWithMacKey
*/
readonly id?: number;
/**
*
* @type {CreationEntityState}
* @memberof ApplicationUserCreateWithMacKey
*/
state?: CreationEntityState;
/**
*
* @type {UserType}
* @memberof ApplicationUserCreateWithMacKey
*/
userType?: UserType;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
* @type {number}
* @memberof ApplicationUserCreateWithMacKey
*/
readonly version?: number;
/**
* The maximum number of API requests that are accepted every 2 minutes.
* @type {number}
* @memberof ApplicationUserCreateWithMacKey
*/
readonly requestLimit?: number;
/**
* The name used to identify the application user.
* @type {string}
* @memberof ApplicationUserCreateWithMacKey
*/
readonly name?: string;
/**
* The primary account that the user belongs to.
* @type {number}
* @memberof ApplicationUserCreateWithMacKey
*/
readonly primaryAccount?: number;
/**
* The user's authentication key securing requests. Only displayed a single time after the user has been created.
* @type {string}
* @memberof ApplicationUserCreateWithMacKey
*/
readonly macKey?: string;
}
/**
* Check if a given object implements the ApplicationUserCreateWithMacKey interface.
*/
export declare function instanceOfApplicationUserCreateWithMacKey(value: object): value is ApplicationUserCreateWithMacKey;
export declare function ApplicationUserCreateWithMacKeyFromJSON(json: any): ApplicationUserCreateWithMacKey;
export declare function ApplicationUserCreateWithMacKeyFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationUserCreateWithMacKey;
export declare function ApplicationUserCreateWithMacKeyToJSON(json: any): ApplicationUserCreateWithMacKey;
export declare function ApplicationUserCreateWithMacKeyToJSONTyped(value?: Omit<ApplicationUserCreateWithMacKey, 'scope' | 'plannedPurgeDate' | 'id' | 'version' | 'requestLimit' | 'name' | 'primaryAccount' | 'macKey'> | null, ignoreDiscriminator?: boolean): any;