# 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 UpdatePodRequest(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 = {
        'configuration_code': 'str',
        'dnsid': 'str',
        'data_size': 'str',
        'display_layout_id': 'str',
        'down_bandwidth_limit': 'int',
        'force': 'bool',
        'image_id': 'str',
        'is_selinux_on': 'bool',
        'pod_id': 'str',
        'pod_id_list': 'list[str]',
        'pod_name': 'str',
        'port_mapping_rule_id_list': 'list[str]',
        'product_id': 'str',
        'up_bandwidth_limit': 'int'
    }

    attribute_map = {
        'configuration_code': 'ConfigurationCode',
        'dnsid': 'DNSId',
        'data_size': 'DataSize',
        'display_layout_id': 'DisplayLayoutId',
        'down_bandwidth_limit': 'DownBandwidthLimit',
        'force': 'Force',
        'image_id': 'ImageId',
        'is_selinux_on': 'IsSelinuxOn',
        'pod_id': 'PodId',
        'pod_id_list': 'PodIdList',
        'pod_name': 'PodName',
        'port_mapping_rule_id_list': 'PortMappingRuleIdList',
        'product_id': 'ProductId',
        'up_bandwidth_limit': 'UpBandwidthLimit'
    }

    def __init__(self, configuration_code=None, dnsid=None, data_size=None, display_layout_id=None, down_bandwidth_limit=None, force=None, image_id=None, is_selinux_on=None, pod_id=None, pod_id_list=None, pod_name=None, port_mapping_rule_id_list=None, product_id=None, up_bandwidth_limit=None, _configuration=None):  # noqa: E501
        """UpdatePodRequest - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._configuration_code = None
        self._dnsid = None
        self._data_size = None
        self._display_layout_id = None
        self._down_bandwidth_limit = None
        self._force = None
        self._image_id = None
        self._is_selinux_on = None
        self._pod_id = None
        self._pod_id_list = None
        self._pod_name = None
        self._port_mapping_rule_id_list = None
        self._product_id = None
        self._up_bandwidth_limit = None
        self.discriminator = None

        if configuration_code is not None:
            self.configuration_code = configuration_code
        if dnsid is not None:
            self.dnsid = dnsid
        if data_size is not None:
            self.data_size = data_size
        if display_layout_id is not None:
            self.display_layout_id = display_layout_id
        if down_bandwidth_limit is not None:
            self.down_bandwidth_limit = down_bandwidth_limit
        if force is not None:
            self.force = force
        if image_id is not None:
            self.image_id = image_id
        if is_selinux_on is not None:
            self.is_selinux_on = is_selinux_on
        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_name is not None:
            self.pod_name = pod_name
        if port_mapping_rule_id_list is not None:
            self.port_mapping_rule_id_list = port_mapping_rule_id_list
        self.product_id = product_id
        if up_bandwidth_limit is not None:
            self.up_bandwidth_limit = up_bandwidth_limit

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


        :return: The configuration_code of this UpdatePodRequest.  # noqa: E501
        :rtype: str
        """
        return self._configuration_code

    @configuration_code.setter
    def configuration_code(self, configuration_code):
        """Sets the configuration_code of this UpdatePodRequest.


        :param configuration_code: The configuration_code of this UpdatePodRequest.  # noqa: E501
        :type: str
        """

        self._configuration_code = configuration_code

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


        :return: The dnsid of this UpdatePodRequest.  # noqa: E501
        :rtype: str
        """
        return self._dnsid

    @dnsid.setter
    def dnsid(self, dnsid):
        """Sets the dnsid of this UpdatePodRequest.


        :param dnsid: The dnsid of this UpdatePodRequest.  # noqa: E501
        :type: str
        """

        self._dnsid = dnsid

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


        :return: The data_size of this UpdatePodRequest.  # noqa: E501
        :rtype: str
        """
        return self._data_size

    @data_size.setter
    def data_size(self, data_size):
        """Sets the data_size of this UpdatePodRequest.


        :param data_size: The data_size of this UpdatePodRequest.  # noqa: E501
        :type: str
        """

        self._data_size = data_size

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


        :return: The display_layout_id of this UpdatePodRequest.  # noqa: E501
        :rtype: str
        """
        return self._display_layout_id

    @display_layout_id.setter
    def display_layout_id(self, display_layout_id):
        """Sets the display_layout_id of this UpdatePodRequest.


        :param display_layout_id: The display_layout_id of this UpdatePodRequest.  # noqa: E501
        :type: str
        """

        self._display_layout_id = display_layout_id

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


        :return: The down_bandwidth_limit of this UpdatePodRequest.  # noqa: E501
        :rtype: int
        """
        return self._down_bandwidth_limit

    @down_bandwidth_limit.setter
    def down_bandwidth_limit(self, down_bandwidth_limit):
        """Sets the down_bandwidth_limit of this UpdatePodRequest.


        :param down_bandwidth_limit: The down_bandwidth_limit of this UpdatePodRequest.  # noqa: E501
        :type: int
        """

        self._down_bandwidth_limit = down_bandwidth_limit

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


        :return: The force of this UpdatePodRequest.  # noqa: E501
        :rtype: bool
        """
        return self._force

    @force.setter
    def force(self, force):
        """Sets the force of this UpdatePodRequest.


        :param force: The force of this UpdatePodRequest.  # noqa: E501
        :type: bool
        """

        self._force = force

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


        :return: The image_id of this UpdatePodRequest.  # noqa: E501
        :rtype: str
        """
        return self._image_id

    @image_id.setter
    def image_id(self, image_id):
        """Sets the image_id of this UpdatePodRequest.


        :param image_id: The image_id of this UpdatePodRequest.  # noqa: E501
        :type: str
        """

        self._image_id = image_id

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


        :return: The is_selinux_on of this UpdatePodRequest.  # noqa: E501
        :rtype: bool
        """
        return self._is_selinux_on

    @is_selinux_on.setter
    def is_selinux_on(self, is_selinux_on):
        """Sets the is_selinux_on of this UpdatePodRequest.


        :param is_selinux_on: The is_selinux_on of this UpdatePodRequest.  # noqa: E501
        :type: bool
        """

        self._is_selinux_on = is_selinux_on

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


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

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


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

        self._pod_id = pod_id

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


        :return: The pod_id_list of this UpdatePodRequest.  # 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 UpdatePodRequest.


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

        self._pod_id_list = pod_id_list

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


        :return: The pod_name of this UpdatePodRequest.  # noqa: E501
        :rtype: str
        """
        return self._pod_name

    @pod_name.setter
    def pod_name(self, pod_name):
        """Sets the pod_name of this UpdatePodRequest.


        :param pod_name: The pod_name of this UpdatePodRequest.  # noqa: E501
        :type: str
        """

        self._pod_name = pod_name

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


        :return: The port_mapping_rule_id_list of this UpdatePodRequest.  # noqa: E501
        :rtype: list[str]
        """
        return self._port_mapping_rule_id_list

    @port_mapping_rule_id_list.setter
    def port_mapping_rule_id_list(self, port_mapping_rule_id_list):
        """Sets the port_mapping_rule_id_list of this UpdatePodRequest.


        :param port_mapping_rule_id_list: The port_mapping_rule_id_list of this UpdatePodRequest.  # noqa: E501
        :type: list[str]
        """

        self._port_mapping_rule_id_list = port_mapping_rule_id_list

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


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

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


        :param product_id: The product_id of this UpdatePodRequest.  # 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

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


        :return: The up_bandwidth_limit of this UpdatePodRequest.  # noqa: E501
        :rtype: int
        """
        return self._up_bandwidth_limit

    @up_bandwidth_limit.setter
    def up_bandwidth_limit(self, up_bandwidth_limit):
        """Sets the up_bandwidth_limit of this UpdatePodRequest.


        :param up_bandwidth_limit: The up_bandwidth_limit of this UpdatePodRequest.  # noqa: E501
        :type: int
        """

        self._up_bandwidth_limit = up_bandwidth_limit

    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(UpdatePodRequest, 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, UpdatePodRequest):
            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, UpdatePodRequest):
            return True

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