CreateTokenRequest.ts•1.71 kB
/**
* api
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: 1.47.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 { HttpFile } from '../http/http';
export class CreateTokenRequest {
'name'?: string;
'description'?: string;
'expiresAt'?: Date;
'namespaceKey'?: string;
'metadata'?: { [key: string]: string; };
static readonly discriminator: string | undefined = undefined;
static readonly mapping: {[index: string]: string} | undefined = undefined;
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "name",
"baseName": "name",
"type": "string",
"format": ""
},
{
"name": "description",
"baseName": "description",
"type": "string",
"format": ""
},
{
"name": "expiresAt",
"baseName": "expiresAt",
"type": "Date",
"format": "date-time"
},
{
"name": "namespaceKey",
"baseName": "namespaceKey",
"type": "string",
"format": ""
},
{
"name": "metadata",
"baseName": "metadata",
"type": "{ [key: string]: string; }",
"format": ""
} ];
static getAttributeTypeMap() {
return CreateTokenRequest.attributeTypeMap;
}
public constructor() {
}
}