# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Monitor::Mgmt::V2017_12_01_preview module Models # # Metric namespace class specifies the metadata for a metric namespace. # class MetricNamespace include MsRestAzure # @return [String] The ID of the metricNamespace. attr_accessor :id # @return [String] The type of the namespace. attr_accessor :type # @return [String] The name of the namespace. attr_accessor :name # @return [MetricNamespaceName] Properties which include the fully # qualified namespace name. attr_accessor :properties # # Mapper for MetricNamespace class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MetricNamespace', type: { name: 'Composite', class_name: 'MetricNamespace', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, type: { client_side_validation: true, required: false, serialized_name: 'type', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, properties: { client_side_validation: true, required: false, serialized_name: 'properties', type: { name: 'Composite', class_name: 'MetricNamespaceName' } } } } } end end end end