rest_api.swagger_server.models.measurement
index
/var/lib/jenkins/workspace/resmon_monitor_doc/rest_api/swagger_server/models/measurement.py

# coding: utf-8

 
Modules
       
rest_api.swagger_server.util

 
Classes
       
rest_api.swagger_server.models.base_model_.Model(builtins.object)
Measurement

 
class Measurement(rest_api.swagger_server.models.base_model_.Model)
    NOTE: This class is auto generated by the swagger code generator program.
 
Do not edit the class manually.
 
 
Method resolution order:
Measurement
rest_api.swagger_server.models.base_model_.Model
builtins.object

Methods defined here:
__init__(self, metric_id:str=None, hostname:str=None, data:List[rest_api.swagger_server.models.point.Point]=None)
Measurement - a model defined in Swagger
 
:param metric_id: The metric_id of this Measurement.  # noqa: E501
:type metric_id: str
:param hostname: The hostname of this Measurement.  # noqa: E501
:type hostname: str
:param data: The data of this Measurement.  # noqa: E501
:type data: List[Point]

Class methods defined here:
from_dict(dikt) -> 'Measurement' from builtins.type
Returns the dict as a model
 
:param dikt: A dict.
:type: dict
:return: The Measurement of this Measurement.  # noqa: E501
:rtype: Measurement

Data descriptors defined here:
data
Gets the data of this Measurement.
 
Actual timeseries  # noqa: E501
 
:return: The data of this Measurement.
:rtype: List[Point]
hostname
Gets the hostname of this Measurement.
 
Target host (domain name)  # noqa: E501
 
:return: The hostname of this Measurement.
:rtype: str
metric_id
Gets the metric_id of this Measurement.
 
Metric slug name e.g. `ram`, `cpu`  # noqa: E501
 
:return: The metric_id of this Measurement.
:rtype: str

Methods inherited from rest_api.swagger_server.models.base_model_.Model:
__eq__(self, other)
Returns true if both objects are equal
__ne__(self, other)
Returns true if both objects are not equal
__repr__(self)
For `print` and `pprint`
to_dict(self)
Returns the model properties as a dict
 
:rtype: dict
to_str(self)
Returns the string representation of the model
 
:rtype: str

Data descriptors inherited from rest_api.swagger_server.models.base_model_.Model:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from rest_api.swagger_server.models.base_model_.Model:
__hash__ = None
attribute_map = {}
swagger_types = {}

 
Data
        absolute_import = _Feature((2, 5, 0, 'alpha', 1), (3, 0, 0, 'alpha', 0), 16384)