/**
 * Service Connector Hub API
 * Use the Service Connector Hub API to transfer data between services in Oracle Cloud Infrastructure.
For more information about Service Connector Hub, see
[Service Connector Hub Overview](/iaas/Content/service-connector-hub/overview.htm).

 * OpenAPI spec version: 20200909
 *
 *
 * 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" ) ; /**
 * A dimension name and value.
 *
 */ export interface DimensionDetails { /**
     * Dimension key. A valid dimension key includes only printable ASCII, excluding periods (.) and spaces.
     * Custom dimension keys are acceptable. Avoid entering confidential information.
     * Due to use by Service Connector Hub, the following dimension names are reserved: `connectorId`, `connectorName`, `connectorSourceType`.
     * For information on valid dimension keys and values, see  {@link #metricDataDetails(MetricDataDetailsRequest) metricDataDetails} .
     * Example: `type`
     *
      "name" : string ; "dimensionValue" : model . StaticDimensionValue | model . JmesPathDimensionValue ; } export namespace DimensionDetails { export function getJsonObj ( obj ) { const jsonObj = { ... obj , ... { "dimensionValue" : obj . dimensionValue ? model . DimensionValueDetails . getJsonObj ( obj . dimensionValue ) : undefined } } ; return jsonObj ; } export function getDeserializedJsonObj ( obj ) { const jsonObj = { ... obj , ... { "dimensionValue" : obj . dimensionValue ? model . DimensionValueDetails . getDeserializedJsonObj ( obj . dimensionValue ) : undefined } } ; return jsonObj ; } }