# coding: utf-8

"""
    DataDomain Rest API Documentation

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

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


import pprint
import re  # noqa: F401

import six

from dd_sdk_1_0.configuration import Configuration


class VdiskStimgInfoDetail30(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 = {
        'id': 'str',
        'guid': 'str',
        'name': 'str',
        'device_wwnn': 'str',
        'device_name': 'str',
        'devgrp_guid': 'str',
        'devgrp_name': 'str',
        'pool_guid': 'str',
        'pool_name': 'str',
        'capacity_in_bytes': 'int',
        'geometry': 'GeometryConfig',
        '_property': 'list[KeyValuePair]',
        'retention_info': 'VdiskStimgRetentionInfo',
        'tier': 'VdiskStimgTierLocation',
        'recall_status': 'VdiskStimgRecallStatus',
        'device_writes_in_bytes': 'int',
        'link': 'list[RestLinkRep]'
    }

    attribute_map = {
        'id': 'id',
        'guid': 'guid',
        'name': 'name',
        'device_wwnn': 'device_wwnn',
        'device_name': 'device_name',
        'devgrp_guid': 'devgrp_guid',
        'devgrp_name': 'devgrp_name',
        'pool_guid': 'pool_guid',
        'pool_name': 'pool_name',
        'capacity_in_bytes': 'capacity_in_bytes',
        'geometry': 'geometry',
        '_property': 'property',
        'retention_info': 'retention_info',
        'tier': 'tier',
        'recall_status': 'recall_status',
        'device_writes_in_bytes': 'device_writes_in_bytes',
        'link': 'link'
    }

    def __init__(self, id=None, guid=None, name=None, device_wwnn=None, device_name=None, devgrp_guid=None, devgrp_name=None, pool_guid=None, pool_name=None, capacity_in_bytes=None, geometry=None, _property=None, retention_info=None, tier=None, recall_status=None, device_writes_in_bytes=None, link=None, _configuration=None):  # noqa: E501
        """VdiskStimgInfoDetail30 - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._id = None
        self._guid = None
        self._name = None
        self._device_wwnn = None
        self._device_name = None
        self._devgrp_guid = None
        self._devgrp_name = None
        self._pool_guid = None
        self._pool_name = None
        self._capacity_in_bytes = None
        self._geometry = None
        self.__property = None
        self._retention_info = None
        self._tier = None
        self._recall_status = None
        self._device_writes_in_bytes = None
        self._link = None
        self.discriminator = None

        self.id = id
        self.guid = guid
        if name is not None:
            self.name = name
        if device_wwnn is not None:
            self.device_wwnn = device_wwnn
        if device_name is not None:
            self.device_name = device_name
        if devgrp_guid is not None:
            self.devgrp_guid = devgrp_guid
        if devgrp_name is not None:
            self.devgrp_name = devgrp_name
        if pool_guid is not None:
            self.pool_guid = pool_guid
        if pool_name is not None:
            self.pool_name = pool_name
        if capacity_in_bytes is not None:
            self.capacity_in_bytes = capacity_in_bytes
        if geometry is not None:
            self.geometry = geometry
        if _property is not None:
            self._property = _property
        if retention_info is not None:
            self.retention_info = retention_info
        if tier is not None:
            self.tier = tier
        if recall_status is not None:
            self.recall_status = recall_status
        if device_writes_in_bytes is not None:
            self.device_writes_in_bytes = device_writes_in_bytes
        if link is not None:
            self.link = link

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

        urlencoded GUID  # noqa: E501

        :return: The id of this VdiskStimgInfoDetail30.  # noqa: E501
        :rtype: str
        """
        return self._id

    @id.setter
    def id(self, id):
        """Sets the id of this VdiskStimgInfoDetail30.

        urlencoded GUID  # noqa: E501

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

        self._id = id

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


        :return: The guid of this VdiskStimgInfoDetail30.  # noqa: E501
        :rtype: str
        """
        return self._guid

    @guid.setter
    def guid(self, guid):
        """Sets the guid of this VdiskStimgInfoDetail30.


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

        self._guid = guid

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


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

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


        :param name: The name of this VdiskStimgInfoDetail30.  # noqa: E501
        :type: str
        """

        self._name = name

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


        :return: The device_wwnn of this VdiskStimgInfoDetail30.  # noqa: E501
        :rtype: str
        """
        return self._device_wwnn

    @device_wwnn.setter
    def device_wwnn(self, device_wwnn):
        """Sets the device_wwnn of this VdiskStimgInfoDetail30.


        :param device_wwnn: The device_wwnn of this VdiskStimgInfoDetail30.  # noqa: E501
        :type: str
        """

        self._device_wwnn = device_wwnn

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


        :return: The device_name of this VdiskStimgInfoDetail30.  # noqa: E501
        :rtype: str
        """
        return self._device_name

    @device_name.setter
    def device_name(self, device_name):
        """Sets the device_name of this VdiskStimgInfoDetail30.


        :param device_name: The device_name of this VdiskStimgInfoDetail30.  # noqa: E501
        :type: str
        """

        self._device_name = device_name

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


        :return: The devgrp_guid of this VdiskStimgInfoDetail30.  # noqa: E501
        :rtype: str
        """
        return self._devgrp_guid

    @devgrp_guid.setter
    def devgrp_guid(self, devgrp_guid):
        """Sets the devgrp_guid of this VdiskStimgInfoDetail30.


        :param devgrp_guid: The devgrp_guid of this VdiskStimgInfoDetail30.  # noqa: E501
        :type: str
        """

        self._devgrp_guid = devgrp_guid

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


        :return: The devgrp_name of this VdiskStimgInfoDetail30.  # noqa: E501
        :rtype: str
        """
        return self._devgrp_name

    @devgrp_name.setter
    def devgrp_name(self, devgrp_name):
        """Sets the devgrp_name of this VdiskStimgInfoDetail30.


        :param devgrp_name: The devgrp_name of this VdiskStimgInfoDetail30.  # noqa: E501
        :type: str
        """

        self._devgrp_name = devgrp_name

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


        :return: The pool_guid of this VdiskStimgInfoDetail30.  # noqa: E501
        :rtype: str
        """
        return self._pool_guid

    @pool_guid.setter
    def pool_guid(self, pool_guid):
        """Sets the pool_guid of this VdiskStimgInfoDetail30.


        :param pool_guid: The pool_guid of this VdiskStimgInfoDetail30.  # noqa: E501
        :type: str
        """

        self._pool_guid = pool_guid

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


        :return: The pool_name of this VdiskStimgInfoDetail30.  # noqa: E501
        :rtype: str
        """
        return self._pool_name

    @pool_name.setter
    def pool_name(self, pool_name):
        """Sets the pool_name of this VdiskStimgInfoDetail30.


        :param pool_name: The pool_name of this VdiskStimgInfoDetail30.  # noqa: E501
        :type: str
        """

        self._pool_name = pool_name

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


        :return: The capacity_in_bytes of this VdiskStimgInfoDetail30.  # noqa: E501
        :rtype: int
        """
        return self._capacity_in_bytes

    @capacity_in_bytes.setter
    def capacity_in_bytes(self, capacity_in_bytes):
        """Sets the capacity_in_bytes of this VdiskStimgInfoDetail30.


        :param capacity_in_bytes: The capacity_in_bytes of this VdiskStimgInfoDetail30.  # noqa: E501
        :type: int
        """
        if (self._configuration.client_side_validation and
                capacity_in_bytes is not None and capacity_in_bytes < 0):  # noqa: E501
            raise ValueError("Invalid value for `capacity_in_bytes`, must be a value greater than or equal to `0`")  # noqa: E501

        self._capacity_in_bytes = capacity_in_bytes

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


        :return: The geometry of this VdiskStimgInfoDetail30.  # noqa: E501
        :rtype: GeometryConfig
        """
        return self._geometry

    @geometry.setter
    def geometry(self, geometry):
        """Sets the geometry of this VdiskStimgInfoDetail30.


        :param geometry: The geometry of this VdiskStimgInfoDetail30.  # noqa: E501
        :type: GeometryConfig
        """

        self._geometry = geometry

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


        :return: The _property of this VdiskStimgInfoDetail30.  # noqa: E501
        :rtype: list[KeyValuePair]
        """
        return self.__property

    @_property.setter
    def _property(self, _property):
        """Sets the _property of this VdiskStimgInfoDetail30.


        :param _property: The _property of this VdiskStimgInfoDetail30.  # noqa: E501
        :type: list[KeyValuePair]
        """

        self.__property = _property

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


        :return: The retention_info of this VdiskStimgInfoDetail30.  # noqa: E501
        :rtype: VdiskStimgRetentionInfo
        """
        return self._retention_info

    @retention_info.setter
    def retention_info(self, retention_info):
        """Sets the retention_info of this VdiskStimgInfoDetail30.


        :param retention_info: The retention_info of this VdiskStimgInfoDetail30.  # noqa: E501
        :type: VdiskStimgRetentionInfo
        """

        self._retention_info = retention_info

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


        :return: The tier of this VdiskStimgInfoDetail30.  # noqa: E501
        :rtype: VdiskStimgTierLocation
        """
        return self._tier

    @tier.setter
    def tier(self, tier):
        """Sets the tier of this VdiskStimgInfoDetail30.


        :param tier: The tier of this VdiskStimgInfoDetail30.  # noqa: E501
        :type: VdiskStimgTierLocation
        """

        self._tier = tier

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


        :return: The recall_status of this VdiskStimgInfoDetail30.  # noqa: E501
        :rtype: VdiskStimgRecallStatus
        """
        return self._recall_status

    @recall_status.setter
    def recall_status(self, recall_status):
        """Sets the recall_status of this VdiskStimgInfoDetail30.


        :param recall_status: The recall_status of this VdiskStimgInfoDetail30.  # noqa: E501
        :type: VdiskStimgRecallStatus
        """

        self._recall_status = recall_status

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


        :return: The device_writes_in_bytes of this VdiskStimgInfoDetail30.  # noqa: E501
        :rtype: int
        """
        return self._device_writes_in_bytes

    @device_writes_in_bytes.setter
    def device_writes_in_bytes(self, device_writes_in_bytes):
        """Sets the device_writes_in_bytes of this VdiskStimgInfoDetail30.


        :param device_writes_in_bytes: The device_writes_in_bytes of this VdiskStimgInfoDetail30.  # noqa: E501
        :type: int
        """
        if (self._configuration.client_side_validation and
                device_writes_in_bytes is not None and device_writes_in_bytes < 0):  # noqa: E501
            raise ValueError("Invalid value for `device_writes_in_bytes`, must be a value greater than or equal to `0`")  # noqa: E501

        self._device_writes_in_bytes = device_writes_in_bytes

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


        :return: The link of this VdiskStimgInfoDetail30.  # noqa: E501
        :rtype: list[RestLinkRep]
        """
        return self._link

    @link.setter
    def link(self, link):
        """Sets the link of this VdiskStimgInfoDetail30.


        :param link: The link of this VdiskStimgInfoDetail30.  # noqa: E501
        :type: list[RestLinkRep]
        """

        self._link = link

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

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