Authentication.ts•2.17 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 Authentication {
'id'?: string;
'method'?: AuthenticationMethodEnum;
'expiresAt'?: Date;
'createdAt'?: Date;
'updatedAt'?: Date;
'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": "id",
"baseName": "id",
"type": "string",
"format": ""
},
{
"name": "method",
"baseName": "method",
"type": "AuthenticationMethodEnum",
"format": "enum"
},
{
"name": "expiresAt",
"baseName": "expiresAt",
"type": "Date",
"format": "date-time"
},
{
"name": "createdAt",
"baseName": "createdAt",
"type": "Date",
"format": "date-time"
},
{
"name": "updatedAt",
"baseName": "updatedAt",
"type": "Date",
"format": "date-time"
},
{
"name": "metadata",
"baseName": "metadata",
"type": "{ [key: string]: string; }",
"format": ""
} ];
static getAttributeTypeMap() {
return Authentication.attributeTypeMap;
}
public constructor() {
}
}
export enum AuthenticationMethodEnum {
MethodNone = 'METHOD_NONE',
MethodToken = 'METHOD_TOKEN',
MethodOidc = 'METHOD_OIDC',
MethodKubernetes = 'METHOD_KUBERNETES',
MethodGithub = 'METHOD_GITHUB',
MethodJwt = 'METHOD_JWT',
MethodCloud = 'METHOD_CLOUD'
}