/* 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 CacheInvalidationResponse */ export interface CacheInvalidationResponse { /** * * @type {number} * @memberof CacheInvalidationResponse */ entriesInvalidated?: number; } /** * Check if a given object implements the CacheInvalidationResponse interface. */ export function instanceOfCacheInvalidationResponse(value: object): value is CacheInvalidationResponse { return true; } export function CacheInvalidationResponseFromJSON(json: any): CacheInvalidationResponse { return CacheInvalidationResponseFromJSONTyped(json, false); } export function CacheInvalidationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CacheInvalidationResponse { if (json == null) { return json; } return { 'entriesInvalidated': json['entriesInvalidated'] == null ? undefined : json['entriesInvalidated'], }; } export function CacheInvalidationResponseToJSON(json: any): CacheInvalidationResponse { return CacheInvalidationResponseToJSONTyped(json, false); } export function CacheInvalidationResponseToJSONTyped(value?: CacheInvalidationResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'entriesInvalidated': value['entriesInvalidated'], }; }