Class: Azure::Storage::Mgmt::V2021_01_01::Models::DeletedShare

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2021-01-01/generated/azure_mgmt_storage/models/deleted_share.rb

Overview

The deleted share to be restored.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#deleted_share_nameString

will be restored.

Returns:

  • (String)

    Required. Identify the name of the deleted share that



17
18
19
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/deleted_share.rb', line 17

def deleted_share_name
  @deleted_share_name
end

#deleted_share_versionString

that will be restored.

Returns:

  • (String)

    Required. Identify the version of the deleted share



21
22
23
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/deleted_share.rb', line 21

def deleted_share_version
  @deleted_share_version
end

Class Method Details

.mapperObject

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



28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/deleted_share.rb', line 28

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DeletedShare',
    type: {
      name: 'Composite',
      class_name: 'DeletedShare',
      model_properties: {
        deleted_share_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'deletedShareName',
          type: {
            name: 'String'
          }
        },
        deleted_share_version: {
          client_side_validation: true,
          required: true,
          serialized_name: 'deletedShareVersion',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end