# coding: utf-8

from __future__ import absolute_import
from datetime import date, datetime  # noqa: F401

from typing import List, Dict  # noqa: F401

from data_explorer.models.base_model_ import Model
from data_explorer import util


class DatasetResponse(Model):
    """NOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    """
    def __init__(self,
                 name=None,
                 search_placeholder_text=None,
                 time_series_unit=None):  # noqa: E501
        """DatasetResponse - a model defined in Swagger

        :param name: The name of this DatasetResponse.  # noqa: E501
        :type name: str
        :param search_placeholder_text: The search_placeholder_text of this DatasetResponse.  # noqa: E501
        :type search_placeholder_text: str
        :param time_series_unit: The time_series_unit of this DatasetResponse.  # noqa: E501
        :type time_series_unit: str
        """
        self.swagger_types = {
            'name': str,
            'search_placeholder_text': str,
            'time_series_unit': str
        }

        self.attribute_map = {
            'name': 'name',
            'search_placeholder_text': 'search_placeholder_text',
            'time_series_unit': 'time_series_unit'
        }

        self._name = name
        self._search_placeholder_text = search_placeholder_text
        self._time_series_unit = time_series_unit

    @classmethod
    def from_dict(cls, dikt):
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The DatasetResponse of this DatasetResponse.  # noqa: E501
        :rtype: DatasetResponse
        """
        return util.deserialize_model(dikt, cls)

    @property
    def name(self):
        """Gets the name of this DatasetResponse.


        :return: The name of this DatasetResponse.
        :rtype: str
        """
        return self._name

    @name.setter
    def name(self, name):
        """Sets the name of this DatasetResponse.


        :param name: The name of this DatasetResponse.
        :type name: str
        """

        self._name = name

    @property
    def search_placeholder_text(self):
        """Gets the search_placeholder_text of this DatasetResponse.

        Optional. What to show in the search box by default  # noqa: E501

        :return: The search_placeholder_text of this DatasetResponse.
        :rtype: str
        """
        return self._search_placeholder_text

    @search_placeholder_text.setter
    def search_placeholder_text(self, search_placeholder_text):
        """Sets the search_placeholder_text of this DatasetResponse.

        Optional. What to show in the search box by default  # noqa: E501

        :param search_placeholder_text: The search_placeholder_text of this DatasetResponse.
        :type search_placeholder_text: str
        """

        self._search_placeholder_text = search_placeholder_text

    @property
    def time_series_unit(self):
        """Gets the time_series_unit of this DatasetResponse.

        If time_series_column in bigquery.json is set, this must be set. This is used to label the time axis -- eg Month or Year.   # noqa: E501

        :return: The time_series_unit of this DatasetResponse.
        :rtype: str
        """
        return self._time_series_unit

    @time_series_unit.setter
    def time_series_unit(self, time_series_unit):
        """Sets the time_series_unit of this DatasetResponse.

        If time_series_column in bigquery.json is set, this must be set. This is used to label the time axis -- eg Month or Year.   # noqa: E501

        :param time_series_unit: The time_series_unit of this DatasetResponse.
        :type time_series_unit: str
        """

        self._time_series_unit = time_series_unit

# coding: utf-8

from __future__ import absolute_import
from datetime import date, datetime  # noqa: F401

from typing import List, Dict  # noqa: F401

from data_explorer.models.base_model_ import Model
from data_explorer import util


class DatasetResponse(Model):
    """NOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    """
    def __init__(self,
                 name=None,
                 search_placeholder_text=None,
                 time_series_unit=None):  # noqa: E501
        """DatasetResponse - a model defined in Swagger

        :param name: The name of this DatasetResponse.  # noqa: E501
        :type name: str
        :param search_placeholder_text: The search_placeholder_text of this DatasetResponse.  # noqa: E501
        :type search_placeholder_text: str
        :param time_series_unit: The time_series_unit of this DatasetResponse.  # noqa: E501
        :type time_series_unit: str
        """
        self.swagger_types = {
            'name': str,
            'search_placeholder_text': str,
            'time_series_unit': str
        }

        self.attribute_map = {
            'name': 'name',
            'search_placeholder_text': 'search_placeholder_text',
            'time_series_unit': 'time_series_unit'
        }

        self._name = name
        self._search_placeholder_text = search_placeholder_text
        self._time_series_unit = time_series_unit

    @classmethod
    def from_dict(cls, dikt):
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The DatasetResponse of this DatasetResponse.  # noqa: E501
        :rtype: DatasetResponse
        """
        return util.deserialize_model(dikt, cls)

    @property
    def name(self):
        """Gets the name of this DatasetResponse.


        :return: The name of this DatasetResponse.
        :rtype: str
        """
        return self._name

    @name.setter
    def name(self, name):
        """Sets the name of this DatasetResponse.


        :param name: The name of this DatasetResponse.
        :type name: str
        """

        self._name = name

    @property
    def search_placeholder_text(self):
        """Gets the search_placeholder_text of this DatasetResponse.

        Optional. What to show in the search box by default  # noqa: E501

        :return: The search_placeholder_text of this DatasetResponse.
        :rtype: str
        """
        return self._search_placeholder_text

    @search_placeholder_text.setter
    def search_placeholder_text(self, search_placeholder_text):
        """Sets the search_placeholder_text of this DatasetResponse.

        Optional. What to show in the search box by default  # noqa: E501

        :param search_placeholder_text: The search_placeholder_text of this DatasetResponse.
        :type search_placeholder_text: str
        """

        self._search_placeholder_text = search_placeholder_text

    @property
    def time_series_unit(self):
        """Gets the time_series_unit of this DatasetResponse.

        If time_series_column in bigquery.json is set, this must be set. This is used to label the time axis -- eg Month or Year.   # noqa: E501

        :return: The time_series_unit of this DatasetResponse.
        :rtype: str
        """
        return self._time_series_unit

    @time_series_unit.setter
    def time_series_unit(self, time_series_unit):
        """Sets the time_series_unit of this DatasetResponse.

        If time_series_column in bigquery.json is set, this must be set. This is used to label the time axis -- eg Month or Year.   # noqa: E501

        :param time_series_unit: The time_series_unit of this DatasetResponse.
        :type time_series_unit: str
        """

        self._time_series_unit = time_series_unit

# coding: utf-8 # noqa: F401 # noqa: F401 NOTE: This class is auto generated by the swagger code generator program.      Do not edit the class manually. # noqa: E501 DatasetResponse - a model defined in Swagger          :param name: The name of this DatasetResponse.  # noqa: E501         :type name: str         :param search_placeholder_text: The search_placeholder_text of this DatasetResponse.  # noqa: E501         :type search_placeholder_text: str         :param time_series_unit: The time_series_unit of this DatasetResponse.  # noqa: E501         :type time_series_unit: str Returns the dict as a model          :param dikt: A dict.         :type: dict         :return: The DatasetResponse of this DatasetResponse.  # noqa: E501         :rtype: DatasetResponse Gets the name of this DatasetResponse.           :return: The name of this DatasetResponse.         :rtype: str Sets the name of this DatasetResponse.           :param name: The name of this DatasetResponse.         :type name: str Gets the search_placeholder_text of this DatasetResponse.          Optional. What to show in the search box by default  # noqa: E501          :return: The search_placeholder_text of this DatasetResponse.         :rtype: str Sets the search_placeholder_text of this DatasetResponse.          Optional. What to show in the search box by default  # noqa: E501          :param search_placeholder_text: The search_placeholder_text of this DatasetResponse.         :type search_placeholder_text: str Gets the time_series_unit of this DatasetResponse.          If time_series_column in bigquery.json is set, this must be set. This is used to label the time axis -- eg Month or Year.   # noqa: E501          :return: The time_series_unit of this DatasetResponse.         :rtype: str Sets the time_series_unit of this DatasetResponse.          If time_series_column in bigquery.json is set, this must be set. This is used to label the time axis -- eg Month or Year.   # noqa: E501          :param time_series_unit: The time_series_unit of this DatasetResponse.         :type time_series_unit: str