/* 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 ApiCrowdConfigurationDTO */ export interface ApiCrowdConfigurationDTO { /** * * @type {string} * @memberof ApiCrowdConfigurationDTO */ applicationName?: string; /** * * @type {string} * @memberof ApiCrowdConfigurationDTO */ applicationPassword?: string; /** * * @type {string} * @memberof ApiCrowdConfigurationDTO */ serverUrl?: string; } /** * Check if a given object implements the ApiCrowdConfigurationDTO interface. */ export function instanceOfApiCrowdConfigurationDTO(value: object): value is ApiCrowdConfigurationDTO { return true; } export function ApiCrowdConfigurationDTOFromJSON(json: any): ApiCrowdConfigurationDTO { return ApiCrowdConfigurationDTOFromJSONTyped(json, false); } export function ApiCrowdConfigurationDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiCrowdConfigurationDTO { if (json == null) { return json; } return { 'applicationName': json['applicationName'] == null ? undefined : json['applicationName'], 'applicationPassword': json['applicationPassword'] == null ? undefined : json['applicationPassword'], 'serverUrl': json['serverUrl'] == null ? undefined : json['serverUrl'], }; } export function ApiCrowdConfigurationDTOToJSON(json: any): ApiCrowdConfigurationDTO { return ApiCrowdConfigurationDTOToJSONTyped(json, false); } export function ApiCrowdConfigurationDTOToJSONTyped(value?: ApiCrowdConfigurationDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'applicationName': value['applicationName'], 'applicationPassword': value['applicationPassword'], 'serverUrl': value['serverUrl'], }; }