/* 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 Strategy */ export interface Strategy { /** * * @type {string} * @memberof Strategy */ collateral: string; } /** * Check if a given object implements the Strategy interface. */ export function instanceOfStrategy(value: object): value is Strategy { if (!('collateral' in value) || value['collateral'] === undefined) return false; return true; } export function StrategyFromJSON(json: any): Strategy { return StrategyFromJSONTyped(json, false); } export function StrategyFromJSONTyped(json: any, ignoreDiscriminator: boolean): Strategy { if (json == null) { return json; } return { 'collateral': json['collateral'], }; } export function StrategyToJSON(value?: Strategy | null): any { if (value == null) { return value; } return { 'collateral': value['collateral'], }; }