/* tslint:disable */ /* eslint-disable */ /** * Sonatype Lifecycle Public REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.207.0-01 * * * 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'; import type { ApiCiConfigurationDto } from './ApiCiConfigurationDto'; import { ApiCiConfigurationDtoFromJSON, ApiCiConfigurationDtoFromJSONTyped, ApiCiConfigurationDtoToJSON, ApiCiConfigurationDtoToJSONTyped, } from './ApiCiConfigurationDto'; /** * * @export * @interface ApiCiConfigurationResponseDto */ export interface ApiCiConfigurationResponseDto { /** * * @type {ApiCiConfigurationDto} * @memberof ApiCiConfigurationResponseDto */ data?: ApiCiConfigurationDto; /** * * @type {{ [key: string]: string; }} * @memberof ApiCiConfigurationResponseDto */ source?: { [key: string]: string; }; } /** * Check if a given object implements the ApiCiConfigurationResponseDto interface. */ export function instanceOfApiCiConfigurationResponseDto(value: object): value is ApiCiConfigurationResponseDto { return true; } export function ApiCiConfigurationResponseDtoFromJSON(json: any): ApiCiConfigurationResponseDto { return ApiCiConfigurationResponseDtoFromJSONTyped(json, false); } export function ApiCiConfigurationResponseDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiCiConfigurationResponseDto { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : ApiCiConfigurationDtoFromJSON(json['data']), 'source': json['source'] == null ? undefined : json['source'], }; } export function ApiCiConfigurationResponseDtoToJSON(json: any): ApiCiConfigurationResponseDto { return ApiCiConfigurationResponseDtoToJSONTyped(json, false); } export function ApiCiConfigurationResponseDtoToJSONTyped(value?: ApiCiConfigurationResponseDto | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'data': ApiCiConfigurationDtoToJSON(value['data']), 'source': value['source'], }; }