/* 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 ReqGetAccountLimits */ export interface ReqGetAccountLimits { /** * * @type {number} * @memberof ReqGetAccountLimits */ account_index: number; /** * made optional to support header auth clients * @type {string} * @memberof ReqGetAccountLimits */ auth?: string; } /** * Check if a given object implements the ReqGetAccountLimits interface. */ export function instanceOfReqGetAccountLimits(value: object): value is ReqGetAccountLimits { if (!('account_index' in value) || value['account_index'] === undefined) return false; return true; } export function ReqGetAccountLimitsFromJSON(json: any): ReqGetAccountLimits { return ReqGetAccountLimitsFromJSONTyped(json, false); } export function ReqGetAccountLimitsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqGetAccountLimits { if (json == null) { return json; } return { 'account_index': json['account_index'], 'auth': json['auth'] == null ? undefined : json['auth'], }; } export function ReqGetAccountLimitsToJSON(value?: ReqGetAccountLimits | null): any { if (value == null) { return value; } return { 'account_index': value['account_index'], 'auth': value['auth'], }; }