ai_api_client_sdk.models.log_response module

class ai_api_client_sdk.models.log_response.LogResultItem(msg: str, timestamp: datetime, **kwargs)

Bases: object

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

__init__(msg: str, timestamp: datetime, **kwargs)
static from_dict(log_result_item_dict: Dict[str, str])

Returns a ai_api_client_sdk.models.log_response.LogResultItem object, created from the values in the dict provided as parameter

Parameters:

log_result_item_dict (Dict[str, Any]) – Dict which includes the necessary values to create the object

Returns:

An object, created from the values provided

Return type:

class:ai_api_client_sdk.models.log_response.LogResultItem

class ai_api_client_sdk.models.log_response.LogResponseData(result: List[LogResultItem], **kwargs)

Bases: object

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

__init__(result: List[LogResultItem], **kwargs)
static from_dict(log_response_data_dict: Dict[str, Any])

Returns a ai_api_client_sdk.models.log_response.LogResponseData object, created from the values in the dict provided as parameter

Parameters:

log_response_data_dict (Dict[str, Any]) – Dict which includes the necessary values to create the object

Returns:

An object, created from the values provided

Return type:

class:ai_api_client_sdk.models.log_response.LogResponseData

class ai_api_client_sdk.models.log_response.LogResponse(data: LogResponseData, **kwargs)

Bases: object

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

__init__(data: LogResponseData, **kwargs)
static from_dict(log_response_dict: Dict[str, Any])

Returns a ai_api_client_sdk.models.log_response.LogResponse object, created from the values in the dict provided as parameter

Parameters:

log_response_dict (Dict[str, Any]) – Dict which includes the necessary values to create the object

Returns:

An object, created from the values provided

Return type:

class:ai_api_client_sdk.models.log_response.LogResponse