Class: Azure::ServiceFabric::V6_5_0_36::Models::NameDescription

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#nameString

scheme.

Returns:

  • (String)

    The Service Fabric name, including the ‘fabric:’ URI



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

.mapperObject

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