/* tslint:disable */ /* eslint-disable */ /** * Sonatype Guide API * REST API into [Sonatype Guide](https://guide.sonatype.com). * * The version of the OpenAPI document: 202607 * * * 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 EffectiveConfigYamlResponse */ export interface EffectiveConfigYamlResponse { /** * * @type {string} * @memberof EffectiveConfigYamlResponse */ yaml?: string; } /** * Check if a given object implements the EffectiveConfigYamlResponse interface. */ export function instanceOfEffectiveConfigYamlResponse(value: object): value is EffectiveConfigYamlResponse { return true; } export function EffectiveConfigYamlResponseFromJSON(json: any): EffectiveConfigYamlResponse { return EffectiveConfigYamlResponseFromJSONTyped(json, false); } export function EffectiveConfigYamlResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): EffectiveConfigYamlResponse { if (json == null) { return json; } return { 'yaml': json['yaml'] == null ? undefined : json['yaml'], }; } export function EffectiveConfigYamlResponseToJSON(json: any): EffectiveConfigYamlResponse { return EffectiveConfigYamlResponseToJSONTyped(json, false); } export function EffectiveConfigYamlResponseToJSONTyped(value?: EffectiveConfigYamlResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'yaml': value['yaml'], }; }