ai_api_client_sdk.models.log_response
index
/home/jenkins/agent/workspace/ndation_ai-api-client-sdk_master/ai_api_client_sdk/models/log_response.py

 
Classes
       
builtins.object
LogResponse
LogResponseData
LogResultItem

 
class LogResponse(builtins.object)
    LogResponse(data: ai_api_client_sdk.models.log_response.LogResponseData, **kwargs)
 
The LogResponse object defines the response of the log request
:param data: log response data
:type data: class:`ai_api_client_sdk.models.log_response.LogResponseData`
:param `**kwargs`: The keyword arguments are there in case there are additional attributes returned from server
 
  Methods defined here:
__init__(self, data: ai_api_client_sdk.models.log_response.LogResponseData, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Static methods defined here:
from_dict(log_response_dict: Dict[str, Any])
Returns a :class:`ai_api_client_sdk.models.log_response.LogResponseobject, created from the values
in the dict provided as parameter
 
:param log_response_dict: Dict which includes the necessary values to create the object
:type log_response_dict: Dict[str, Any]
:return: An object, created from the values provided
:rtype: class:`ai_api_client_sdk.models.log_response.LogResponse`

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class LogResponseData(builtins.object)
    LogResponseData(result: List[ai_api_client_sdk.models.log_response.LogResultItem], **kwargs)
 
The LogResponseData object defines the data of the log response
:param result: result of the log query
:type result: List[class:`ai_api_client_sdk.models.log_response.LogResponseResultItem`]
:param `**kwargs`: The keyword arguments are there in case there are additional attributes returned from server
 
  Methods defined here:
__init__(self, result: List[ai_api_client_sdk.models.log_response.LogResultItem], **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Static methods defined here:
from_dict(log_response_data_dict: Dict[str, Any])
Returns a :class:`ai_api_client_sdk.models.log_response.LogResponseDataobject, created from the values
in the dict provided as parameter
 
:param log_response_data_dict: Dict which includes the necessary values to create the object
:type log_response_data_dict: Dict[str, Any]
:return: An object, created from the values provided
:rtype: class:`ai_api_client_sdk.models.log_response.LogResponseData`

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class LogResultItem(builtins.object)
    LogResultItem(msg: str, timestamp: datetime.datetime, **kwargs)
 
The LogResultItem object defines each item in the log response
:param msg: log message
:type msg: str
:param timestamp: timestamp corresponding to the log message
:type timestamp: datetime
:param `**kwargs`: The keyword arguments are there in case there are additional attributes returned from server
 
  Methods defined here:
__init__(self, msg: str, timestamp: datetime.datetime, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Static methods defined here:
from_dict(log_result_item_dict: Dict[str, str])
Returns a :class:`ai_api_client_sdk.models.log_response.LogResultItemobject, created from the values
in the dict provided as parameter
 
:param log_result_item_dict: Dict which includes the necessary values to create the object
:type log_result_item_dict: Dict[str, Any]
:return: An object, created from the values provided
:rtype: class:`ai_api_client_sdk.models.log_response.LogResultItem`

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Data
        Any = typing.Any
Dict = typing.Dict
List = typing.List