Class: Azure::ServiceFabric::V6_4_0_36::Models::EndpointRef

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.4.0.36/generated/azure_service_fabric/models/endpoint_ref.rb

Overview

Describes a reference to a service endpoint.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#nameString

Returns Name of the endpoint.

Returns:

  • (String)

    Name of the endpoint.



16
17
18
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/endpoint_ref.rb', line 16

def name
  @name
end

Class Method Details

.mapperObject

Mapper for EndpointRef class as Ruby Hash. This will be used for serialization/deserialization.



23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/endpoint_ref.rb', line 23

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EndpointRef',
    type: {
      name: 'Composite',
      class_name: 'EndpointRef',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end