/* 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 ApiRequestPolicyWaiverDTO */ export interface ApiRequestPolicyWaiverDTO { /** * * @type {string} * @memberof ApiRequestPolicyWaiverDTO */ addWaiverLink?: string; /** * * @type {string} * @memberof ApiRequestPolicyWaiverDTO */ comment?: string; /** * * @type {string} * @memberof ApiRequestPolicyWaiverDTO */ policyViolationLink?: string; /** * * @type {string} * @memberof ApiRequestPolicyWaiverDTO */ reasonId?: string; } /** * Check if a given object implements the ApiRequestPolicyWaiverDTO interface. */ export function instanceOfApiRequestPolicyWaiverDTO(value: object): value is ApiRequestPolicyWaiverDTO { return true; } export function ApiRequestPolicyWaiverDTOFromJSON(json: any): ApiRequestPolicyWaiverDTO { return ApiRequestPolicyWaiverDTOFromJSONTyped(json, false); } export function ApiRequestPolicyWaiverDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiRequestPolicyWaiverDTO { if (json == null) { return json; } return { 'addWaiverLink': json['addWaiverLink'] == null ? undefined : json['addWaiverLink'], 'comment': json['comment'] == null ? undefined : json['comment'], 'policyViolationLink': json['policyViolationLink'] == null ? undefined : json['policyViolationLink'], 'reasonId': json['reasonId'] == null ? undefined : json['reasonId'], }; } export function ApiRequestPolicyWaiverDTOToJSON(json: any): ApiRequestPolicyWaiverDTO { return ApiRequestPolicyWaiverDTOToJSONTyped(json, false); } export function ApiRequestPolicyWaiverDTOToJSONTyped(value?: ApiRequestPolicyWaiverDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'addWaiverLink': value['addWaiverLink'], 'comment': value['comment'], 'policyViolationLink': value['policyViolationLink'], 'reasonId': value['reasonId'], }; }