/* 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 ReqGetAccountApiKeys */ export interface ReqGetAccountApiKeys { /** * * @type {number} * @memberof ReqGetAccountApiKeys */ account_index: number; /** * * @type {number} * @memberof ReqGetAccountApiKeys */ api_key_index?: number; } /** * Check if a given object implements the ReqGetAccountApiKeys interface. */ export function instanceOfReqGetAccountApiKeys(value: object): value is ReqGetAccountApiKeys { if (!('account_index' in value) || value['account_index'] === undefined) return false; return true; } export function ReqGetAccountApiKeysFromJSON(json: any): ReqGetAccountApiKeys { return ReqGetAccountApiKeysFromJSONTyped(json, false); } export function ReqGetAccountApiKeysFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqGetAccountApiKeys { if (json == null) { return json; } return { 'account_index': json['account_index'], 'api_key_index': json['api_key_index'] == null ? undefined : json['api_key_index'], }; } export function ReqGetAccountApiKeysToJSON(value?: ReqGetAccountApiKeys | null): any { if (value == null) { return value; } return { 'account_index': value['account_index'], 'api_key_index': value['api_key_index'], }; }