/* 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'; /** * * @export * @interface ApiArtifactoryConnectionStatusRequestDTO */ export interface ApiArtifactoryConnectionStatusRequestDTO { /** * * @type {boolean} * @memberof ApiArtifactoryConnectionStatusRequestDTO */ allowOverride?: boolean; /** * * @type {boolean} * @memberof ApiArtifactoryConnectionStatusRequestDTO */ enabled?: boolean; } /** * Check if a given object implements the ApiArtifactoryConnectionStatusRequestDTO interface. */ export function instanceOfApiArtifactoryConnectionStatusRequestDTO(value: object): value is ApiArtifactoryConnectionStatusRequestDTO { return true; } export function ApiArtifactoryConnectionStatusRequestDTOFromJSON(json: any): ApiArtifactoryConnectionStatusRequestDTO { return ApiArtifactoryConnectionStatusRequestDTOFromJSONTyped(json, false); } export function ApiArtifactoryConnectionStatusRequestDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiArtifactoryConnectionStatusRequestDTO { if (json == null) { return json; } return { 'allowOverride': json['allowOverride'] == null ? undefined : json['allowOverride'], 'enabled': json['enabled'] == null ? undefined : json['enabled'], }; } export function ApiArtifactoryConnectionStatusRequestDTOToJSON(json: any): ApiArtifactoryConnectionStatusRequestDTO { return ApiArtifactoryConnectionStatusRequestDTOToJSONTyped(json, false); } export function ApiArtifactoryConnectionStatusRequestDTOToJSONTyped(value?: ApiArtifactoryConnectionStatusRequestDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'allowOverride': value['allowOverride'], 'enabled': value['enabled'], }; }