Class: Azure::ServiceFabric::V6_4_0_36::Models::ApplicationScopedVolumeCreationParameters

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

Overview

Describes parameters for creating application-scoped volumes.

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeApplicationScopedVolumeCreationParameters

Returns a new instance of ApplicationScopedVolumeCreationParameters.



18
19
20
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/application_scoped_volume_creation_parameters.rb', line 18

def initialize
  @kind = "ApplicationScopedVolumeCreationParameters"
end

Instance Attribute Details

#descriptionString

Returns User readable description of the volume.

Returns:

  • (String)

    User readable description of the volume.



25
26
27
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/application_scoped_volume_creation_parameters.rb', line 25

def description
  @description
end

#kindObject

Returns the value of attribute kind.



22
23
24
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/application_scoped_volume_creation_parameters.rb', line 22

def kind
  @kind
end

Class Method Details

.mapperObject

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



33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/application_scoped_volume_creation_parameters.rb', line 33

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