UNPKG

@devopness/sdk-js

Version:

Devopness API JS/TS SDK - Painless essential DevOps to everyone

95 lines (94 loc) 2.37 kB
/** * devopness API * Devopness API - Painless essential DevOps to everyone * * The version of the OpenAPI document: latest * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { ApiTokenStatus } from './api-token-status'; import { ApiTokenType } from './api-token-type'; import { ProjectRelation } from './project-relation'; import { RoleRelation } from './role-relation'; /** * * @export * @interface ApiTokenRotateResponse */ export interface ApiTokenRotateResponse { /** * Unique identifier of the Token * @type {string} * @memberof ApiTokenRotateResponse */ id: string; /** * Name of the Token * @type {string} * @memberof ApiTokenRotateResponse */ name: string; /** * * @type {ApiTokenType} * @memberof ApiTokenRotateResponse */ type: ApiTokenType; /** * The plain text value of the Token. The API token value is only displayed/returned once when the token is generated. Users must keep it in a safe place, as it cannot be retrieved again at a later time. * @type {string} * @memberof ApiTokenRotateResponse */ token: string | null; /** * * @type {ApiTokenStatus} * @memberof ApiTokenRotateResponse */ status: ApiTokenStatus; /** * * @type {RoleRelation} * @memberof ApiTokenRotateResponse */ role: RoleRelation | null; /** * * @type {ProjectRelation} * @memberof ApiTokenRotateResponse */ project: ProjectRelation | null; /** * Last time the Token was used * @type {string} * @memberof ApiTokenRotateResponse */ last_used_at: string | null; /** * Expiration date of the Token * @type {string} * @memberof ApiTokenRotateResponse */ expires_at: string; /** * Revocation date of the Token * @type {string} * @memberof ApiTokenRotateResponse */ revoked_at: string | null; /** * Last time the Token was updated * @type {string} * @memberof ApiTokenRotateResponse */ updated_at: string; /** * Creation date of the Token * @type {string} * @memberof ApiTokenRotateResponse */ created_at: string; }