| |
- builtins.object
-
- HealthzStatus
- enum.Enum(builtins.object)
-
- HealthStatus
class HealthStatus(enum.Enum) |
|
HealthStatus(value, names=None, *, module=None, qualname=None, type=None, start=1)
An enumeration. |
|
- Method resolution order:
- HealthStatus
- enum.Enum
- builtins.object
Data and other attributes defined here:
- NOT_READY = <HealthStatus.NOT_READY: 'NOT READY'>
- READY = <HealthStatus.READY: 'READY'>
Data descriptors inherited from enum.Enum:
- name
- The name of the Enum member.
- value
- The value of the Enum member.
Readonly properties inherited from enum.EnumMeta:
- __members__
- Returns a mapping of member name->value.
This mapping lists all enum members, including aliases. Note that this
is a read-only view of the internal mapping.
|
class HealthzStatus(builtins.object) |
|
HealthzStatus(status: ai_api_client_sdk.models.healthz_status.HealthStatus, message: str, **kwargs)
The HealthzStatus object defines the response of the healthz endpoint
:param status: Health status of the server
:type status: class:`ai_api_client_sdk.models.healthz_status.HealthStatus`
:param message: Response message from the server
:type message: str
:param `**kwargs`: The keyword arguments are there in case there are additional attributes returned from server |
|
Methods defined here:
- __init__(self, status: ai_api_client_sdk.models.healthz_status.HealthStatus, message: str, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
- __str__(self)
- Return str(self).
Static methods defined here:
- from_dict(healthz_status_dict: Dict[str, Any])
- Returns a :class:`ai_api_client_sdk.models.healthz_status.HealthzStatus` object, created from the values in
the dict provided as parameter
:param healthz_status_dict: Dict which includes the necessary values to create the object
:type healthz_status_dict: Dict[str, str]
:return: An object, created from the values provided
:rtype: class:`ai_api_client_sdk.models.healthz_status.HealthzStatus`
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |