/* 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 ApiZScalerQuotaDTO */ export interface ApiZScalerQuotaDTO { /** * * @type {number} * @memberof ApiZScalerQuotaDTO */ remainingUrls?: number; /** * * @type {string} * @memberof ApiZScalerQuotaDTO */ status?: string; /** * * @type {number} * @memberof ApiZScalerQuotaDTO */ totalAllowedUrls?: number; } /** * Check if a given object implements the ApiZScalerQuotaDTO interface. */ export function instanceOfApiZScalerQuotaDTO(value: object): value is ApiZScalerQuotaDTO { return true; } export function ApiZScalerQuotaDTOFromJSON(json: any): ApiZScalerQuotaDTO { return ApiZScalerQuotaDTOFromJSONTyped(json, false); } export function ApiZScalerQuotaDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiZScalerQuotaDTO { if (json == null) { return json; } return { 'remainingUrls': json['remainingUrls'] == null ? undefined : json['remainingUrls'], 'status': json['status'] == null ? undefined : json['status'], 'totalAllowedUrls': json['totalAllowedUrls'] == null ? undefined : json['totalAllowedUrls'], }; } export function ApiZScalerQuotaDTOToJSON(json: any): ApiZScalerQuotaDTO { return ApiZScalerQuotaDTOToJSONTyped(json, false); } export function ApiZScalerQuotaDTOToJSONTyped(value?: ApiZScalerQuotaDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'remainingUrls': value['remainingUrls'], 'status': value['status'], 'totalAllowedUrls': value['totalAllowedUrls'], }; }