/**
 * Monitoring API
 * Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources.
Endpoints vary by operation. For PostMetric, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
For information about monitoring, see [Monitoring Overview](/iaas/Content/Monitoring/Concepts/monitoringoverview.htm).

 * OpenAPI spec version: 20180401
 *
 *
 * NOTE: This class is auto generated by OracleSDKGenerator.
 * Do not edit the class manually.
 *
 * Copyright (c) 2020, 2022, Oracle and/or its affiliates.  All rights reserved.
 * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
 */ import * as model from "../model" ; import common = require ( "oci-common" ) ; /**
 * The record of a single metric object that failed input validation and the reason for the failure.
 *
 */ export interface FailedMetricRecord { /**
     * An error message indicating the reason that the indicated metric object failed input validation.
     *
     */ "message" : string ; /**
     * Identifier of a metric object that failed input validation.
     *
     */ "metricData" : model . MetricDataDetails ; } export namespace FailedMetricRecord { export function getJsonObj ( obj ) { const jsonObj = { ... obj , ... { "metricData" : obj . metricData ? model . MetricDataDetails . getJsonObj ( obj . metricData ) : undefined } } ; return jsonObj ; } export function getDeserializedJsonObj ( obj ) { const jsonObj = { ... obj , ... { "metricData" : obj . metricData ? model . MetricDataDetails . getDeserializedJsonObj ( obj . metricData ) : undefined } } ; return jsonObj ; } }