# coding: utf-8
try:
    from inspect import getfullargspec
except ImportError:
    from inspect import getargspec as getfullargspec
import pprint
import re  # noqa: F401
import six

from aoc.configuration import Configuration


class IscsiLunCreationParams(object):
    """NOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    """

    """
    Attributes:
      openapi_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.
    """
    openapi_types = {
        'ec_m': 'float',
        'ec_k': 'float',
        'resiliency_type': 'ResiliencyType',
        'thin_provision': 'bool',
        'lun_id': 'int',
        'assigned_size_unit': 'ByteUnit',
        'assigned_size': 'int',
        'replica_num': 'int',
        'iscsi_target_id': 'str',
        'name': 'str',
        'business_host_is_same_with_parent': 'bool',
        'configuration_method': 'ConfigurationMethod',
        'encrypt_method': 'EncryptMethod',
        'prioritized': 'bool',
        'bps_wr_max_length': 'int',
        'bps_wr_max_unit': 'BPSUnit',
        'bps_wr_max': 'int',
        'bps_rd_max_length': 'int',
        'bps_rd_max_unit': 'BPSUnit',
        'bps_rd_max': 'int',
        'bps_max_length': 'int',
        'bps_max_unit': 'BPSUnit',
        'bps_max': 'int',
        'iops_wr_max_length': 'int',
        'iops_wr_max': 'int',
        'iops_rd_max_length': 'int',
        'iops_rd_max': 'int',
        'iops_max_length': 'int',
        'iops_max': 'int',
        'bps_wr_unit': 'BPSUnit',
        'bps_wr': 'int',
        'bps_rd_unit': 'BPSUnit',
        'bps_rd': 'int',
        'bps_unit': 'BPSUnit',
        'bps': 'int',
        'iops_wr': 'int',
        'iops_rd': 'int',
        'iops': 'int',
        'allowed_initiators': 'str'
    }

    attribute_map = {
        'ec_m': 'ec_m',
        'ec_k': 'ec_k',
        'resiliency_type': 'resiliency_type',
        'thin_provision': 'thin_provision',
        'lun_id': 'lun_id',
        'assigned_size_unit': 'assigned_size_unit',
        'assigned_size': 'assigned_size',
        'replica_num': 'replica_num',
        'iscsi_target_id': 'iscsi_target_id',
        'name': 'name',
        'business_host_is_same_with_parent': 'business_host_is_same_with_parent',
        'configuration_method': 'configuration_method',
        'encrypt_method': 'encrypt_method',
        'prioritized': 'prioritized',
        'bps_wr_max_length': 'bps_wr_max_length',
        'bps_wr_max_unit': 'bps_wr_max_unit',
        'bps_wr_max': 'bps_wr_max',
        'bps_rd_max_length': 'bps_rd_max_length',
        'bps_rd_max_unit': 'bps_rd_max_unit',
        'bps_rd_max': 'bps_rd_max',
        'bps_max_length': 'bps_max_length',
        'bps_max_unit': 'bps_max_unit',
        'bps_max': 'bps_max',
        'iops_wr_max_length': 'iops_wr_max_length',
        'iops_wr_max': 'iops_wr_max',
        'iops_rd_max_length': 'iops_rd_max_length',
        'iops_rd_max': 'iops_rd_max',
        'iops_max_length': 'iops_max_length',
        'iops_max': 'iops_max',
        'bps_wr_unit': 'bps_wr_unit',
        'bps_wr': 'bps_wr',
        'bps_rd_unit': 'bps_rd_unit',
        'bps_rd': 'bps_rd',
        'bps_unit': 'bps_unit',
        'bps': 'bps',
        'iops_wr': 'iops_wr',
        'iops_rd': 'iops_rd',
        'iops': 'iops',
        'allowed_initiators': 'allowed_initiators'
    }

    def __init__(self, **kwargs):  # noqa: E501
        """IscsiLunCreationParams - a model defined in OpenAPI"""  # noqa: E501
        self.local_vars_configuration = kwargs.get("local_vars_configuration", Configuration.get_default_copy())

        self._ec_m = None
        self._ec_k = None
        self._resiliency_type = None
        self._thin_provision = None
        self._lun_id = None
        self._assigned_size_unit = None
        self._assigned_size = None
        self._replica_num = None
        self._iscsi_target_id = None
        self._name = None
        self._business_host_is_same_with_parent = None
        self._configuration_method = None
        self._encrypt_method = None
        self._prioritized = None
        self._bps_wr_max_length = None
        self._bps_wr_max_unit = None
        self._bps_wr_max = None
        self._bps_rd_max_length = None
        self._bps_rd_max_unit = None
        self._bps_rd_max = None
        self._bps_max_length = None
        self._bps_max_unit = None
        self._bps_max = None
        self._iops_wr_max_length = None
        self._iops_wr_max = None
        self._iops_rd_max_length = None
        self._iops_rd_max = None
        self._iops_max_length = None
        self._iops_max = None
        self._bps_wr_unit = None
        self._bps_wr = None
        self._bps_rd_unit = None
        self._bps_rd = None
        self._bps_unit = None
        self._bps = None
        self._iops_wr = None
        self._iops_rd = None
        self._iops = None
        self._allowed_initiators = None
        self.discriminator = None

        if "ec_m" in kwargs:
            self.ec_m = kwargs["ec_m"]
        if "ec_k" in kwargs:
            self.ec_k = kwargs["ec_k"]
        if "resiliency_type" in kwargs:
            self.resiliency_type = kwargs["resiliency_type"]
        if "thin_provision" in kwargs:
            self.thin_provision = kwargs["thin_provision"]
        if "lun_id" in kwargs:
            self.lun_id = kwargs["lun_id"]
        if "assigned_size_unit" in kwargs:
            self.assigned_size_unit = kwargs["assigned_size_unit"]
        if "assigned_size" in kwargs:
            self.assigned_size = kwargs["assigned_size"]
        if "replica_num" in kwargs:
            self.replica_num = kwargs["replica_num"]
        if "iscsi_target_id" in kwargs:
            self.iscsi_target_id = kwargs["iscsi_target_id"]
        if "name" in kwargs:
            self.name = kwargs["name"]
        if "business_host_is_same_with_parent" in kwargs:
            self.business_host_is_same_with_parent = kwargs["business_host_is_same_with_parent"]
        if "configuration_method" in kwargs:
            self.configuration_method = kwargs["configuration_method"]
        if "encrypt_method" in kwargs:
            self.encrypt_method = kwargs["encrypt_method"]
        if "prioritized" in kwargs:
            self.prioritized = kwargs["prioritized"]
        if "bps_wr_max_length" in kwargs:
            self.bps_wr_max_length = kwargs["bps_wr_max_length"]
        if "bps_wr_max_unit" in kwargs:
            self.bps_wr_max_unit = kwargs["bps_wr_max_unit"]
        if "bps_wr_max" in kwargs:
            self.bps_wr_max = kwargs["bps_wr_max"]
        if "bps_rd_max_length" in kwargs:
            self.bps_rd_max_length = kwargs["bps_rd_max_length"]
        if "bps_rd_max_unit" in kwargs:
            self.bps_rd_max_unit = kwargs["bps_rd_max_unit"]
        if "bps_rd_max" in kwargs:
            self.bps_rd_max = kwargs["bps_rd_max"]
        if "bps_max_length" in kwargs:
            self.bps_max_length = kwargs["bps_max_length"]
        if "bps_max_unit" in kwargs:
            self.bps_max_unit = kwargs["bps_max_unit"]
        if "bps_max" in kwargs:
            self.bps_max = kwargs["bps_max"]
        if "iops_wr_max_length" in kwargs:
            self.iops_wr_max_length = kwargs["iops_wr_max_length"]
        if "iops_wr_max" in kwargs:
            self.iops_wr_max = kwargs["iops_wr_max"]
        if "iops_rd_max_length" in kwargs:
            self.iops_rd_max_length = kwargs["iops_rd_max_length"]
        if "iops_rd_max" in kwargs:
            self.iops_rd_max = kwargs["iops_rd_max"]
        if "iops_max_length" in kwargs:
            self.iops_max_length = kwargs["iops_max_length"]
        if "iops_max" in kwargs:
            self.iops_max = kwargs["iops_max"]
        if "bps_wr_unit" in kwargs:
            self.bps_wr_unit = kwargs["bps_wr_unit"]
        if "bps_wr" in kwargs:
            self.bps_wr = kwargs["bps_wr"]
        if "bps_rd_unit" in kwargs:
            self.bps_rd_unit = kwargs["bps_rd_unit"]
        if "bps_rd" in kwargs:
            self.bps_rd = kwargs["bps_rd"]
        if "bps_unit" in kwargs:
            self.bps_unit = kwargs["bps_unit"]
        if "bps" in kwargs:
            self.bps = kwargs["bps"]
        if "iops_wr" in kwargs:
            self.iops_wr = kwargs["iops_wr"]
        if "iops_rd" in kwargs:
            self.iops_rd = kwargs["iops_rd"]
        if "iops" in kwargs:
            self.iops = kwargs["iops"]
        if "allowed_initiators" in kwargs:
            self.allowed_initiators = kwargs["allowed_initiators"]

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


        :return: The ec_m of this IscsiLunCreationParams.  # noqa: E501
        :rtype: float
        """
        return self._ec_m

    @ec_m.setter
    def ec_m(self, ec_m):
        """Sets the ec_m of this IscsiLunCreationParams.


        :param ec_m: The ec_m of this IscsiLunCreationParams.  # noqa: E501
        :type ec_m: float
        """

        self._ec_m = ec_m

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


        :return: The ec_k of this IscsiLunCreationParams.  # noqa: E501
        :rtype: float
        """
        return self._ec_k

    @ec_k.setter
    def ec_k(self, ec_k):
        """Sets the ec_k of this IscsiLunCreationParams.


        :param ec_k: The ec_k of this IscsiLunCreationParams.  # noqa: E501
        :type ec_k: float
        """

        self._ec_k = ec_k

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


        :return: The resiliency_type of this IscsiLunCreationParams.  # noqa: E501
        :rtype: ResiliencyType
        """
        return self._resiliency_type

    @resiliency_type.setter
    def resiliency_type(self, resiliency_type):
        """Sets the resiliency_type of this IscsiLunCreationParams.


        :param resiliency_type: The resiliency_type of this IscsiLunCreationParams.  # noqa: E501
        :type resiliency_type: ResiliencyType
        """

        self._resiliency_type = resiliency_type

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


        :return: The thin_provision of this IscsiLunCreationParams.  # noqa: E501
        :rtype: bool
        """
        return self._thin_provision

    @thin_provision.setter
    def thin_provision(self, thin_provision):
        """Sets the thin_provision of this IscsiLunCreationParams.


        :param thin_provision: The thin_provision of this IscsiLunCreationParams.  # noqa: E501
        :type thin_provision: bool
        """

        self._thin_provision = thin_provision

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


        :return: The lun_id of this IscsiLunCreationParams.  # noqa: E501
        :rtype: int
        """
        return self._lun_id

    @lun_id.setter
    def lun_id(self, lun_id):
        """Sets the lun_id of this IscsiLunCreationParams.


        :param lun_id: The lun_id of this IscsiLunCreationParams.  # noqa: E501
        :type lun_id: int
        """

        self._lun_id = lun_id

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


        :return: The assigned_size_unit of this IscsiLunCreationParams.  # noqa: E501
        :rtype: ByteUnit
        """
        return self._assigned_size_unit

    @assigned_size_unit.setter
    def assigned_size_unit(self, assigned_size_unit):
        """Sets the assigned_size_unit of this IscsiLunCreationParams.


        :param assigned_size_unit: The assigned_size_unit of this IscsiLunCreationParams.  # noqa: E501
        :type assigned_size_unit: ByteUnit
        """

        self._assigned_size_unit = assigned_size_unit

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


        :return: The assigned_size of this IscsiLunCreationParams.  # noqa: E501
        :rtype: int
        """
        return self._assigned_size

    @assigned_size.setter
    def assigned_size(self, assigned_size):
        """Sets the assigned_size of this IscsiLunCreationParams.


        :param assigned_size: The assigned_size of this IscsiLunCreationParams.  # noqa: E501
        :type assigned_size: int
        """
        if self.local_vars_configuration.client_side_validation and assigned_size is None:  # noqa: E501
            raise ValueError("Invalid value for `assigned_size`, must not be `None`")  # noqa: E501

        self._assigned_size = assigned_size

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


        :return: The replica_num of this IscsiLunCreationParams.  # noqa: E501
        :rtype: int
        """
        return self._replica_num

    @replica_num.setter
    def replica_num(self, replica_num):
        """Sets the replica_num of this IscsiLunCreationParams.


        :param replica_num: The replica_num of this IscsiLunCreationParams.  # noqa: E501
        :type replica_num: int
        """
        if self.local_vars_configuration.client_side_validation and replica_num is None:  # noqa: E501
            raise ValueError("Invalid value for `replica_num`, must not be `None`")  # noqa: E501

        self._replica_num = replica_num

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


        :return: The iscsi_target_id of this IscsiLunCreationParams.  # noqa: E501
        :rtype: str
        """
        return self._iscsi_target_id

    @iscsi_target_id.setter
    def iscsi_target_id(self, iscsi_target_id):
        """Sets the iscsi_target_id of this IscsiLunCreationParams.


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

        self._iscsi_target_id = iscsi_target_id

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


        :return: The name of this IscsiLunCreationParams.  # noqa: E501
        :rtype: str
        """
        return self._name

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


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

        self._name = name

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


        :return: The business_host_is_same_with_parent of this IscsiLunCreationParams.  # noqa: E501
        :rtype: bool
        """
        return self._business_host_is_same_with_parent

    @business_host_is_same_with_parent.setter
    def business_host_is_same_with_parent(self, business_host_is_same_with_parent):
        """Sets the business_host_is_same_with_parent of this IscsiLunCreationParams.


        :param business_host_is_same_with_parent: The business_host_is_same_with_parent of this IscsiLunCreationParams.  # noqa: E501
        :type business_host_is_same_with_parent: bool
        """

        self._business_host_is_same_with_parent = business_host_is_same_with_parent

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


        :return: The configuration_method of this IscsiLunCreationParams.  # noqa: E501
        :rtype: ConfigurationMethod
        """
        return self._configuration_method

    @configuration_method.setter
    def configuration_method(self, configuration_method):
        """Sets the configuration_method of this IscsiLunCreationParams.


        :param configuration_method: The configuration_method of this IscsiLunCreationParams.  # noqa: E501
        :type configuration_method: ConfigurationMethod
        """

        self._configuration_method = configuration_method

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


        :return: The encrypt_method of this IscsiLunCreationParams.  # noqa: E501
        :rtype: EncryptMethod
        """
        return self._encrypt_method

    @encrypt_method.setter
    def encrypt_method(self, encrypt_method):
        """Sets the encrypt_method of this IscsiLunCreationParams.


        :param encrypt_method: The encrypt_method of this IscsiLunCreationParams.  # noqa: E501
        :type encrypt_method: EncryptMethod
        """

        self._encrypt_method = encrypt_method

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


        :return: The prioritized of this IscsiLunCreationParams.  # noqa: E501
        :rtype: bool
        """
        return self._prioritized

    @prioritized.setter
    def prioritized(self, prioritized):
        """Sets the prioritized of this IscsiLunCreationParams.


        :param prioritized: The prioritized of this IscsiLunCreationParams.  # noqa: E501
        :type prioritized: bool
        """

        self._prioritized = prioritized

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


        :return: The bps_wr_max_length of this IscsiLunCreationParams.  # noqa: E501
        :rtype: int
        """
        return self._bps_wr_max_length

    @bps_wr_max_length.setter
    def bps_wr_max_length(self, bps_wr_max_length):
        """Sets the bps_wr_max_length of this IscsiLunCreationParams.


        :param bps_wr_max_length: The bps_wr_max_length of this IscsiLunCreationParams.  # noqa: E501
        :type bps_wr_max_length: int
        """

        self._bps_wr_max_length = bps_wr_max_length

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


        :return: The bps_wr_max_unit of this IscsiLunCreationParams.  # noqa: E501
        :rtype: BPSUnit
        """
        return self._bps_wr_max_unit

    @bps_wr_max_unit.setter
    def bps_wr_max_unit(self, bps_wr_max_unit):
        """Sets the bps_wr_max_unit of this IscsiLunCreationParams.


        :param bps_wr_max_unit: The bps_wr_max_unit of this IscsiLunCreationParams.  # noqa: E501
        :type bps_wr_max_unit: BPSUnit
        """

        self._bps_wr_max_unit = bps_wr_max_unit

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


        :return: The bps_wr_max of this IscsiLunCreationParams.  # noqa: E501
        :rtype: int
        """
        return self._bps_wr_max

    @bps_wr_max.setter
    def bps_wr_max(self, bps_wr_max):
        """Sets the bps_wr_max of this IscsiLunCreationParams.


        :param bps_wr_max: The bps_wr_max of this IscsiLunCreationParams.  # noqa: E501
        :type bps_wr_max: int
        """

        self._bps_wr_max = bps_wr_max

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


        :return: The bps_rd_max_length of this IscsiLunCreationParams.  # noqa: E501
        :rtype: int
        """
        return self._bps_rd_max_length

    @bps_rd_max_length.setter
    def bps_rd_max_length(self, bps_rd_max_length):
        """Sets the bps_rd_max_length of this IscsiLunCreationParams.


        :param bps_rd_max_length: The bps_rd_max_length of this IscsiLunCreationParams.  # noqa: E501
        :type bps_rd_max_length: int
        """

        self._bps_rd_max_length = bps_rd_max_length

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


        :return: The bps_rd_max_unit of this IscsiLunCreationParams.  # noqa: E501
        :rtype: BPSUnit
        """
        return self._bps_rd_max_unit

    @bps_rd_max_unit.setter
    def bps_rd_max_unit(self, bps_rd_max_unit):
        """Sets the bps_rd_max_unit of this IscsiLunCreationParams.


        :param bps_rd_max_unit: The bps_rd_max_unit of this IscsiLunCreationParams.  # noqa: E501
        :type bps_rd_max_unit: BPSUnit
        """

        self._bps_rd_max_unit = bps_rd_max_unit

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


        :return: The bps_rd_max of this IscsiLunCreationParams.  # noqa: E501
        :rtype: int
        """
        return self._bps_rd_max

    @bps_rd_max.setter
    def bps_rd_max(self, bps_rd_max):
        """Sets the bps_rd_max of this IscsiLunCreationParams.


        :param bps_rd_max: The bps_rd_max of this IscsiLunCreationParams.  # noqa: E501
        :type bps_rd_max: int
        """

        self._bps_rd_max = bps_rd_max

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


        :return: The bps_max_length of this IscsiLunCreationParams.  # noqa: E501
        :rtype: int
        """
        return self._bps_max_length

    @bps_max_length.setter
    def bps_max_length(self, bps_max_length):
        """Sets the bps_max_length of this IscsiLunCreationParams.


        :param bps_max_length: The bps_max_length of this IscsiLunCreationParams.  # noqa: E501
        :type bps_max_length: int
        """

        self._bps_max_length = bps_max_length

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


        :return: The bps_max_unit of this IscsiLunCreationParams.  # noqa: E501
        :rtype: BPSUnit
        """
        return self._bps_max_unit

    @bps_max_unit.setter
    def bps_max_unit(self, bps_max_unit):
        """Sets the bps_max_unit of this IscsiLunCreationParams.


        :param bps_max_unit: The bps_max_unit of this IscsiLunCreationParams.  # noqa: E501
        :type bps_max_unit: BPSUnit
        """

        self._bps_max_unit = bps_max_unit

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


        :return: The bps_max of this IscsiLunCreationParams.  # noqa: E501
        :rtype: int
        """
        return self._bps_max

    @bps_max.setter
    def bps_max(self, bps_max):
        """Sets the bps_max of this IscsiLunCreationParams.


        :param bps_max: The bps_max of this IscsiLunCreationParams.  # noqa: E501
        :type bps_max: int
        """

        self._bps_max = bps_max

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


        :return: The iops_wr_max_length of this IscsiLunCreationParams.  # noqa: E501
        :rtype: int
        """
        return self._iops_wr_max_length

    @iops_wr_max_length.setter
    def iops_wr_max_length(self, iops_wr_max_length):
        """Sets the iops_wr_max_length of this IscsiLunCreationParams.


        :param iops_wr_max_length: The iops_wr_max_length of this IscsiLunCreationParams.  # noqa: E501
        :type iops_wr_max_length: int
        """

        self._iops_wr_max_length = iops_wr_max_length

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


        :return: The iops_wr_max of this IscsiLunCreationParams.  # noqa: E501
        :rtype: int
        """
        return self._iops_wr_max

    @iops_wr_max.setter
    def iops_wr_max(self, iops_wr_max):
        """Sets the iops_wr_max of this IscsiLunCreationParams.


        :param iops_wr_max: The iops_wr_max of this IscsiLunCreationParams.  # noqa: E501
        :type iops_wr_max: int
        """

        self._iops_wr_max = iops_wr_max

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


        :return: The iops_rd_max_length of this IscsiLunCreationParams.  # noqa: E501
        :rtype: int
        """
        return self._iops_rd_max_length

    @iops_rd_max_length.setter
    def iops_rd_max_length(self, iops_rd_max_length):
        """Sets the iops_rd_max_length of this IscsiLunCreationParams.


        :param iops_rd_max_length: The iops_rd_max_length of this IscsiLunCreationParams.  # noqa: E501
        :type iops_rd_max_length: int
        """

        self._iops_rd_max_length = iops_rd_max_length

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


        :return: The iops_rd_max of this IscsiLunCreationParams.  # noqa: E501
        :rtype: int
        """
        return self._iops_rd_max

    @iops_rd_max.setter
    def iops_rd_max(self, iops_rd_max):
        """Sets the iops_rd_max of this IscsiLunCreationParams.


        :param iops_rd_max: The iops_rd_max of this IscsiLunCreationParams.  # noqa: E501
        :type iops_rd_max: int
        """

        self._iops_rd_max = iops_rd_max

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


        :return: The iops_max_length of this IscsiLunCreationParams.  # noqa: E501
        :rtype: int
        """
        return self._iops_max_length

    @iops_max_length.setter
    def iops_max_length(self, iops_max_length):
        """Sets the iops_max_length of this IscsiLunCreationParams.


        :param iops_max_length: The iops_max_length of this IscsiLunCreationParams.  # noqa: E501
        :type iops_max_length: int
        """

        self._iops_max_length = iops_max_length

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


        :return: The iops_max of this IscsiLunCreationParams.  # noqa: E501
        :rtype: int
        """
        return self._iops_max

    @iops_max.setter
    def iops_max(self, iops_max):
        """Sets the iops_max of this IscsiLunCreationParams.


        :param iops_max: The iops_max of this IscsiLunCreationParams.  # noqa: E501
        :type iops_max: int
        """

        self._iops_max = iops_max

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


        :return: The bps_wr_unit of this IscsiLunCreationParams.  # noqa: E501
        :rtype: BPSUnit
        """
        return self._bps_wr_unit

    @bps_wr_unit.setter
    def bps_wr_unit(self, bps_wr_unit):
        """Sets the bps_wr_unit of this IscsiLunCreationParams.


        :param bps_wr_unit: The bps_wr_unit of this IscsiLunCreationParams.  # noqa: E501
        :type bps_wr_unit: BPSUnit
        """

        self._bps_wr_unit = bps_wr_unit

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


        :return: The bps_wr of this IscsiLunCreationParams.  # noqa: E501
        :rtype: int
        """
        return self._bps_wr

    @bps_wr.setter
    def bps_wr(self, bps_wr):
        """Sets the bps_wr of this IscsiLunCreationParams.


        :param bps_wr: The bps_wr of this IscsiLunCreationParams.  # noqa: E501
        :type bps_wr: int
        """

        self._bps_wr = bps_wr

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


        :return: The bps_rd_unit of this IscsiLunCreationParams.  # noqa: E501
        :rtype: BPSUnit
        """
        return self._bps_rd_unit

    @bps_rd_unit.setter
    def bps_rd_unit(self, bps_rd_unit):
        """Sets the bps_rd_unit of this IscsiLunCreationParams.


        :param bps_rd_unit: The bps_rd_unit of this IscsiLunCreationParams.  # noqa: E501
        :type bps_rd_unit: BPSUnit
        """

        self._bps_rd_unit = bps_rd_unit

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


        :return: The bps_rd of this IscsiLunCreationParams.  # noqa: E501
        :rtype: int
        """
        return self._bps_rd

    @bps_rd.setter
    def bps_rd(self, bps_rd):
        """Sets the bps_rd of this IscsiLunCreationParams.


        :param bps_rd: The bps_rd of this IscsiLunCreationParams.  # noqa: E501
        :type bps_rd: int
        """

        self._bps_rd = bps_rd

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


        :return: The bps_unit of this IscsiLunCreationParams.  # noqa: E501
        :rtype: BPSUnit
        """
        return self._bps_unit

    @bps_unit.setter
    def bps_unit(self, bps_unit):
        """Sets the bps_unit of this IscsiLunCreationParams.


        :param bps_unit: The bps_unit of this IscsiLunCreationParams.  # noqa: E501
        :type bps_unit: BPSUnit
        """

        self._bps_unit = bps_unit

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


        :return: The bps of this IscsiLunCreationParams.  # noqa: E501
        :rtype: int
        """
        return self._bps

    @bps.setter
    def bps(self, bps):
        """Sets the bps of this IscsiLunCreationParams.


        :param bps: The bps of this IscsiLunCreationParams.  # noqa: E501
        :type bps: int
        """

        self._bps = bps

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


        :return: The iops_wr of this IscsiLunCreationParams.  # noqa: E501
        :rtype: int
        """
        return self._iops_wr

    @iops_wr.setter
    def iops_wr(self, iops_wr):
        """Sets the iops_wr of this IscsiLunCreationParams.


        :param iops_wr: The iops_wr of this IscsiLunCreationParams.  # noqa: E501
        :type iops_wr: int
        """

        self._iops_wr = iops_wr

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


        :return: The iops_rd of this IscsiLunCreationParams.  # noqa: E501
        :rtype: int
        """
        return self._iops_rd

    @iops_rd.setter
    def iops_rd(self, iops_rd):
        """Sets the iops_rd of this IscsiLunCreationParams.


        :param iops_rd: The iops_rd of this IscsiLunCreationParams.  # noqa: E501
        :type iops_rd: int
        """

        self._iops_rd = iops_rd

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


        :return: The iops of this IscsiLunCreationParams.  # noqa: E501
        :rtype: int
        """
        return self._iops

    @iops.setter
    def iops(self, iops):
        """Sets the iops of this IscsiLunCreationParams.


        :param iops: The iops of this IscsiLunCreationParams.  # noqa: E501
        :type iops: int
        """

        self._iops = iops

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


        :return: The allowed_initiators of this IscsiLunCreationParams.  # noqa: E501
        :rtype: str
        """
        return self._allowed_initiators

    @allowed_initiators.setter
    def allowed_initiators(self, allowed_initiators):
        """Sets the allowed_initiators of this IscsiLunCreationParams.


        :param allowed_initiators: The allowed_initiators of this IscsiLunCreationParams.  # noqa: E501
        :type allowed_initiators: str
        """

        self._allowed_initiators = allowed_initiators

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

        def convert(x):
            if hasattr(x, "to_dict"):
                args = getfullargspec(x.to_dict).args
                if len(args) == 1:
                    return x.to_dict()
                else:
                    return x.to_dict(serialize)
            else:
                return x

        for attr, _ in six.iteritems(self.openapi_types):
            value = getattr(self, attr)
            attr = self.attribute_map.get(attr, attr) if serialize else attr
            if isinstance(value, list):
                result[attr] = list(map(
                    lambda x: convert(x),
                    value
                ))
            elif isinstance(value, dict):
                result[attr] = dict(map(
                    lambda item: (item[0], convert(item[1])),
                    value.items()
                ))
            else:
                result[attr] = convert(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, IscsiLunCreationParams):
            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, IscsiLunCreationParams):
            return True

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