/* 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 OidcConfigurationDTO */ export interface OidcConfigurationDTO { /** * * @type {string} * @memberof OidcConfigurationDTO */ authorizationCustomParamsJson?: string; /** * * @type {string} * @memberof OidcConfigurationDTO */ clientId?: string; /** * * @type {string} * @memberof OidcConfigurationDTO */ clientSecret?: string; /** * * @type {string} * @memberof OidcConfigurationDTO */ idpAuthorizationUrl?: string; /** * * @type {string} * @memberof OidcConfigurationDTO */ idpIssuer?: string; /** * * @type {string} * @memberof OidcConfigurationDTO */ idpTokenUrl?: string; /** * * @type {string} * @memberof OidcConfigurationDTO */ tokenRequestCustomParamsJson?: string; } /** * Check if a given object implements the OidcConfigurationDTO interface. */ export function instanceOfOidcConfigurationDTO(value: object): value is OidcConfigurationDTO { return true; } export function OidcConfigurationDTOFromJSON(json: any): OidcConfigurationDTO { return OidcConfigurationDTOFromJSONTyped(json, false); } export function OidcConfigurationDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): OidcConfigurationDTO { if (json == null) { return json; } return { 'authorizationCustomParamsJson': json['authorizationCustomParamsJson'] == null ? undefined : json['authorizationCustomParamsJson'], 'clientId': json['clientId'] == null ? undefined : json['clientId'], 'clientSecret': json['clientSecret'] == null ? undefined : json['clientSecret'], 'idpAuthorizationUrl': json['idpAuthorizationUrl'] == null ? undefined : json['idpAuthorizationUrl'], 'idpIssuer': json['idpIssuer'] == null ? undefined : json['idpIssuer'], 'idpTokenUrl': json['idpTokenUrl'] == null ? undefined : json['idpTokenUrl'], 'tokenRequestCustomParamsJson': json['tokenRequestCustomParamsJson'] == null ? undefined : json['tokenRequestCustomParamsJson'], }; } export function OidcConfigurationDTOToJSON(json: any): OidcConfigurationDTO { return OidcConfigurationDTOToJSONTyped(json, false); } export function OidcConfigurationDTOToJSONTyped(value?: OidcConfigurationDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'authorizationCustomParamsJson': value['authorizationCustomParamsJson'], 'clientId': value['clientId'], 'clientSecret': value['clientSecret'], 'idpAuthorizationUrl': value['idpAuthorizationUrl'], 'idpIssuer': value['idpIssuer'], 'idpTokenUrl': value['idpTokenUrl'], 'tokenRequestCustomParamsJson': value['tokenRequestCustomParamsJson'], }; }