Class: Azure::ServiceFabric::V6_5_0_36::Models::NameDescription
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::NameDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/name_description.rb
Overview
Describes a Service Fabric name.
Instance Attribute Summary collapse
-
#name ⇒ String
scheme.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for NameDescription class as Ruby Hash.
Instance Attribute Details
#name ⇒ String
scheme.
17 18 19 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/name_description.rb', line 17 def name @name end |
Class Method Details
.mapper ⇒ Object
Mapper for NameDescription class as Ruby Hash. This will be used for serialization/deserialization.
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/name_description.rb', line 24 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'NameDescription', type: { name: 'Composite', class_name: 'NameDescription', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'Name', type: { name: 'String' } } } } } end |