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

# coding: utf-8

 
Modules
       
rest_api.swagger_server.util

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

 
class Host(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:
Host
rest_api.swagger_server.models.base_model_.Model
builtins.object

Methods defined here:
__init__(self, hostname:str=None, metrics:List[rest_api.swagger_server.models.metric.Metric]=None, metadata:List[rest_api.swagger_server.models.metadata.Metadata]=None)
Host - a model defined in Swagger
 
:param hostname: The hostname of this Host.  # noqa: E501
:type hostname: str
:param metrics: The metrics of this Host.  # noqa: E501
:type metrics: List[Metric]
:param metadata: The metadata of this Host.  # noqa: E501
:type metadata: List[Metadata]

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

Data descriptors defined here:
hostname
Gets the hostname of this Host.
 
Domain name for host  # noqa: E501
 
:return: The hostname of this Host.
:rtype: str
metadata
Gets the metadata of this Host.
 
Various host properties eg. os, unit specification  # noqa: E501
 
:return: The metadata of this Host.
:rtype: List[Metadata]
metrics
Gets the metrics of this Host.
 
Array of metrics (both complex and basic)  # noqa: E501
 
:return: The metrics of this Host.
:rtype: List[Metric]

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)