Top

lentiq.models.dataset module

# coding: utf-8
####alex test
"""
    
    
        
    """

import pprint
import re  # noqa: F401

import six
from lentiq.models.object_information import ObjectInformation  # noqa: F401,E501


class Dataset(object):
    """
        """
    """
    Attributes:
      swagger_types (dict): The key is attribute name
                            and the value is attribute type.
      attribute_map (dict): The key is attribute name
                            and the value is json key in definition.
    """
    swagger_types = {
        'base_object_relative_path': 'str',
        'datalake_id': 'int',
        'datapool_name': 'str',
        'dataset_description': 'str',
        'dataset_name': 'str',
        'files': 'dict(str, ObjectInformation)',
        'formats': 'list[str]',
        'price': 'int',
        'publisher_email': 'str',
        'publisher_id': 'int',
        'read_only_published_path': 'str',
        'status': 'str',
        'subscriber_emails': 'list[str]',
        'tags': 'list[str]',
        'updated_timestamp': 'int',
        'version': 'int',
        'visibility': 'str'
    }

    attribute_map = {
        'base_object_relative_path': 'baseObjectRelativePath',
        'datalake_id': 'datalakeId',
        'datapool_name': 'datapoolName',
        'dataset_description': 'datasetDescription',
        'dataset_name': 'datasetName',
        'files': 'files',
        'formats': 'formats',
        'price': 'price',
        'publisher_email': 'publisherEmail',
        'publisher_id': 'publisherId',
        'read_only_published_path': 'readOnlyPublishedPath',
        'status': 'status',
        'subscriber_emails': 'subscriberEmails',
        'tags': 'tags',
        'updated_timestamp': 'updatedTimestamp',
        'version': 'version',
        'visibility': 'visibility'
    }

    discriminator = None

    def __init__(self, base_object_relative_path=None, datalake_id=None, datapool_name=None, dataset_description=None, dataset_name=None, files=None, formats=None, price=None, publisher_email=None, publisher_id=None, read_only_published_path=None, status=None, subscriber_emails=None, tags=None, updated_timestamp=None, version=None, visibility=None):  # noqa: E501
        """Dataset - a model defined in Swagger"""  # noqa: E501
        self._base_object_relative_path = None
        self._datalake_id = None
        self._datapool_name = None
        self._dataset_description = None
        self._dataset_name = None
        self._files = None
        self._formats = None
        self._price = None
        self._publisher_email = None
        self._publisher_id = None
        self._read_only_published_path = None
        self._status = None
        self._subscriber_emails = None
        self._tags = None
        self._updated_timestamp = None
        self._version = None
        self._visibility = None

        if base_object_relative_path is not None:
            self.base_object_relative_path = base_object_relative_path
        if datalake_id is not None:
            self.datalake_id = datalake_id
        if datapool_name is not None:
            self.datapool_name = datapool_name
        if dataset_description is not None:
            self.dataset_description = dataset_description
        if dataset_name is not None:
            self.dataset_name = dataset_name
        if files is not None:
            self.files = files
        if formats is not None:
            self.formats = formats
        if price is not None:
            self.price = price
        if publisher_email is not None:
            self.publisher_email = publisher_email
        if publisher_id is not None:
            self.publisher_id = publisher_id
        if read_only_published_path is not None:
            self.read_only_published_path = read_only_published_path
        if status is not None:
            self.status = status
        if subscriber_emails is not None:
            self.subscriber_emails = subscriber_emails
        if tags is not None:
            self.tags = tags
        if updated_timestamp is not None:
            self.updated_timestamp = updated_timestamp
        if version is not None:
            self.version = version
        if visibility is not None:
            self.visibility = visibility

    @property
    def base_object_relative_path(self):
        """Gets the base_object_relative_path of this Dataset.  # noqa: E501

        The base object relative path of the dataset. It's the name of the folder or just the name of the file if the dataset contains only one file.  # noqa: E501

        :return: The base_object_relative_path of this Dataset.  # noqa: E501
        :rtype: str
        """
        return self._base_object_relative_path

    @base_object_relative_path.setter
    def base_object_relative_path(self, base_object_relative_path):
        """Sets the base_object_relative_path of this Dataset.

        The base object relative path of the dataset. It's the name of the folder or just the name of the file if the dataset contains only one file.  # noqa: E501

        :param base_object_relative_path: The base_object_relative_path of this Dataset.  # noqa: E501
        :type: str
        """

        self._base_object_relative_path = base_object_relative_path

    @property
    def datalake_id(self):
        """Gets the datalake_id of this Dataset.  # noqa: E501

        The ID of the datalake that contains the datapool.  # noqa: E501

        :return: The datalake_id of this Dataset.  # noqa: E501
        :rtype: int
        """
        return self._datalake_id

    @datalake_id.setter
    def datalake_id(self, datalake_id):
        """Sets the datalake_id of this Dataset.

        The ID of the datalake that contains the datapool.  # noqa: E501

        :param datalake_id: The datalake_id of this Dataset.  # noqa: E501
        :type: int
        """

        self._datalake_id = datalake_id

    @property
    def datapool_name(self):
        """Gets the datapool_name of this Dataset.  # noqa: E501

        The name of the datapool from which the dataset was published.  # noqa: E501

        :return: The datapool_name of this Dataset.  # noqa: E501
        :rtype: str
        """
        return self._datapool_name

    @datapool_name.setter
    def datapool_name(self, datapool_name):
        """Sets the datapool_name of this Dataset.

        The name of the datapool from which the dataset was published.  # noqa: E501

        :param datapool_name: The datapool_name of this Dataset.  # noqa: E501
        :type: str
        """

        self._datapool_name = datapool_name

    @property
    def dataset_description(self):
        """Gets the dataset_description of this Dataset.  # noqa: E501

        The dataset description set before publishing.  # noqa: E501

        :return: The dataset_description of this Dataset.  # noqa: E501
        :rtype: str
        """
        return self._dataset_description

    @dataset_description.setter
    def dataset_description(self, dataset_description):
        """Sets the dataset_description of this Dataset.

        The dataset description set before publishing.  # noqa: E501

        :param dataset_description: The dataset_description of this Dataset.  # noqa: E501
        :type: str
        """

        self._dataset_description = dataset_description

    @property
    def dataset_name(self):
        """Gets the dataset_name of this Dataset.  # noqa: E501

        The name of the dataset chosen by the publisher. It must be unique.  # noqa: E501

        :return: The dataset_name of this Dataset.  # noqa: E501
        :rtype: str
        """
        return self._dataset_name

    @dataset_name.setter
    def dataset_name(self, dataset_name):
        """Sets the dataset_name of this Dataset.

        The name of the dataset chosen by the publisher. It must be unique.  # noqa: E501

        :param dataset_name: The dataset_name of this Dataset.  # noqa: E501
        :type: str
        """

        self._dataset_name = dataset_name

    @property
    def files(self):
        """Gets the files of this Dataset.  # noqa: E501

        List of all the files and their description and attachments this dataset has.  # noqa: E501

        :return: The files of this Dataset.  # noqa: E501
        :rtype: dict(str, ObjectInformation)
        """
        return self._files

    @files.setter
    def files(self, files):
        """Sets the files of this Dataset.

        List of all the files and their description and attachments this dataset has.  # noqa: E501

        :param files: The files of this Dataset.  # noqa: E501
        :type: dict(str, ObjectInformation)
        """

        self._files = files

    @property
    def formats(self):
        """Gets the formats of this Dataset.  # noqa: E501

        List of formats regarding the types of the files inside the dataset.  # noqa: E501

        :return: The formats of this Dataset.  # noqa: E501
        :rtype: list[str]
        """
        return self._formats

    @formats.setter
    def formats(self, formats):
        """Sets the formats of this Dataset.

        List of formats regarding the types of the files inside the dataset.  # noqa: E501

        :param formats: The formats of this Dataset.  # noqa: E501
        :type: list[str]
        """

        self._formats = formats

    @property
    def price(self):
        """Gets the price of this Dataset.  # noqa: E501

        The price of the dataset that a user must pay in order to subscribe to it.  # noqa: E501

        :return: The price of this Dataset.  # noqa: E501
        :rtype: int
        """
        return self._price

    @price.setter
    def price(self, price):
        """Sets the price of this Dataset.

        The price of the dataset that a user must pay in order to subscribe to it.  # noqa: E501

        :param price: The price of this Dataset.  # noqa: E501
        :type: int
        """

        self._price = price

    @property
    def publisher_email(self):
        """Gets the publisher_email of this Dataset.  # noqa: E501

        E-mail of the publisher.  # noqa: E501

        :return: The publisher_email of this Dataset.  # noqa: E501
        :rtype: str
        """
        return self._publisher_email

    @publisher_email.setter
    def publisher_email(self, publisher_email):
        """Sets the publisher_email of this Dataset.

        E-mail of the publisher.  # noqa: E501

        :param publisher_email: The publisher_email of this Dataset.  # noqa: E501
        :type: str
        """

        self._publisher_email = publisher_email

    @property
    def publisher_id(self):
        """Gets the publisher_id of this Dataset.  # noqa: E501

        User ID of the publisher.  # noqa: E501

        :return: The publisher_id of this Dataset.  # noqa: E501
        :rtype: int
        """
        return self._publisher_id

    @publisher_id.setter
    def publisher_id(self, publisher_id):
        """Sets the publisher_id of this Dataset.

        User ID of the publisher.  # noqa: E501

        :param publisher_id: The publisher_id of this Dataset.  # noqa: E501
        :type: int
        """

        self._publisher_id = publisher_id

    @property
    def read_only_published_path(self):
        """Gets the read_only_published_path of this Dataset.  # noqa: E501

        BDL read-only published path from the internal bucket of the datapool from which the dataset got published.  # noqa: E501

        :return: The read_only_published_path of this Dataset.  # noqa: E501
        :rtype: str
        """
        return self._read_only_published_path

    @read_only_published_path.setter
    def read_only_published_path(self, read_only_published_path):
        """Sets the read_only_published_path of this Dataset.

        BDL read-only published path from the internal bucket of the datapool from which the dataset got published.  # noqa: E501

        :param read_only_published_path: The read_only_published_path of this Dataset.  # noqa: E501
        :type: str
        """

        self._read_only_published_path = read_only_published_path

    @property
    def status(self):
        """Gets the status of this Dataset.  # noqa: E501

        Status of the dataset.  # noqa: E501

        :return: The status of this Dataset.  # noqa: E501
        :rtype: str
        """
        return self._status

    @status.setter
    def status(self, status):
        """Sets the status of this Dataset.

        Status of the dataset.  # noqa: E501

        :param status: The status of this Dataset.  # noqa: E501
        :type: str
        """
        allowed_values = ["published", "publishing"]  # noqa: E501
        if status not in allowed_values:
            raise ValueError(
                "Invalid value for `status` ({0}), must be one of {1}"  # noqa: E501
                .format(status, allowed_values)
            )

        self._status = status

    @property
    def subscriber_emails(self):
        """Gets the subscriber_emails of this Dataset.  # noqa: E501

        List of e-mails of the users who subscribed to this dataset.  # noqa: E501

        :return: The subscriber_emails of this Dataset.  # noqa: E501
        :rtype: list[str]
        """
        return self._subscriber_emails

    @subscriber_emails.setter
    def subscriber_emails(self, subscriber_emails):
        """Sets the subscriber_emails of this Dataset.

        List of e-mails of the users who subscribed to this dataset.  # noqa: E501

        :param subscriber_emails: The subscriber_emails of this Dataset.  # noqa: E501
        :type: list[str]
        """

        self._subscriber_emails = subscriber_emails

    @property
    def tags(self):
        """Gets the tags of this Dataset.  # noqa: E501

        List of tags for the datasets.  # noqa: E501

        :return: The tags of this Dataset.  # noqa: E501
        :rtype: list[str]
        """
        return self._tags

    @tags.setter
    def tags(self, tags):
        """Sets the tags of this Dataset.

        List of tags for the datasets.  # noqa: E501

        :param tags: The tags of this Dataset.  # noqa: E501
        :type: list[str]
        """

        self._tags = tags

    @property
    def updated_timestamp(self):
        """Gets the updated_timestamp of this Dataset.  # noqa: E501

        The timestamp when the dataset got last time updated.  # noqa: E501

        :return: The updated_timestamp of this Dataset.  # noqa: E501
        :rtype: int
        """
        return self._updated_timestamp

    @updated_timestamp.setter
    def updated_timestamp(self, updated_timestamp):
        """Sets the updated_timestamp of this Dataset.

        The timestamp when the dataset got last time updated.  # noqa: E501

        :param updated_timestamp: The updated_timestamp of this Dataset.  # noqa: E501
        :type: int
        """

        self._updated_timestamp = updated_timestamp

    @property
    def version(self):
        """Gets the version of this Dataset.  # noqa: E501

        Version number of the dataset. It gets incremented when publisher overrides the existing dataset.  # noqa: E501

        :return: The version of this Dataset.  # noqa: E501
        :rtype: int
        """
        return self._version

    @version.setter
    def version(self, version):
        """Sets the version of this Dataset.

        Version number of the dataset. It gets incremented when publisher overrides the existing dataset.  # noqa: E501

        :param version: The version of this Dataset.  # noqa: E501
        :type: int
        """

        self._version = version

    @property
    def visibility(self):
        """Gets the visibility of this Dataset.  # noqa: E501

        Visibility mode of the dataset. Can be either public or for a specific datalake or organization.  # noqa: E501

        :return: The visibility of this Dataset.  # noqa: E501
        :rtype: str
        """
        return self._visibility

    @visibility.setter
    def visibility(self, visibility):
        """Sets the visibility of this Dataset.

        Visibility mode of the dataset. Can be either public or for a specific datalake or organization.  # noqa: E501

        :param visibility: The visibility of this Dataset.  # noqa: E501
        :type: str
        """

        self._visibility = visibility

    def to_dict(self):
        """Returns the model properties as a dict"""
        result = {}

        for attr, _ in six.iteritems(self.swagger_types):
            value = getattr(self, attr)
            if isinstance(value, list):
                result[attr] = list(map(
                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
                    value
                ))
            elif hasattr(value, "to_dict"):
                result[attr] = value.to_dict()
            elif isinstance(value, dict):
                result[attr] = dict(map(
                    lambda item: (item[0], item[1].to_dict())
                    if hasattr(item[1], "to_dict") else item,
                    value.items()
                ))
            else:
                result[attr] = value
        if issubclass(Dataset, dict):
            for key, value in self.items():
                result[key] = value

        return result

    def to_str(self):
        """Returns the string representation of the model"""
        return pprint.pformat(self.to_dict())

    def __repr__(self):
        """For `print` and `pprint`"""
        return self.to_str()

    def __eq__(self, other):
        """Returns true if both objects are equal"""
        if not isinstance(other, Dataset):
            return False

        return self.__dict__ == other.__dict__

    def __ne__(self, other):
        """Returns true if both objects are not equal"""
        return not self == other

Classes

class Dataset

class Dataset(object):
    """
        """
    """
    Attributes:
      swagger_types (dict): The key is attribute name
                            and the value is attribute type.
      attribute_map (dict): The key is attribute name
                            and the value is json key in definition.
    """
    swagger_types = {
        'base_object_relative_path': 'str',
        'datalake_id': 'int',
        'datapool_name': 'str',
        'dataset_description': 'str',
        'dataset_name': 'str',
        'files': 'dict(str, ObjectInformation)',
        'formats': 'list[str]',
        'price': 'int',
        'publisher_email': 'str',
        'publisher_id': 'int',
        'read_only_published_path': 'str',
        'status': 'str',
        'subscriber_emails': 'list[str]',
        'tags': 'list[str]',
        'updated_timestamp': 'int',
        'version': 'int',
        'visibility': 'str'
    }

    attribute_map = {
        'base_object_relative_path': 'baseObjectRelativePath',
        'datalake_id': 'datalakeId',
        'datapool_name': 'datapoolName',
        'dataset_description': 'datasetDescription',
        'dataset_name': 'datasetName',
        'files': 'files',
        'formats': 'formats',
        'price': 'price',
        'publisher_email': 'publisherEmail',
        'publisher_id': 'publisherId',
        'read_only_published_path': 'readOnlyPublishedPath',
        'status': 'status',
        'subscriber_emails': 'subscriberEmails',
        'tags': 'tags',
        'updated_timestamp': 'updatedTimestamp',
        'version': 'version',
        'visibility': 'visibility'
    }

    discriminator = None

    def __init__(self, base_object_relative_path=None, datalake_id=None, datapool_name=None, dataset_description=None, dataset_name=None, files=None, formats=None, price=None, publisher_email=None, publisher_id=None, read_only_published_path=None, status=None, subscriber_emails=None, tags=None, updated_timestamp=None, version=None, visibility=None):  # noqa: E501
        """Dataset - a model defined in Swagger"""  # noqa: E501
        self._base_object_relative_path = None
        self._datalake_id = None
        self._datapool_name = None
        self._dataset_description = None
        self._dataset_name = None
        self._files = None
        self._formats = None
        self._price = None
        self._publisher_email = None
        self._publisher_id = None
        self._read_only_published_path = None
        self._status = None
        self._subscriber_emails = None
        self._tags = None
        self._updated_timestamp = None
        self._version = None
        self._visibility = None

        if base_object_relative_path is not None:
            self.base_object_relative_path = base_object_relative_path
        if datalake_id is not None:
            self.datalake_id = datalake_id
        if datapool_name is not None:
            self.datapool_name = datapool_name
        if dataset_description is not None:
            self.dataset_description = dataset_description
        if dataset_name is not None:
            self.dataset_name = dataset_name
        if files is not None:
            self.files = files
        if formats is not None:
            self.formats = formats
        if price is not None:
            self.price = price
        if publisher_email is not None:
            self.publisher_email = publisher_email
        if publisher_id is not None:
            self.publisher_id = publisher_id
        if read_only_published_path is not None:
            self.read_only_published_path = read_only_published_path
        if status is not None:
            self.status = status
        if subscriber_emails is not None:
            self.subscriber_emails = subscriber_emails
        if tags is not None:
            self.tags = tags
        if updated_timestamp is not None:
            self.updated_timestamp = updated_timestamp
        if version is not None:
            self.version = version
        if visibility is not None:
            self.visibility = visibility

    @property
    def base_object_relative_path(self):
        """Gets the base_object_relative_path of this Dataset.  # noqa: E501

        The base object relative path of the dataset. It's the name of the folder or just the name of the file if the dataset contains only one file.  # noqa: E501

        :return: The base_object_relative_path of this Dataset.  # noqa: E501
        :rtype: str
        """
        return self._base_object_relative_path

    @base_object_relative_path.setter
    def base_object_relative_path(self, base_object_relative_path):
        """Sets the base_object_relative_path of this Dataset.

        The base object relative path of the dataset. It's the name of the folder or just the name of the file if the dataset contains only one file.  # noqa: E501

        :param base_object_relative_path: The base_object_relative_path of this Dataset.  # noqa: E501
        :type: str
        """

        self._base_object_relative_path = base_object_relative_path

    @property
    def datalake_id(self):
        """Gets the datalake_id of this Dataset.  # noqa: E501

        The ID of the datalake that contains the datapool.  # noqa: E501

        :return: The datalake_id of this Dataset.  # noqa: E501
        :rtype: int
        """
        return self._datalake_id

    @datalake_id.setter
    def datalake_id(self, datalake_id):
        """Sets the datalake_id of this Dataset.

        The ID of the datalake that contains the datapool.  # noqa: E501

        :param datalake_id: The datalake_id of this Dataset.  # noqa: E501
        :type: int
        """

        self._datalake_id = datalake_id

    @property
    def datapool_name(self):
        """Gets the datapool_name of this Dataset.  # noqa: E501

        The name of the datapool from which the dataset was published.  # noqa: E501

        :return: The datapool_name of this Dataset.  # noqa: E501
        :rtype: str
        """
        return self._datapool_name

    @datapool_name.setter
    def datapool_name(self, datapool_name):
        """Sets the datapool_name of this Dataset.

        The name of the datapool from which the dataset was published.  # noqa: E501

        :param datapool_name: The datapool_name of this Dataset.  # noqa: E501
        :type: str
        """

        self._datapool_name = datapool_name

    @property
    def dataset_description(self):
        """Gets the dataset_description of this Dataset.  # noqa: E501

        The dataset description set before publishing.  # noqa: E501

        :return: The dataset_description of this Dataset.  # noqa: E501
        :rtype: str
        """
        return self._dataset_description

    @dataset_description.setter
    def dataset_description(self, dataset_description):
        """Sets the dataset_description of this Dataset.

        The dataset description set before publishing.  # noqa: E501

        :param dataset_description: The dataset_description of this Dataset.  # noqa: E501
        :type: str
        """

        self._dataset_description = dataset_description

    @property
    def dataset_name(self):
        """Gets the dataset_name of this Dataset.  # noqa: E501

        The name of the dataset chosen by the publisher. It must be unique.  # noqa: E501

        :return: The dataset_name of this Dataset.  # noqa: E501
        :rtype: str
        """
        return self._dataset_name

    @dataset_name.setter
    def dataset_name(self, dataset_name):
        """Sets the dataset_name of this Dataset.

        The name of the dataset chosen by the publisher. It must be unique.  # noqa: E501

        :param dataset_name: The dataset_name of this Dataset.  # noqa: E501
        :type: str
        """

        self._dataset_name = dataset_name

    @property
    def files(self):
        """Gets the files of this Dataset.  # noqa: E501

        List of all the files and their description and attachments this dataset has.  # noqa: E501

        :return: The files of this Dataset.  # noqa: E501
        :rtype: dict(str, ObjectInformation)
        """
        return self._files

    @files.setter
    def files(self, files):
        """Sets the files of this Dataset.

        List of all the files and their description and attachments this dataset has.  # noqa: E501

        :param files: The files of this Dataset.  # noqa: E501
        :type: dict(str, ObjectInformation)
        """

        self._files = files

    @property
    def formats(self):
        """Gets the formats of this Dataset.  # noqa: E501

        List of formats regarding the types of the files inside the dataset.  # noqa: E501

        :return: The formats of this Dataset.  # noqa: E501
        :rtype: list[str]
        """
        return self._formats

    @formats.setter
    def formats(self, formats):
        """Sets the formats of this Dataset.

        List of formats regarding the types of the files inside the dataset.  # noqa: E501

        :param formats: The formats of this Dataset.  # noqa: E501
        :type: list[str]
        """

        self._formats = formats

    @property
    def price(self):
        """Gets the price of this Dataset.  # noqa: E501

        The price of the dataset that a user must pay in order to subscribe to it.  # noqa: E501

        :return: The price of this Dataset.  # noqa: E501
        :rtype: int
        """
        return self._price

    @price.setter
    def price(self, price):
        """Sets the price of this Dataset.

        The price of the dataset that a user must pay in order to subscribe to it.  # noqa: E501

        :param price: The price of this Dataset.  # noqa: E501
        :type: int
        """

        self._price = price

    @property
    def publisher_email(self):
        """Gets the publisher_email of this Dataset.  # noqa: E501

        E-mail of the publisher.  # noqa: E501

        :return: The publisher_email of this Dataset.  # noqa: E501
        :rtype: str
        """
        return self._publisher_email

    @publisher_email.setter
    def publisher_email(self, publisher_email):
        """Sets the publisher_email of this Dataset.

        E-mail of the publisher.  # noqa: E501

        :param publisher_email: The publisher_email of this Dataset.  # noqa: E501
        :type: str
        """

        self._publisher_email = publisher_email

    @property
    def publisher_id(self):
        """Gets the publisher_id of this Dataset.  # noqa: E501

        User ID of the publisher.  # noqa: E501

        :return: The publisher_id of this Dataset.  # noqa: E501
        :rtype: int
        """
        return self._publisher_id

    @publisher_id.setter
    def publisher_id(self, publisher_id):
        """Sets the publisher_id of this Dataset.

        User ID of the publisher.  # noqa: E501

        :param publisher_id: The publisher_id of this Dataset.  # noqa: E501
        :type: int
        """

        self._publisher_id = publisher_id

    @property
    def read_only_published_path(self):
        """Gets the read_only_published_path of this Dataset.  # noqa: E501

        BDL read-only published path from the internal bucket of the datapool from which the dataset got published.  # noqa: E501

        :return: The read_only_published_path of this Dataset.  # noqa: E501
        :rtype: str
        """
        return self._read_only_published_path

    @read_only_published_path.setter
    def read_only_published_path(self, read_only_published_path):
        """Sets the read_only_published_path of this Dataset.

        BDL read-only published path from the internal bucket of the datapool from which the dataset got published.  # noqa: E501

        :param read_only_published_path: The read_only_published_path of this Dataset.  # noqa: E501
        :type: str
        """

        self._read_only_published_path = read_only_published_path

    @property
    def status(self):
        """Gets the status of this Dataset.  # noqa: E501

        Status of the dataset.  # noqa: E501

        :return: The status of this Dataset.  # noqa: E501
        :rtype: str
        """
        return self._status

    @status.setter
    def status(self, status):
        """Sets the status of this Dataset.

        Status of the dataset.  # noqa: E501

        :param status: The status of this Dataset.  # noqa: E501
        :type: str
        """
        allowed_values = ["published", "publishing"]  # noqa: E501
        if status not in allowed_values:
            raise ValueError(
                "Invalid value for `status` ({0}), must be one of {1}"  # noqa: E501
                .format(status, allowed_values)
            )

        self._status = status

    @property
    def subscriber_emails(self):
        """Gets the subscriber_emails of this Dataset.  # noqa: E501

        List of e-mails of the users who subscribed to this dataset.  # noqa: E501

        :return: The subscriber_emails of this Dataset.  # noqa: E501
        :rtype: list[str]
        """
        return self._subscriber_emails

    @subscriber_emails.setter
    def subscriber_emails(self, subscriber_emails):
        """Sets the subscriber_emails of this Dataset.

        List of e-mails of the users who subscribed to this dataset.  # noqa: E501

        :param subscriber_emails: The subscriber_emails of this Dataset.  # noqa: E501
        :type: list[str]
        """

        self._subscriber_emails = subscriber_emails

    @property
    def tags(self):
        """Gets the tags of this Dataset.  # noqa: E501

        List of tags for the datasets.  # noqa: E501

        :return: The tags of this Dataset.  # noqa: E501
        :rtype: list[str]
        """
        return self._tags

    @tags.setter
    def tags(self, tags):
        """Sets the tags of this Dataset.

        List of tags for the datasets.  # noqa: E501

        :param tags: The tags of this Dataset.  # noqa: E501
        :type: list[str]
        """

        self._tags = tags

    @property
    def updated_timestamp(self):
        """Gets the updated_timestamp of this Dataset.  # noqa: E501

        The timestamp when the dataset got last time updated.  # noqa: E501

        :return: The updated_timestamp of this Dataset.  # noqa: E501
        :rtype: int
        """
        return self._updated_timestamp

    @updated_timestamp.setter
    def updated_timestamp(self, updated_timestamp):
        """Sets the updated_timestamp of this Dataset.

        The timestamp when the dataset got last time updated.  # noqa: E501

        :param updated_timestamp: The updated_timestamp of this Dataset.  # noqa: E501
        :type: int
        """

        self._updated_timestamp = updated_timestamp

    @property
    def version(self):
        """Gets the version of this Dataset.  # noqa: E501

        Version number of the dataset. It gets incremented when publisher overrides the existing dataset.  # noqa: E501

        :return: The version of this Dataset.  # noqa: E501
        :rtype: int
        """
        return self._version

    @version.setter
    def version(self, version):
        """Sets the version of this Dataset.

        Version number of the dataset. It gets incremented when publisher overrides the existing dataset.  # noqa: E501

        :param version: The version of this Dataset.  # noqa: E501
        :type: int
        """

        self._version = version

    @property
    def visibility(self):
        """Gets the visibility of this Dataset.  # noqa: E501

        Visibility mode of the dataset. Can be either public or for a specific datalake or organization.  # noqa: E501

        :return: The visibility of this Dataset.  # noqa: E501
        :rtype: str
        """
        return self._visibility

    @visibility.setter
    def visibility(self, visibility):
        """Sets the visibility of this Dataset.

        Visibility mode of the dataset. Can be either public or for a specific datalake or organization.  # noqa: E501

        :param visibility: The visibility of this Dataset.  # noqa: E501
        :type: str
        """

        self._visibility = visibility

    def to_dict(self):
        """Returns the model properties as a dict"""
        result = {}

        for attr, _ in six.iteritems(self.swagger_types):
            value = getattr(self, attr)
            if isinstance(value, list):
                result[attr] = list(map(
                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
                    value
                ))
            elif hasattr(value, "to_dict"):
                result[attr] = value.to_dict()
            elif isinstance(value, dict):
                result[attr] = dict(map(
                    lambda item: (item[0], item[1].to_dict())
                    if hasattr(item[1], "to_dict") else item,
                    value.items()
                ))
            else:
                result[attr] = value
        if issubclass(Dataset, dict):
            for key, value in self.items():
                result[key] = value

        return result

    def to_str(self):
        """Returns the string representation of the model"""
        return pprint.pformat(self.to_dict())

    def __repr__(self):
        """For `print` and `pprint`"""
        return self.to_str()

    def __eq__(self, other):
        """Returns true if both objects are equal"""
        if not isinstance(other, Dataset):
            return False

        return self.__dict__ == other.__dict__

    def __ne__(self, other):
        """Returns true if both objects are not equal"""
        return not self == other

Ancestors (in MRO)

Class variables

var attribute_map

var discriminator

var swagger_types

Static methods

def __init__(

self, base_object_relative_path=None, datalake_id=None, datapool_name=None, dataset_description=None, dataset_name=None, files=None, formats=None, price=None, publisher_email=None, publisher_id=None, read_only_published_path=None, status=None, subscriber_emails=None, tags=None, updated_timestamp=None, version=None, visibility=None)

Dataset - a model defined in Swagger

def __init__(self, base_object_relative_path=None, datalake_id=None, datapool_name=None, dataset_description=None, dataset_name=None, files=None, formats=None, price=None, publisher_email=None, publisher_id=None, read_only_published_path=None, status=None, subscriber_emails=None, tags=None, updated_timestamp=None, version=None, visibility=None):  # noqa: E501
    """Dataset - a model defined in Swagger"""  # noqa: E501
    self._base_object_relative_path = None
    self._datalake_id = None
    self._datapool_name = None
    self._dataset_description = None
    self._dataset_name = None
    self._files = None
    self._formats = None
    self._price = None
    self._publisher_email = None
    self._publisher_id = None
    self._read_only_published_path = None
    self._status = None
    self._subscriber_emails = None
    self._tags = None
    self._updated_timestamp = None
    self._version = None
    self._visibility = None
    if base_object_relative_path is not None:
        self.base_object_relative_path = base_object_relative_path
    if datalake_id is not None:
        self.datalake_id = datalake_id
    if datapool_name is not None:
        self.datapool_name = datapool_name
    if dataset_description is not None:
        self.dataset_description = dataset_description
    if dataset_name is not None:
        self.dataset_name = dataset_name
    if files is not None:
        self.files = files
    if formats is not None:
        self.formats = formats
    if price is not None:
        self.price = price
    if publisher_email is not None:
        self.publisher_email = publisher_email
    if publisher_id is not None:
        self.publisher_id = publisher_id
    if read_only_published_path is not None:
        self.read_only_published_path = read_only_published_path
    if status is not None:
        self.status = status
    if subscriber_emails is not None:
        self.subscriber_emails = subscriber_emails
    if tags is not None:
        self.tags = tags
    if updated_timestamp is not None:
        self.updated_timestamp = updated_timestamp
    if version is not None:
        self.version = version
    if visibility is not None:
        self.visibility = visibility

def to_dict(

self)

Returns the model properties as a dict

def to_dict(self):
    """Returns the model properties as a dict"""
    result = {}
    for attr, _ in six.iteritems(self.swagger_types):
        value = getattr(self, attr)
        if isinstance(value, list):
            result[attr] = list(map(
                lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
                value
            ))
        elif hasattr(value, "to_dict"):
            result[attr] = value.to_dict()
        elif isinstance(value, dict):
            result[attr] = dict(map(
                lambda item: (item[0], item[1].to_dict())
                if hasattr(item[1], "to_dict") else item,
                value.items()
            ))
        else:
            result[attr] = value
    if issubclass(Dataset, dict):
        for key, value in self.items():
            result[key] = value
    return result

def to_str(

self)

Returns the string representation of the model

def to_str(self):
    """Returns the string representation of the model"""
    return pprint.pformat(self.to_dict())

Instance variables

var base_object_relative_path

Gets the base_object_relative_path of this Dataset. # noqa: E501

The base object relative path of the dataset. It's the name of the folder or just the name of the file if the dataset contains only one file. # noqa: E501

:return: The base_object_relative_path of this Dataset. # noqa: E501 :rtype: str

var datalake_id

Gets the datalake_id of this Dataset. # noqa: E501

The ID of the datalake that contains the datapool. # noqa: E501

:return: The datalake_id of this Dataset. # noqa: E501 :rtype: int

var datapool_name

Gets the datapool_name of this Dataset. # noqa: E501

The name of the datapool from which the dataset was published. # noqa: E501

:return: The datapool_name of this Dataset. # noqa: E501 :rtype: str

var dataset_description

Gets the dataset_description of this Dataset. # noqa: E501

The dataset description set before publishing. # noqa: E501

:return: The dataset_description of this Dataset. # noqa: E501 :rtype: str

var dataset_name

Gets the dataset_name of this Dataset. # noqa: E501

The name of the dataset chosen by the publisher. It must be unique. # noqa: E501

:return: The dataset_name of this Dataset. # noqa: E501 :rtype: str

var files

Gets the files of this Dataset. # noqa: E501

List of all the files and their description and attachments this dataset has. # noqa: E501

:return: The files of this Dataset. # noqa: E501 :rtype: dict(str, ObjectInformation)

var formats

Gets the formats of this Dataset. # noqa: E501

List of formats regarding the types of the files inside the dataset. # noqa: E501

:return: The formats of this Dataset. # noqa: E501 :rtype: list[str]

var price

Gets the price of this Dataset. # noqa: E501

The price of the dataset that a user must pay in order to subscribe to it. # noqa: E501

:return: The price of this Dataset. # noqa: E501 :rtype: int

var publisher_email

Gets the publisher_email of this Dataset. # noqa: E501

E-mail of the publisher. # noqa: E501

:return: The publisher_email of this Dataset. # noqa: E501 :rtype: str

var publisher_id

Gets the publisher_id of this Dataset. # noqa: E501

User ID of the publisher. # noqa: E501

:return: The publisher_id of this Dataset. # noqa: E501 :rtype: int

var read_only_published_path

Gets the read_only_published_path of this Dataset. # noqa: E501

BDL read-only published path from the internal bucket of the datapool from which the dataset got published. # noqa: E501

:return: The read_only_published_path of this Dataset. # noqa: E501 :rtype: str

var status

Gets the status of this Dataset. # noqa: E501

Status of the dataset. # noqa: E501

:return: The status of this Dataset. # noqa: E501 :rtype: str

var subscriber_emails

Gets the subscriber_emails of this Dataset. # noqa: E501

List of e-mails of the users who subscribed to this dataset. # noqa: E501

:return: The subscriber_emails of this Dataset. # noqa: E501 :rtype: list[str]

var tags

Gets the tags of this Dataset. # noqa: E501

List of tags for the datasets. # noqa: E501

:return: The tags of this Dataset. # noqa: E501 :rtype: list[str]

var updated_timestamp

Gets the updated_timestamp of this Dataset. # noqa: E501

The timestamp when the dataset got last time updated. # noqa: E501

:return: The updated_timestamp of this Dataset. # noqa: E501 :rtype: int

var version

Gets the version of this Dataset. # noqa: E501

Version number of the dataset. It gets incremented when publisher overrides the existing dataset. # noqa: E501

:return: The version of this Dataset. # noqa: E501 :rtype: int

var visibility

Gets the visibility of this Dataset. # noqa: E501

Visibility mode of the dataset. Can be either public or for a specific datalake or organization. # noqa: E501

:return: The visibility of this Dataset. # noqa: E501 :rtype: str