Class: Azure::DataBox::Mgmt::V2018_01_01::Models::DestinationAccountDetails

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-01-01/generated/azure_mgmt_databox/models/destination_account_details.rb

Overview

Details of the destination of the data

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDestinationAccountDetails

Returns a new instance of DestinationAccountDetails.



19
20
21
# File 'lib/2018-01-01/generated/azure_mgmt_databox/models/destination_account_details.rb', line 19

def initialize
  @dataDestinationType = "DestinationAccountDetails"
end

Instance Attribute Details

#account_idString

moved.

Returns:

  • (String)

    Arm Id of the destination where the data has to be



27
28
29
# File 'lib/2018-01-01/generated/azure_mgmt_databox/models/destination_account_details.rb', line 27

def 
  @account_id
end

#dataDestinationTypeObject

Returns the value of attribute dataDestinationType.



23
24
25
# File 'lib/2018-01-01/generated/azure_mgmt_databox/models/destination_account_details.rb', line 23

def dataDestinationType
  @dataDestinationType
end

Class Method Details

.mapperObject

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



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/2018-01-01/generated/azure_mgmt_databox/models/destination_account_details.rb', line 34

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DestinationAccountDetails',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'dataDestinationType',
      uber_parent: 'DestinationAccountDetails',
      class_name: 'DestinationAccountDetails',
      model_properties: {
        account_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'accountId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end