Class: Azure::ServiceFabric::V6_5_0_36::Models::NetworkResourcePropertiesBase

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

Overview

This type describes the properties of a network resource, including its kind.

Direct Known Subclasses

NetworkResourceProperties

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeNetworkResourcePropertiesBase

Returns a new instance of NetworkResourcePropertiesBase.



20
21
22
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/network_resource_properties_base.rb', line 20

def initialize
  @kind = "NetworkResourcePropertiesBase"
end

Instance Attribute Details

#kindObject

Returns the value of attribute kind.



24
25
26
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/network_resource_properties_base.rb', line 24

def kind
  @kind
end

Class Method Details

.mapperObject

Mapper for NetworkResourcePropertiesBase 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
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/network_resource_properties_base.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NetworkResourcePropertiesBase',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'kind',
      uber_parent: 'NetworkResourcePropertiesBase',
      class_name: 'NetworkResourcePropertiesBase',
      model_properties: {
      }
    }
  }
end