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