/** * Athena API * REST API for the Athena system * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface CreateTokenRequest */ export interface CreateTokenRequest { /** * Name of the service consumer * @type {string} * @memberof CreateTokenRequest */ consumerName: string; /** * Role to assign to the token * @type {string} * @memberof CreateTokenRequest */ role: CreateTokenRequestRoleEnum; /** * ID of the account to associate with the token * @type {string} * @memberof CreateTokenRequest */ accountId: string; } /** * @export */ export declare const CreateTokenRequestRoleEnum: { readonly Consumer: "consumer"; readonly Admin: "admin"; }; export type CreateTokenRequestRoleEnum = typeof CreateTokenRequestRoleEnum[keyof typeof CreateTokenRequestRoleEnum]; /** * Check if a given object implements the CreateTokenRequest interface. */ export declare function instanceOfCreateTokenRequest(value: object): value is CreateTokenRequest; export declare function CreateTokenRequestFromJSON(json: any): CreateTokenRequest; export declare function CreateTokenRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateTokenRequest; export declare function CreateTokenRequestToJSON(json: any): CreateTokenRequest; export declare function CreateTokenRequestToJSONTyped(value?: CreateTokenRequest | null, ignoreDiscriminator?: boolean): any;