/* 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 ApiLicenseDTO */ export interface ApiLicenseDTO { /** * * @type {string} * @memberof ApiLicenseDTO */ licenseId?: string; /** * * @type {string} * @memberof ApiLicenseDTO */ licenseName?: string; } /** * Check if a given object implements the ApiLicenseDTO interface. */ export function instanceOfApiLicenseDTO(value: object): value is ApiLicenseDTO { return true; } export function ApiLicenseDTOFromJSON(json: any): ApiLicenseDTO { return ApiLicenseDTOFromJSONTyped(json, false); } export function ApiLicenseDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiLicenseDTO { if (json == null) { return json; } return { 'licenseId': json['licenseId'] == null ? undefined : json['licenseId'], 'licenseName': json['licenseName'] == null ? undefined : json['licenseName'], }; } export function ApiLicenseDTOToJSON(json: any): ApiLicenseDTO { return ApiLicenseDTOToJSONTyped(json, false); } export function ApiLicenseDTOToJSONTyped(value?: ApiLicenseDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'licenseId': value['licenseId'], 'licenseName': value['licenseName'], }; }