Class: Azure::ServiceFabric::V6_5_0_36::Models::SecretResourcePropertiesBase

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

Overview

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

Direct Known Subclasses

SecretResourceProperties

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSecretResourcePropertiesBase

Returns a new instance of SecretResourcePropertiesBase.



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

def initialize
  @kind = "SecretResourcePropertiesBase"
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/secret_resource_properties_base.rb', line 24

def kind
  @kind
end

Class Method Details

.mapperObject

Mapper for SecretResourcePropertiesBase 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/secret_resource_properties_base.rb', line 31

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