/* tslint:disable */ /* eslint-disable */ /** * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { mapValues } from '../runtime'; /** * * @export * @interface ReqGetApiTokens */ export interface ReqGetApiTokens { /** * * @type {number} * @memberof ReqGetApiTokens */ account_index: number; } /** * Check if a given object implements the ReqGetApiTokens interface. */ export function instanceOfReqGetApiTokens(value: object): value is ReqGetApiTokens { if (!('account_index' in value) || value['account_index'] === undefined) return false; return true; } export function ReqGetApiTokensFromJSON(json: any): ReqGetApiTokens { return ReqGetApiTokensFromJSONTyped(json, false); } export function ReqGetApiTokensFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqGetApiTokens { if (json == null) { return json; } return { 'account_index': json['account_index'], }; } export function ReqGetApiTokensToJSON(value?: ReqGetApiTokens | null): any { if (value == null) { return value; } return { 'account_index': value['account_index'], }; }