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

# coding: utf-8

 
Modules
       
rest_api.swagger_server.util

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

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

Methods defined here:
__init__(self, id:str=None, unit:str=None)
InlineResponse201 - a model defined in Swagger
 
:param id: The id of this InlineResponse201.  # noqa: E501
:type id: str
:param unit: The unit of this InlineResponse201.  # noqa: E501
:type unit: str

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

Data descriptors defined here:
id
Gets the id of this InlineResponse201.
 
ID of metric, need to follow this convention: `cpx_{parent_id}_{moving_window_duration}_{interval}`  # noqa: E501
 
:return: The id of this InlineResponse201.
:rtype: str
unit
Gets the unit of this InlineResponse201.
 
Should be the same as in metric identified by parent_id parameter  # noqa: E501
 
:return: The unit of this InlineResponse201.
: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)