Source code for netapp.santricity.models.v2.analysed_volume_statistics

# coding: utf-8

"""
AnalysedVolumeStatistics.py

 The Clear BSD License

 Copyright (c) – 2016, NetApp, Inc. All rights reserved.

 Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met:

 * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

 * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

 * Neither the name of NetApp, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

 NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
"""

from pprint import pformat
from six import iteritems


[docs]class AnalysedVolumeStatistics(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ def __init__(self): """ AnalysedVolumeStatistics - a model defined in Swagger :param dict swaggerTypes: The key is attribute name and the value is attribute type. :param dict attributeMap: The key is attribute name and the value is json key in definition. """ self.swagger_types = { 'observed_time': 'datetime', # (required parameter) 'observed_time_in_ms': 'int', # (required parameter) 'read_i_ops': 'float', # (required parameter) 'write_i_ops': 'float', # (required parameter) 'other_i_ops': 'float', # (required parameter) 'combined_i_ops': 'float', # (required parameter) 'read_throughput': 'float', # (required parameter) 'write_throughput': 'float', # (required parameter) 'combined_throughput': 'float', # (required parameter) 'read_response_time': 'float', # (required parameter) 'write_response_time': 'float', # (required parameter) 'combined_response_time': 'float', # (required parameter) 'average_read_op_size': 'float', # (required parameter) 'average_write_op_size': 'float', # (required parameter) 'read_ops': 'float', # (required parameter) 'write_ops': 'float', # (required parameter) 'volume_id': 'str', # (required parameter) 'volume_name': 'str', # (required parameter) 'pool_id': 'str', # (required parameter) 'controller_id': 'str', # (required parameter) 'work_load_id': 'str', 'mapped': 'bool', # (required parameter) 'read_hit_ops': 'float', # (required parameter) 'read_hit_bytes': 'float', # (required parameter) 'write_hit_bytes': 'float', # (required parameter) 'write_hit_ops': 'float', # (required parameter) 'read_cache_utilization': 'float', # (required parameter) 'write_cache_utilization': 'float', # (required parameter) 'flash_cache_read_hit_ops': 'float', # (required parameter) 'flash_cache_read_hit_bytes': 'float', # (required parameter) 'flash_cache_read_throughput': 'float', 'flash_cache_read_response_time': 'float', 'flash_cache_hit_pct': 'float', 'read_physical_i_ops': 'float', # (required parameter) 'write_physical_i_ops': 'float', # (required parameter) 'queue_depth_total': 'float', # (required parameter) 'queue_depth_max': 'float' } self.attribute_map = { 'observed_time': 'observedTime', # (required parameter) 'observed_time_in_ms': 'observedTimeInMS', # (required parameter) 'read_i_ops': 'readIOps', # (required parameter) 'write_i_ops': 'writeIOps', # (required parameter) 'other_i_ops': 'otherIOps', # (required parameter) 'combined_i_ops': 'combinedIOps', # (required parameter) 'read_throughput': 'readThroughput', # (required parameter) 'write_throughput': 'writeThroughput', # (required parameter) 'combined_throughput': 'combinedThroughput', # (required parameter) 'read_response_time': 'readResponseTime', # (required parameter) 'write_response_time': 'writeResponseTime', # (required parameter) 'combined_response_time': 'combinedResponseTime', # (required parameter) 'average_read_op_size': 'averageReadOpSize', # (required parameter) 'average_write_op_size': 'averageWriteOpSize', # (required parameter) 'read_ops': 'readOps', # (required parameter) 'write_ops': 'writeOps', # (required parameter) 'volume_id': 'volumeId', # (required parameter) 'volume_name': 'volumeName', # (required parameter) 'pool_id': 'poolId', # (required parameter) 'controller_id': 'controllerId', # (required parameter) 'work_load_id': 'workLoadId', 'mapped': 'mapped', # (required parameter) 'read_hit_ops': 'readHitOps', # (required parameter) 'read_hit_bytes': 'readHitBytes', # (required parameter) 'write_hit_bytes': 'writeHitBytes', # (required parameter) 'write_hit_ops': 'writeHitOps', # (required parameter) 'read_cache_utilization': 'readCacheUtilization', # (required parameter) 'write_cache_utilization': 'writeCacheUtilization', # (required parameter) 'flash_cache_read_hit_ops': 'flashCacheReadHitOps', # (required parameter) 'flash_cache_read_hit_bytes': 'flashCacheReadHitBytes', # (required parameter) 'flash_cache_read_throughput': 'flashCacheReadThroughput', 'flash_cache_read_response_time': 'flashCacheReadResponseTime', 'flash_cache_hit_pct': 'flashCacheHitPct', 'read_physical_i_ops': 'readPhysicalIOps', # (required parameter) 'write_physical_i_ops': 'writePhysicalIOps', # (required parameter) 'queue_depth_total': 'queueDepthTotal', # (required parameter) 'queue_depth_max': 'queueDepthMax' } self._observed_time = None self._observed_time_in_ms = None self._read_i_ops = None self._write_i_ops = None self._other_i_ops = None self._combined_i_ops = None self._read_throughput = None self._write_throughput = None self._combined_throughput = None self._read_response_time = None self._write_response_time = None self._combined_response_time = None self._average_read_op_size = None self._average_write_op_size = None self._read_ops = None self._write_ops = None self._volume_id = None self._volume_name = None self._pool_id = None self._controller_id = None self._work_load_id = None self._mapped = None self._read_hit_ops = None self._read_hit_bytes = None self._write_hit_bytes = None self._write_hit_ops = None self._read_cache_utilization = None self._write_cache_utilization = None self._flash_cache_read_hit_ops = None self._flash_cache_read_hit_bytes = None self._flash_cache_read_throughput = None self._flash_cache_read_response_time = None self._flash_cache_hit_pct = None self._read_physical_i_ops = None self._write_physical_i_ops = None self._queue_depth_total = None self._queue_depth_max = None @property def observed_time(self): """ Gets the observed_time of this AnalysedVolumeStatistics. :return: The observed_time of this AnalysedVolumeStatistics. :rtype: datetime :required/optional: required """ return self._observed_time @observed_time.setter def observed_time(self, observed_time): """ Sets the observed_time of this AnalysedVolumeStatistics. :param observed_time: The observed_time of this AnalysedVolumeStatistics. :type: datetime """ self._observed_time = observed_time @property def observed_time_in_ms(self): """ Gets the observed_time_in_ms of this AnalysedVolumeStatistics. :return: The observed_time_in_ms of this AnalysedVolumeStatistics. :rtype: int :required/optional: required """ return self._observed_time_in_ms @observed_time_in_ms.setter def observed_time_in_ms(self, observed_time_in_ms): """ Sets the observed_time_in_ms of this AnalysedVolumeStatistics. :param observed_time_in_ms: The observed_time_in_ms of this AnalysedVolumeStatistics. :type: int """ self._observed_time_in_ms = observed_time_in_ms @property def read_i_ops(self): """ Gets the read_i_ops of this AnalysedVolumeStatistics. read_iops double NOT NULL :return: The read_i_ops of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._read_i_ops @read_i_ops.setter def read_i_ops(self, read_i_ops): """ Sets the read_i_ops of this AnalysedVolumeStatistics. read_iops double NOT NULL :param read_i_ops: The read_i_ops of this AnalysedVolumeStatistics. :type: float """ self._read_i_ops = read_i_ops @property def write_i_ops(self): """ Gets the write_i_ops of this AnalysedVolumeStatistics. write_iops double NOT NULL :return: The write_i_ops of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._write_i_ops @write_i_ops.setter def write_i_ops(self, write_i_ops): """ Sets the write_i_ops of this AnalysedVolumeStatistics. write_iops double NOT NULL :param write_i_ops: The write_i_ops of this AnalysedVolumeStatistics. :type: float """ self._write_i_ops = write_i_ops @property def other_i_ops(self): """ Gets the other_i_ops of this AnalysedVolumeStatistics. other_iops double NOT NULL :return: The other_i_ops of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._other_i_ops @other_i_ops.setter def other_i_ops(self, other_i_ops): """ Sets the other_i_ops of this AnalysedVolumeStatistics. other_iops double NOT NULL :param other_i_ops: The other_i_ops of this AnalysedVolumeStatistics. :type: float """ self._other_i_ops = other_i_ops @property def combined_i_ops(self): """ Gets the combined_i_ops of this AnalysedVolumeStatistics. combined_iops double NOT NULL :return: The combined_i_ops of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._combined_i_ops @combined_i_ops.setter def combined_i_ops(self, combined_i_ops): """ Sets the combined_i_ops of this AnalysedVolumeStatistics. combined_iops double NOT NULL :param combined_i_ops: The combined_i_ops of this AnalysedVolumeStatistics. :type: float """ self._combined_i_ops = combined_i_ops @property def read_throughput(self): """ Gets the read_throughput of this AnalysedVolumeStatistics. read_throughput double NOT NULL :return: The read_throughput of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._read_throughput @read_throughput.setter def read_throughput(self, read_throughput): """ Sets the read_throughput of this AnalysedVolumeStatistics. read_throughput double NOT NULL :param read_throughput: The read_throughput of this AnalysedVolumeStatistics. :type: float """ self._read_throughput = read_throughput @property def write_throughput(self): """ Gets the write_throughput of this AnalysedVolumeStatistics. write_throughput double NOT NULL :return: The write_throughput of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._write_throughput @write_throughput.setter def write_throughput(self, write_throughput): """ Sets the write_throughput of this AnalysedVolumeStatistics. write_throughput double NOT NULL :param write_throughput: The write_throughput of this AnalysedVolumeStatistics. :type: float """ self._write_throughput = write_throughput @property def combined_throughput(self): """ Gets the combined_throughput of this AnalysedVolumeStatistics. combined_throughput double NOT NULL :return: The combined_throughput of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._combined_throughput @combined_throughput.setter def combined_throughput(self, combined_throughput): """ Sets the combined_throughput of this AnalysedVolumeStatistics. combined_throughput double NOT NULL :param combined_throughput: The combined_throughput of this AnalysedVolumeStatistics. :type: float """ self._combined_throughput = combined_throughput @property def read_response_time(self): """ Gets the read_response_time of this AnalysedVolumeStatistics. read_response_time double NOT NULL :return: The read_response_time of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._read_response_time @read_response_time.setter def read_response_time(self, read_response_time): """ Sets the read_response_time of this AnalysedVolumeStatistics. read_response_time double NOT NULL :param read_response_time: The read_response_time of this AnalysedVolumeStatistics. :type: float """ self._read_response_time = read_response_time @property def write_response_time(self): """ Gets the write_response_time of this AnalysedVolumeStatistics. write_response_time double NOT NULL :return: The write_response_time of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._write_response_time @write_response_time.setter def write_response_time(self, write_response_time): """ Sets the write_response_time of this AnalysedVolumeStatistics. write_response_time double NOT NULL :param write_response_time: The write_response_time of this AnalysedVolumeStatistics. :type: float """ self._write_response_time = write_response_time @property def combined_response_time(self): """ Gets the combined_response_time of this AnalysedVolumeStatistics. combined_response_time double NOT NULL :return: The combined_response_time of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._combined_response_time @combined_response_time.setter def combined_response_time(self, combined_response_time): """ Sets the combined_response_time of this AnalysedVolumeStatistics. combined_response_time double NOT NULL :param combined_response_time: The combined_response_time of this AnalysedVolumeStatistics. :type: float """ self._combined_response_time = combined_response_time @property def average_read_op_size(self): """ Gets the average_read_op_size of this AnalysedVolumeStatistics. :return: The average_read_op_size of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._average_read_op_size @average_read_op_size.setter def average_read_op_size(self, average_read_op_size): """ Sets the average_read_op_size of this AnalysedVolumeStatistics. :param average_read_op_size: The average_read_op_size of this AnalysedVolumeStatistics. :type: float """ self._average_read_op_size = average_read_op_size @property def average_write_op_size(self): """ Gets the average_write_op_size of this AnalysedVolumeStatistics. :return: The average_write_op_size of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._average_write_op_size @average_write_op_size.setter def average_write_op_size(self, average_write_op_size): """ Sets the average_write_op_size of this AnalysedVolumeStatistics. :param average_write_op_size: The average_write_op_size of this AnalysedVolumeStatistics. :type: float """ self._average_write_op_size = average_write_op_size @property def read_ops(self): """ Gets the read_ops of this AnalysedVolumeStatistics. :return: The read_ops of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._read_ops @read_ops.setter def read_ops(self, read_ops): """ Sets the read_ops of this AnalysedVolumeStatistics. :param read_ops: The read_ops of this AnalysedVolumeStatistics. :type: float """ self._read_ops = read_ops @property def write_ops(self): """ Gets the write_ops of this AnalysedVolumeStatistics. :return: The write_ops of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._write_ops @write_ops.setter def write_ops(self, write_ops): """ Sets the write_ops of this AnalysedVolumeStatistics. :param write_ops: The write_ops of this AnalysedVolumeStatistics. :type: float """ self._write_ops = write_ops @property def volume_id(self): """ Gets the volume_id of this AnalysedVolumeStatistics. :return: The volume_id of this AnalysedVolumeStatistics. :rtype: str :required/optional: required """ return self._volume_id @volume_id.setter def volume_id(self, volume_id): """ Sets the volume_id of this AnalysedVolumeStatistics. :param volume_id: The volume_id of this AnalysedVolumeStatistics. :type: str """ self._volume_id = volume_id @property def volume_name(self): """ Gets the volume_name of this AnalysedVolumeStatistics. :return: The volume_name of this AnalysedVolumeStatistics. :rtype: str :required/optional: required """ return self._volume_name @volume_name.setter def volume_name(self, volume_name): """ Sets the volume_name of this AnalysedVolumeStatistics. :param volume_name: The volume_name of this AnalysedVolumeStatistics. :type: str """ self._volume_name = volume_name @property def pool_id(self): """ Gets the pool_id of this AnalysedVolumeStatistics. :return: The pool_id of this AnalysedVolumeStatistics. :rtype: str :required/optional: required """ return self._pool_id @pool_id.setter def pool_id(self, pool_id): """ Sets the pool_id of this AnalysedVolumeStatistics. :param pool_id: The pool_id of this AnalysedVolumeStatistics. :type: str """ self._pool_id = pool_id @property def controller_id(self): """ Gets the controller_id of this AnalysedVolumeStatistics. :return: The controller_id of this AnalysedVolumeStatistics. :rtype: str :required/optional: required """ return self._controller_id @controller_id.setter def controller_id(self, controller_id): """ Sets the controller_id of this AnalysedVolumeStatistics. :param controller_id: The controller_id of this AnalysedVolumeStatistics. :type: str """ self._controller_id = controller_id @property def work_load_id(self): """ Gets the work_load_id of this AnalysedVolumeStatistics. :return: The work_load_id of this AnalysedVolumeStatistics. :rtype: str :required/optional: optional """ return self._work_load_id @work_load_id.setter def work_load_id(self, work_load_id): """ Sets the work_load_id of this AnalysedVolumeStatistics. :param work_load_id: The work_load_id of this AnalysedVolumeStatistics. :type: str """ self._work_load_id = work_load_id @property def mapped(self): """ Gets the mapped of this AnalysedVolumeStatistics. True if the volume was mapped to a host at the point of data collection :return: The mapped of this AnalysedVolumeStatistics. :rtype: bool :required/optional: required """ return self._mapped @mapped.setter def mapped(self, mapped): """ Sets the mapped of this AnalysedVolumeStatistics. True if the volume was mapped to a host at the point of data collection :param mapped: The mapped of this AnalysedVolumeStatistics. :type: bool """ self._mapped = mapped @property def read_hit_ops(self): """ Gets the read_hit_ops of this AnalysedVolumeStatistics. Number of read operations that hit cache :return: The read_hit_ops of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._read_hit_ops @read_hit_ops.setter def read_hit_ops(self, read_hit_ops): """ Sets the read_hit_ops of this AnalysedVolumeStatistics. Number of read operations that hit cache :param read_hit_ops: The read_hit_ops of this AnalysedVolumeStatistics. :type: float """ self._read_hit_ops = read_hit_ops @property def read_hit_bytes(self): """ Gets the read_hit_bytes of this AnalysedVolumeStatistics. Number of bytes read from cache :return: The read_hit_bytes of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._read_hit_bytes @read_hit_bytes.setter def read_hit_bytes(self, read_hit_bytes): """ Sets the read_hit_bytes of this AnalysedVolumeStatistics. Number of bytes read from cache :param read_hit_bytes: The read_hit_bytes of this AnalysedVolumeStatistics. :type: float """ self._read_hit_bytes = read_hit_bytes @property def write_hit_bytes(self): """ Gets the write_hit_bytes of this AnalysedVolumeStatistics. Number of bytes written to cache :return: The write_hit_bytes of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._write_hit_bytes @write_hit_bytes.setter def write_hit_bytes(self, write_hit_bytes): """ Sets the write_hit_bytes of this AnalysedVolumeStatistics. Number of bytes written to cache :param write_hit_bytes: The write_hit_bytes of this AnalysedVolumeStatistics. :type: float """ self._write_hit_bytes = write_hit_bytes @property def write_hit_ops(self): """ Gets the write_hit_ops of this AnalysedVolumeStatistics. Number of write operations that hit cache :return: The write_hit_ops of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._write_hit_ops @write_hit_ops.setter def write_hit_ops(self, write_hit_ops): """ Sets the write_hit_ops of this AnalysedVolumeStatistics. Number of write operations that hit cache :param write_hit_ops: The write_hit_ops of this AnalysedVolumeStatistics. :type: float """ self._write_hit_ops = write_hit_ops @property def read_cache_utilization(self): """ Gets the read_cache_utilization of this AnalysedVolumeStatistics. Percentage of bytes read from cache :return: The read_cache_utilization of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._read_cache_utilization @read_cache_utilization.setter def read_cache_utilization(self, read_cache_utilization): """ Sets the read_cache_utilization of this AnalysedVolumeStatistics. Percentage of bytes read from cache :param read_cache_utilization: The read_cache_utilization of this AnalysedVolumeStatistics. :type: float """ self._read_cache_utilization = read_cache_utilization @property def write_cache_utilization(self): """ Gets the write_cache_utilization of this AnalysedVolumeStatistics. Percentage of bytes written to cache :return: The write_cache_utilization of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._write_cache_utilization @write_cache_utilization.setter def write_cache_utilization(self, write_cache_utilization): """ Sets the write_cache_utilization of this AnalysedVolumeStatistics. Percentage of bytes written to cache :param write_cache_utilization: The write_cache_utilization of this AnalysedVolumeStatistics. :type: float """ self._write_cache_utilization = write_cache_utilization @property def flash_cache_read_hit_ops(self): """ Gets the flash_cache_read_hit_ops of this AnalysedVolumeStatistics. Number of read operations that hit cache :return: The flash_cache_read_hit_ops of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._flash_cache_read_hit_ops @flash_cache_read_hit_ops.setter def flash_cache_read_hit_ops(self, flash_cache_read_hit_ops): """ Sets the flash_cache_read_hit_ops of this AnalysedVolumeStatistics. Number of read operations that hit cache :param flash_cache_read_hit_ops: The flash_cache_read_hit_ops of this AnalysedVolumeStatistics. :type: float """ self._flash_cache_read_hit_ops = flash_cache_read_hit_ops @property def flash_cache_read_hit_bytes(self): """ Gets the flash_cache_read_hit_bytes of this AnalysedVolumeStatistics. Number of bytes read from cache :return: The flash_cache_read_hit_bytes of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._flash_cache_read_hit_bytes @flash_cache_read_hit_bytes.setter def flash_cache_read_hit_bytes(self, flash_cache_read_hit_bytes): """ Sets the flash_cache_read_hit_bytes of this AnalysedVolumeStatistics. Number of bytes read from cache :param flash_cache_read_hit_bytes: The flash_cache_read_hit_bytes of this AnalysedVolumeStatistics. :type: float """ self._flash_cache_read_hit_bytes = flash_cache_read_hit_bytes @property def flash_cache_read_throughput(self): """ Gets the flash_cache_read_throughput of this AnalysedVolumeStatistics. :return: The flash_cache_read_throughput of this AnalysedVolumeStatistics. :rtype: float :required/optional: optional """ return self._flash_cache_read_throughput @flash_cache_read_throughput.setter def flash_cache_read_throughput(self, flash_cache_read_throughput): """ Sets the flash_cache_read_throughput of this AnalysedVolumeStatistics. :param flash_cache_read_throughput: The flash_cache_read_throughput of this AnalysedVolumeStatistics. :type: float """ self._flash_cache_read_throughput = flash_cache_read_throughput @property def flash_cache_read_response_time(self): """ Gets the flash_cache_read_response_time of this AnalysedVolumeStatistics. :return: The flash_cache_read_response_time of this AnalysedVolumeStatistics. :rtype: float :required/optional: optional """ return self._flash_cache_read_response_time @flash_cache_read_response_time.setter def flash_cache_read_response_time(self, flash_cache_read_response_time): """ Sets the flash_cache_read_response_time of this AnalysedVolumeStatistics. :param flash_cache_read_response_time: The flash_cache_read_response_time of this AnalysedVolumeStatistics. :type: float """ self._flash_cache_read_response_time = flash_cache_read_response_time @property def flash_cache_hit_pct(self): """ Gets the flash_cache_hit_pct of this AnalysedVolumeStatistics. :return: The flash_cache_hit_pct of this AnalysedVolumeStatistics. :rtype: float :required/optional: optional """ return self._flash_cache_hit_pct @flash_cache_hit_pct.setter def flash_cache_hit_pct(self, flash_cache_hit_pct): """ Sets the flash_cache_hit_pct of this AnalysedVolumeStatistics. :param flash_cache_hit_pct: The flash_cache_hit_pct of this AnalysedVolumeStatistics. :type: float """ self._flash_cache_hit_pct = flash_cache_hit_pct @property def read_physical_i_ops(self): """ Gets the read_physical_i_ops of this AnalysedVolumeStatistics. read_physical_iops double NOT NULL :return: The read_physical_i_ops of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._read_physical_i_ops @read_physical_i_ops.setter def read_physical_i_ops(self, read_physical_i_ops): """ Sets the read_physical_i_ops of this AnalysedVolumeStatistics. read_physical_iops double NOT NULL :param read_physical_i_ops: The read_physical_i_ops of this AnalysedVolumeStatistics. :type: float """ self._read_physical_i_ops = read_physical_i_ops @property def write_physical_i_ops(self): """ Gets the write_physical_i_ops of this AnalysedVolumeStatistics. write_physical_iops double NOT NULL :return: The write_physical_i_ops of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._write_physical_i_ops @write_physical_i_ops.setter def write_physical_i_ops(self, write_physical_i_ops): """ Sets the write_physical_i_ops of this AnalysedVolumeStatistics. write_physical_iops double NOT NULL :param write_physical_i_ops: The write_physical_i_ops of this AnalysedVolumeStatistics. :type: float """ self._write_physical_i_ops = write_physical_i_ops @property def queue_depth_total(self): """ Gets the queue_depth_total of this AnalysedVolumeStatistics. Total channel queue depth. :return: The queue_depth_total of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._queue_depth_total @queue_depth_total.setter def queue_depth_total(self, queue_depth_total): """ Sets the queue_depth_total of this AnalysedVolumeStatistics. Total channel queue depth. :param queue_depth_total: The queue_depth_total of this AnalysedVolumeStatistics. :type: float """ self._queue_depth_total = queue_depth_total @property def queue_depth_max(self): """ Gets the queue_depth_max of this AnalysedVolumeStatistics. Maximum channel queue depth. :return: The queue_depth_max of this AnalysedVolumeStatistics. :rtype: float :required/optional: required """ return self._queue_depth_max @queue_depth_max.setter def queue_depth_max(self, queue_depth_max): """ Sets the queue_depth_max of this AnalysedVolumeStatistics. Maximum channel queue depth. :param queue_depth_max: The queue_depth_max of this AnalysedVolumeStatistics. :type: float """ self._queue_depth_max = queue_depth_max
[docs] def to_dict(self): """ Returns the model properties as a dict """ result = {} for attr, _ in 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 return result
[docs] def to_str(self): """ Returns the string representation of the model """ return pformat(self.to_dict())
def __repr__(self): """ For `print` and `pprint` """ if self is None: return None return self.to_str() def __eq__(self, other): """ Returns true if both objects are equal """ if self is None or other is None: return None return self.__dict__ == other.__dict__ def __ne__(self, other): """ Returns true if both objects are not equal """ return not self == other