/* 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 ReqListRFQs */ export interface ReqListRFQs { /** * * @type {string} * @memberof ReqListRFQs */ auth?: string; /** * * @type {number} * @memberof ReqListRFQs */ account_index?: number; /** * * @type {string} * @memberof ReqListRFQs */ status?: ReqListRFQsStatusEnum; /** * * @type {string} * @memberof ReqListRFQs */ cursor?: string; /** * * @type {number} * @memberof ReqListRFQs */ limit?: number; } /** * @export */ export const ReqListRFQsStatusEnum = { Opened: 'opened', OrderCreated: 'order_created', Closed: 'closed' } as const; export type ReqListRFQsStatusEnum = typeof ReqListRFQsStatusEnum[keyof typeof ReqListRFQsStatusEnum]; /** * Check if a given object implements the ReqListRFQs interface. */ export function instanceOfReqListRFQs(value: object): value is ReqListRFQs { return true; } export function ReqListRFQsFromJSON(json: any): ReqListRFQs { return ReqListRFQsFromJSONTyped(json, false); } export function ReqListRFQsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqListRFQs { if (json == null) { return json; } return { 'auth': json['auth'] == null ? undefined : json['auth'], 'account_index': json['account_index'] == null ? undefined : json['account_index'], 'status': json['status'] == null ? undefined : json['status'], 'cursor': json['cursor'] == null ? undefined : json['cursor'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } export function ReqListRFQsToJSON(value?: ReqListRFQs | null): any { if (value == null) { return value; } return { 'auth': value['auth'], 'account_index': value['account_index'], 'status': value['status'], 'cursor': value['cursor'], 'limit': value['limit'], }; }