Class: Azure::ServiceFabric::V6_5_0_36::Models::NetworkResourcePropertiesBase
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::NetworkResourcePropertiesBase
- 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
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#kind ⇒ Object
Returns the value of attribute kind.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for NetworkResourcePropertiesBase class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ NetworkResourcePropertiesBase
constructor
A new instance of NetworkResourcePropertiesBase.
Constructor Details
#initialize ⇒ NetworkResourcePropertiesBase
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
#kind ⇒ Object
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
.mapper ⇒ Object
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 |