/* 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 ApiArtifactoryConnectionStatusResponseDTO */ export interface ApiArtifactoryConnectionStatusResponseDTO { /** * * @type {boolean} * @memberof ApiArtifactoryConnectionStatusResponseDTO */ allowChange?: boolean; /** * * @type {boolean} * @memberof ApiArtifactoryConnectionStatusResponseDTO */ allowOverride?: boolean; /** * * @type {boolean} * @memberof ApiArtifactoryConnectionStatusResponseDTO */ enabled?: boolean; /** * * @type {boolean} * @memberof ApiArtifactoryConnectionStatusResponseDTO */ inheritedFromOrgEnabled?: boolean; /** * * @type {string} * @memberof ApiArtifactoryConnectionStatusResponseDTO */ inheritedFromOrganizationId?: string; /** * * @type {string} * @memberof ApiArtifactoryConnectionStatusResponseDTO */ inheritedFromOrganizationName?: string; } /** * Check if a given object implements the ApiArtifactoryConnectionStatusResponseDTO interface. */ export function instanceOfApiArtifactoryConnectionStatusResponseDTO(value: object): value is ApiArtifactoryConnectionStatusResponseDTO { return true; } export function ApiArtifactoryConnectionStatusResponseDTOFromJSON(json: any): ApiArtifactoryConnectionStatusResponseDTO { return ApiArtifactoryConnectionStatusResponseDTOFromJSONTyped(json, false); } export function ApiArtifactoryConnectionStatusResponseDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiArtifactoryConnectionStatusResponseDTO { if (json == null) { return json; } return { 'allowChange': json['allowChange'] == null ? undefined : json['allowChange'], 'allowOverride': json['allowOverride'] == null ? undefined : json['allowOverride'], 'enabled': json['enabled'] == null ? undefined : json['enabled'], 'inheritedFromOrgEnabled': json['inheritedFromOrgEnabled'] == null ? undefined : json['inheritedFromOrgEnabled'], 'inheritedFromOrganizationId': json['inheritedFromOrganizationId'] == null ? undefined : json['inheritedFromOrganizationId'], 'inheritedFromOrganizationName': json['inheritedFromOrganizationName'] == null ? undefined : json['inheritedFromOrganizationName'], }; } export function ApiArtifactoryConnectionStatusResponseDTOToJSON(json: any): ApiArtifactoryConnectionStatusResponseDTO { return ApiArtifactoryConnectionStatusResponseDTOToJSONTyped(json, false); } export function ApiArtifactoryConnectionStatusResponseDTOToJSONTyped(value?: ApiArtifactoryConnectionStatusResponseDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'allowChange': value['allowChange'], 'allowOverride': value['allowOverride'], 'enabled': value['enabled'], 'inheritedFromOrgEnabled': value['inheritedFromOrgEnabled'], 'inheritedFromOrganizationId': value['inheritedFromOrganizationId'], 'inheritedFromOrganizationName': value['inheritedFromOrganizationName'], }; }