Class: Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PercentageCostThresholdProperties
- Inherits:
-
Object
- Object
- Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PercentageCostThresholdProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/percentage_cost_threshold_properties.rb
Overview
Properties of a percentage cost threshold.
Instance Attribute Summary collapse
-
#threshold_value ⇒ Float
The cost threshold value.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PercentageCostThresholdProperties class as Ruby Hash.
Instance Attribute Details
#threshold_value ⇒ Float
Returns The cost threshold value.
16 17 18 |
# File 'lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/percentage_cost_threshold_properties.rb', line 16 def threshold_value @threshold_value end |
Class Method Details
.mapper ⇒ Object
Mapper for PercentageCostThresholdProperties class as Ruby Hash. This will be used for serialization/deserialization.
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/percentage_cost_threshold_properties.rb', line 23 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PercentageCostThresholdProperties', type: { name: 'Composite', class_name: 'PercentageCostThresholdProperties', model_properties: { threshold_value: { client_side_validation: true, required: false, serialized_name: 'thresholdValue', type: { name: 'Double' } } } } } end |