Class: Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::DatasetCompression
- Inherits:
-
Object
- Object
- Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::DatasetCompression
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dataset_compression.rb
Overview
The compression method used on a dataset.
Direct Known Subclasses
DatasetBZip2Compression, DatasetDeflateCompression, DatasetGZipCompression, DatasetZipDeflateCompression
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
collection.
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DatasetCompression class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ DatasetCompression
constructor
A new instance of DatasetCompression.
Constructor Details
#initialize ⇒ DatasetCompression
Returns a new instance of DatasetCompression.
21 22 23 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dataset_compression.rb', line 21 def initialize @type = "DatasetCompression" end |
Instance Attribute Details
#additional_properties ⇒ Object
collection
29 30 31 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dataset_compression.rb', line 29 def additional_properties @additional_properties end |
#type ⇒ Object
Returns the value of attribute type.
25 26 27 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dataset_compression.rb', line 25 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for DatasetCompression class as Ruby Hash. This will be used for serialization/deserialization.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dataset_compression.rb', line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DatasetCompression', type: { name: 'Composite', polymorphic_discriminator: 'type', uber_parent: 'DatasetCompression', class_name: 'DatasetCompression', 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' } } } } } } } end |