Class: Azure::StorageCache::Mgmt::V2019_11_01::Models::UsageModel
- Inherits:
-
Object
- Object
- Azure::StorageCache::Mgmt::V2019_11_01::Models::UsageModel
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/usage_model.rb
Overview
A usage model.
Instance Attribute Summary collapse
-
#display ⇒ UsageModelDisplay
model.
-
#model_name ⇒ String
Non-localized keyword name for this usage model.
-
#target_type ⇒ String
applicable (only nfs3 as of this version).
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for UsageModel class as Ruby Hash.
Instance Attribute Details
#display ⇒ UsageModelDisplay
model.
17 18 19 |
# File 'lib/2019-11-01/generated/azure_mgmt_storagecache/models/usage_model.rb', line 17 def display @display end |
#model_name ⇒ String
Returns Non-localized keyword name for this usage model.
20 21 22 |
# File 'lib/2019-11-01/generated/azure_mgmt_storagecache/models/usage_model.rb', line 20 def model_name @model_name end |
#target_type ⇒ String
applicable (only nfs3 as of this version).
24 25 26 |
# File 'lib/2019-11-01/generated/azure_mgmt_storagecache/models/usage_model.rb', line 24 def target_type @target_type end |
Class Method Details
.mapper ⇒ Object
Mapper for UsageModel class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 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 |
# File 'lib/2019-11-01/generated/azure_mgmt_storagecache/models/usage_model.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'UsageModel', type: { name: 'Composite', class_name: 'UsageModel', model_properties: { display: { client_side_validation: true, required: false, serialized_name: 'display', type: { name: 'Composite', class_name: 'UsageModelDisplay' } }, model_name: { client_side_validation: true, required: false, serialized_name: 'modelName', type: { name: 'String' } }, target_type: { client_side_validation: true, required: false, serialized_name: 'targetType', type: { name: 'String' } } } } } end |