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