/* 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 RespGetMakerOnlyApiKeys */ export interface RespGetMakerOnlyApiKeys { /** * * @type {number} * @memberof RespGetMakerOnlyApiKeys */ code: number; /** * * @type {string} * @memberof RespGetMakerOnlyApiKeys */ message?: string; /** * * @type {Array} * @memberof RespGetMakerOnlyApiKeys */ api_key_indexes: Array; } /** * Check if a given object implements the RespGetMakerOnlyApiKeys interface. */ export function instanceOfRespGetMakerOnlyApiKeys(value: object): value is RespGetMakerOnlyApiKeys { if (!('code' in value) || value['code'] === undefined) return false; if (!('api_key_indexes' in value) || value['api_key_indexes'] === undefined) return false; return true; } export function RespGetMakerOnlyApiKeysFromJSON(json: any): RespGetMakerOnlyApiKeys { return RespGetMakerOnlyApiKeysFromJSONTyped(json, false); } export function RespGetMakerOnlyApiKeysFromJSONTyped(json: any, ignoreDiscriminator: boolean): RespGetMakerOnlyApiKeys { if (json == null) { return json; } return { 'code': json['code'], 'message': json['message'] == null ? undefined : json['message'], 'api_key_indexes': json['api_key_indexes'], }; } export function RespGetMakerOnlyApiKeysToJSON(value?: RespGetMakerOnlyApiKeys | null): any { if (value == null) { return value; } return { 'code': value['code'], 'message': value['message'], 'api_key_indexes': value['api_key_indexes'], }; }