Class: Azure::DataBox::Mgmt::V2018_01_01::Models::DestinationAccountDetails
- Inherits:
-
Object
- Object
- Azure::DataBox::Mgmt::V2018_01_01::Models::DestinationAccountDetails
- 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
Direct Known Subclasses
DestinationManagedDiskDetails, DestinationStorageAccountDetails
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#account_id ⇒ String
moved.
-
#dataDestinationType ⇒ Object
Returns the value of attribute dataDestinationType.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DestinationAccountDetails class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ DestinationAccountDetails
constructor
A new instance of DestinationAccountDetails.
Constructor Details
#initialize ⇒ DestinationAccountDetails
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_id ⇒ String
moved.
27 28 29 |
# File 'lib/2018-01-01/generated/azure_mgmt_databox/models/destination_account_details.rb', line 27 def account_id @account_id end |
#dataDestinationType ⇒ Object
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
.mapper ⇒ Object
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 |