# 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::V2015_05_01 module Models # # An Application Insights component feature capability # class ApplicationInsightsComponentFeatureCapability include MsRestAzure # @return [String] The name of the capability. attr_accessor :name # @return [String] The description of the capability. attr_accessor :description # @return [String] The value of the capability. attr_accessor :value # @return [String] The unit of the capability. attr_accessor :unit # @return [String] The meter used for the capability. attr_accessor :meter_id # @return [String] The meter rate of the meter. attr_accessor :meter_rate_frequency # # Mapper for ApplicationInsightsComponentFeatureCapability class as Ruby # Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ApplicationInsightsComponentFeatureCapability', type: { name: 'Composite', class_name: 'ApplicationInsightsComponentFeatureCapability', model_properties: { name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'Name', type: { name: 'String' } }, description: { client_side_validation: true, required: false, read_only: true, serialized_name: 'Description', type: { name: 'String' } }, value: { client_side_validation: true, required: false, read_only: true, serialized_name: 'Value', type: { name: 'String' } }, unit: { client_side_validation: true, required: false, read_only: true, serialized_name: 'Unit', type: { name: 'String' } }, meter_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'MeterId', type: { name: 'String' } }, meter_rate_frequency: { client_side_validation: true, required: false, read_only: true, serialized_name: 'MeterRateFrequency', type: { name: 'String' } } } } } end end end end