Method: Azure::Storage::Mgmt::V2017_06_01::Models::Usage.mapper
- Defined in:
- lib/2017-06-01/generated/azure_mgmt_storage/models/usage.rb
.mapper ⇒ Object
Mapper for Usage class as Ruby Hash. This will be used for serialization/deserialization.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/usage.rb', line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Usage', type: { name: 'Composite', class_name: 'Usage', model_properties: { unit: { client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', type: { name: 'Enum', module: 'UsageUnit' } }, current_value: { client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', type: { name: 'Number' } }, limit: { client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', type: { name: 'Number' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'Composite', class_name: 'UsageName' } } } } } end |