Class: Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::DatasetStorageFormat
- Inherits:
-
Object
- Object
- Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::DatasetStorageFormat
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dataset_storage_format.rb
Overview
The format definition of a storage.
Direct Known Subclasses
AvroFormat, JsonFormat, OrcFormat, ParquetFormat, TextFormat
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
collection.
-
#deserializer ⇒ Object
string).
-
#serializer ⇒ Object
string).
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DatasetStorageFormat class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ DatasetStorageFormat
constructor
A new instance of DatasetStorageFormat.
Constructor Details
#initialize ⇒ DatasetStorageFormat
Returns a new instance of DatasetStorageFormat.
22 23 24 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dataset_storage_format.rb', line 22 def initialize @type = "DatasetStorageFormat" end |
Instance Attribute Details
#additional_properties ⇒ Object
collection
30 31 32 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dataset_storage_format.rb', line 30 def additional_properties @additional_properties end |
#deserializer ⇒ Object
string).
38 39 40 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dataset_storage_format.rb', line 38 def deserializer @deserializer end |
#serializer ⇒ Object
string).
34 35 36 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dataset_storage_format.rb', line 34 def serializer @serializer end |
#type ⇒ Object
Returns the value of attribute type.
26 27 28 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dataset_storage_format.rb', line 26 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for DatasetStorageFormat class as Ruby Hash. This will be used for serialization/deserialization.
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dataset_storage_format.rb', line 45 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DatasetStorageFormat', type: { name: 'Composite', polymorphic_discriminator: 'type', uber_parent: 'DatasetStorageFormat', class_name: 'DatasetStorageFormat', model_properties: { additional_properties: { client_side_validation: true, required: false, type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'ObjectElementType', type: { name: 'Object' } } } }, serializer: { client_side_validation: true, required: false, serialized_name: 'serializer', type: { name: 'Object' } }, deserializer: { client_side_validation: true, required: false, serialized_name: 'deserializer', type: { name: 'Object' } } } } } end |