Class: Azure::MixedReality::Mgmt::V2020_04_06_preview::Models::ResourceModelWithAllowedPropertySetPlan
- Inherits:
-
Plan
- Object
- Plan
- Azure::MixedReality::Mgmt::V2020_04_06_preview::Models::ResourceModelWithAllowedPropertySetPlan
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set_plan.rb
Overview
Model object.
Instance Attribute Summary
Attributes inherited from Plan
#name, #product, #promotion_code, #publisher, #version
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ResourceModelWithAllowedPropertySetPlan class as Ruby Hash.
Class Method Details
.mapper ⇒ Object
Mapper for ResourceModelWithAllowedPropertySetPlan class as Ruby Hash. This will be used for serialization/deserialization.
21 22 23 24 25 26 27 28 29 30 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 69 70 71 72 73 |
# File 'lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set_plan.rb', line 21 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ResourceModelWithAllowedPropertySet_plan', type: { name: 'Composite', class_name: 'ResourceModelWithAllowedPropertySetPlan', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, publisher: { client_side_validation: true, required: true, serialized_name: 'publisher', type: { name: 'String' } }, product: { client_side_validation: true, required: true, serialized_name: 'product', type: { name: 'String' } }, promotion_code: { client_side_validation: true, required: false, serialized_name: 'promotionCode', type: { name: 'String' } }, version: { client_side_validation: true, required: false, serialized_name: 'version', type: { name: 'String' } } } } } end |