4 cloudFPGA Resource Manager API
6 No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
8 OpenAPI spec version: 0.8
10 Generated by: https://github.com/swagger-api/swagger-codegen.git
19 """NOTE: This class is auto generated by the swagger code generator program.
21 Do not edit the class manually.
25 swagger_types (dict): The key is attribute name
26 and the value is attribute type.
27 attribute_map (dict): The key is attribute name
28 and the value is json key in definition.
35 'runlevel':
'runlevel'
39 """InlineResponse2005 - a model defined in Swagger"""
42 if runlevel
is not None:
47 """Gets the runlevel of this InlineResponse2005. # noqa: E501
49 The current runlevel # noqa: E501
51 :return: The runlevel of this InlineResponse2005. # noqa: E501
58 """Sets the runlevel of this InlineResponse2005.
60 The current runlevel # noqa: E501
62 :param runlevel: The runlevel of this InlineResponse2005. # noqa: E501
69 """Returns the model properties as a dict"""
72 for attr, _
in six.iteritems(self.
swagger_typesswagger_types):
73 value = getattr(self, attr)
74 if isinstance(value, list):
75 result[attr] = list(map(
76 lambda x: x.to_dict()
if hasattr(x,
"to_dict")
else x,
79 elif hasattr(value,
"to_dict"):
80 result[attr] = value.to_dict()
81 elif isinstance(value, dict):
82 result[attr] = dict(map(
83 lambda item: (item[0], item[1].
to_dict())
84 if hasattr(item[1],
"to_dict")
else item,
89 if issubclass(InlineResponse2005, dict):
90 for key, value
in self.items():
96 """Returns the string representation of the model"""
97 return pprint.pformat(self.
to_dictto_dict())
100 """For `print` and `pprint`"""
101 return self.
to_strto_str()
104 """Returns true if both objects are equal"""
105 if not isinstance(other, InlineResponse2005):
108 return self.
__dict____dict__ == other.__dict__
111 """Returns true if both objects are not equal"""
112 return not self == other
def __init__(self, runlevel=None)
def runlevel(self, runlevel)