Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, **kwargs):
super(DatasetCompression, self).__init__(**kwargs)
self.additional_properties = kwargs.get('additional_properties', None)
self.type = None
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from .dataset_compression import DatasetCompression
class DatasetZipDeflateCompression(DatasetCompression):
"""The ZipDeflate compression method used on a dataset.
All required parameters must be populated in order to send to Azure.
:param additional_properties: Unmatched properties from the message are
deserialized this collection
:type additional_properties: dict[str, object]
:param type: Required. Constant filled by server.
:type type: str
:param level: The ZipDeflate compression level. Possible values include:
'Optimal', 'Fastest'
:type level: str or ~azure.mgmt.datafactory.models.DatasetCompressionLevel
"""
_validation = {
'type': {'required': True},
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from .dataset_compression import DatasetCompression
class DatasetGZipCompression(DatasetCompression):
"""The GZip compression method used on a dataset.
All required parameters must be populated in order to send to Azure.
:param additional_properties: Unmatched properties from the message are
deserialized this collection
:type additional_properties: dict[str, object]
:param type: Required. Constant filled by server.
:type type: str
:param level: The GZip compression level. Possible values include:
'Optimal', 'Fastest'
:type level: str or ~azure.mgmt.datafactory.models.DatasetCompressionLevel
"""
_validation = {
'type': {'required': True},
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from .dataset_compression import DatasetCompression
class DatasetBZip2Compression(DatasetCompression):
"""The BZip2 compression method used on a dataset.
All required parameters must be populated in order to send to Azure.
:param additional_properties: Unmatched properties from the message are
deserialized this collection
:type additional_properties: dict[str, object]
:param type: Required. Constant filled by server.
:type type: str
"""
_validation = {
'type': {'required': True},
}
_attribute_map = {
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from .dataset_compression import DatasetCompression
class DatasetDeflateCompression(DatasetCompression):
"""The Deflate compression method used on a dataset.
All required parameters must be populated in order to send to Azure.
:param additional_properties: Unmatched properties from the message are
deserialized this collection
:type additional_properties: dict[str, object]
:param type: Required. Constant filled by server.
:type type: str
:param level: The Deflate compression level. Possible values include:
'Optimal', 'Fastest'
:type level: str or ~azure.mgmt.datafactory.models.DatasetCompressionLevel
"""
_validation = {
'type': {'required': True},