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