# coding: utf-8

"""
    acep

    No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)  # noqa: E501

    OpenAPI spec version: common-version
    
    Generated by: https://github.com/swagger-api/swagger-codegen.git
"""


import pprint
import re  # noqa: F401

import six

from volcenginesdkcore.configuration import Configuration


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

    Do not edit the class manually.
    """

    """
    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 = {
        'phone_template_id': 'str',
        'pod_id': 'str',
        'pod_id_list': 'list[str]',
        'pod_persist_properties': 'list[PodPersistPropertyForUpdatePodPropertyInput]',
        'pod_properties': 'list[PodPropertyForUpdatePodPropertyInput]',
        'pod_settings': 'list[PodSettingForUpdatePodPropertyInput]',
        'product_id': 'str'
    }

    attribute_map = {
        'phone_template_id': 'PhoneTemplateId',
        'pod_id': 'PodId',
        'pod_id_list': 'PodIdList',
        'pod_persist_properties': 'PodPersistProperties',
        'pod_properties': 'PodProperties',
        'pod_settings': 'PodSettings',
        'product_id': 'ProductId'
    }

    def __init__(self, phone_template_id=None, pod_id=None, pod_id_list=None, pod_persist_properties=None, pod_properties=None, pod_settings=None, product_id=None, _configuration=None):  # noqa: E501
        """UpdatePodPropertyRequest - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._phone_template_id = None
        self._pod_id = None
        self._pod_id_list = None
        self._pod_persist_properties = None
        self._pod_properties = None
        self._pod_settings = None
        self._product_id = None
        self.discriminator = None

        if phone_template_id is not None:
            self.phone_template_id = phone_template_id
        if pod_id is not None:
            self.pod_id = pod_id
        if pod_id_list is not None:
            self.pod_id_list = pod_id_list
        if pod_persist_properties is not None:
            self.pod_persist_properties = pod_persist_properties
        if pod_properties is not None:
            self.pod_properties = pod_properties
        if pod_settings is not None:
            self.pod_settings = pod_settings
        self.product_id = product_id

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


        :return: The phone_template_id of this UpdatePodPropertyRequest.  # noqa: E501
        :rtype: str
        """
        return self._phone_template_id

    @phone_template_id.setter
    def phone_template_id(self, phone_template_id):
        """Sets the phone_template_id of this UpdatePodPropertyRequest.


        :param phone_template_id: The phone_template_id of this UpdatePodPropertyRequest.  # noqa: E501
        :type: str
        """

        self._phone_template_id = phone_template_id

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


        :return: The pod_id of this UpdatePodPropertyRequest.  # noqa: E501
        :rtype: str
        """
        return self._pod_id

    @pod_id.setter
    def pod_id(self, pod_id):
        """Sets the pod_id of this UpdatePodPropertyRequest.


        :param pod_id: The pod_id of this UpdatePodPropertyRequest.  # noqa: E501
        :type: str
        """

        self._pod_id = pod_id

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


        :return: The pod_id_list of this UpdatePodPropertyRequest.  # noqa: E501
        :rtype: list[str]
        """
        return self._pod_id_list

    @pod_id_list.setter
    def pod_id_list(self, pod_id_list):
        """Sets the pod_id_list of this UpdatePodPropertyRequest.


        :param pod_id_list: The pod_id_list of this UpdatePodPropertyRequest.  # noqa: E501
        :type: list[str]
        """

        self._pod_id_list = pod_id_list

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


        :return: The pod_persist_properties of this UpdatePodPropertyRequest.  # noqa: E501
        :rtype: list[PodPersistPropertyForUpdatePodPropertyInput]
        """
        return self._pod_persist_properties

    @pod_persist_properties.setter
    def pod_persist_properties(self, pod_persist_properties):
        """Sets the pod_persist_properties of this UpdatePodPropertyRequest.


        :param pod_persist_properties: The pod_persist_properties of this UpdatePodPropertyRequest.  # noqa: E501
        :type: list[PodPersistPropertyForUpdatePodPropertyInput]
        """

        self._pod_persist_properties = pod_persist_properties

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


        :return: The pod_properties of this UpdatePodPropertyRequest.  # noqa: E501
        :rtype: list[PodPropertyForUpdatePodPropertyInput]
        """
        return self._pod_properties

    @pod_properties.setter
    def pod_properties(self, pod_properties):
        """Sets the pod_properties of this UpdatePodPropertyRequest.


        :param pod_properties: The pod_properties of this UpdatePodPropertyRequest.  # noqa: E501
        :type: list[PodPropertyForUpdatePodPropertyInput]
        """

        self._pod_properties = pod_properties

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


        :return: The pod_settings of this UpdatePodPropertyRequest.  # noqa: E501
        :rtype: list[PodSettingForUpdatePodPropertyInput]
        """
        return self._pod_settings

    @pod_settings.setter
    def pod_settings(self, pod_settings):
        """Sets the pod_settings of this UpdatePodPropertyRequest.


        :param pod_settings: The pod_settings of this UpdatePodPropertyRequest.  # noqa: E501
        :type: list[PodSettingForUpdatePodPropertyInput]
        """

        self._pod_settings = pod_settings

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


        :return: The product_id of this UpdatePodPropertyRequest.  # noqa: E501
        :rtype: str
        """
        return self._product_id

    @product_id.setter
    def product_id(self, product_id):
        """Sets the product_id of this UpdatePodPropertyRequest.


        :param product_id: The product_id of this UpdatePodPropertyRequest.  # noqa: E501
        :type: str
        """
        if self._configuration.client_side_validation and product_id is None:
            raise ValueError("Invalid value for `product_id`, must not be `None`")  # noqa: E501

        self._product_id = product_id

    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(UpdatePodPropertyRequest, 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, UpdatePodPropertyRequest):
            return False

        return self.to_dict() == other.to_dict()

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

        return self.to_dict() != other.to_dict()
