/* tslint:disable */ /* eslint-disable */ /** * Unleash API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 4.19.0-beta.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { exists, mapValues } from '../runtime'; /** * A key value set representing the metric * @export * @interface RequestsPerSecondSchemaDataResultInnerMetric */ export interface RequestsPerSecondSchemaDataResultInnerMetric { /** * * @type {string} * @memberof RequestsPerSecondSchemaDataResultInnerMetric */ appName?: string; /** * * @type {string} * @memberof RequestsPerSecondSchemaDataResultInnerMetric */ endpoint?: string; } /** * Check if a given object implements the RequestsPerSecondSchemaDataResultInnerMetric interface. */ export function instanceOfRequestsPerSecondSchemaDataResultInnerMetric(value: object): boolean { let isInstance = true; return isInstance; } export function RequestsPerSecondSchemaDataResultInnerMetricFromJSON(json: any): RequestsPerSecondSchemaDataResultInnerMetric { return RequestsPerSecondSchemaDataResultInnerMetricFromJSONTyped(json, false); } export function RequestsPerSecondSchemaDataResultInnerMetricFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestsPerSecondSchemaDataResultInnerMetric { if ((json === undefined) || (json === null)) { return json; } return { 'appName': !exists(json, 'appName') ? undefined : json['appName'], }; } export function RequestsPerSecondSchemaDataResultInnerMetricToJSON(value?: RequestsPerSecondSchemaDataResultInnerMetric | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'appName': value.appName, }; }