ai_core_sdk.models.base_models
index
/home/jenkins/agent/workspace/AI-Foundation_ai-core-sdk_master/ai_core_sdk/models/base_models.py

 
Classes
       
builtins.object
BasicNameResponse
Message

 
class BasicNameResponse(builtins.object)
    BasicNameResponse(name: str, message: str, **kwargs)
 
The BasicNameResponse object defines the response with name from the server
 
:param name: Name of the relevant resource
:type id: str
: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, name: str, message: str, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Static methods defined here:
from_dict(bnr_dict: Dict[str, str])
Returns a :class:`ai_core_sdk.models.base_models.BasicNameResponseobject, created from the values in the
dict provided as parameter
 
:param bnr_dict: Dict which includes the necessary values to create the object
:type bnr_dict: Dict[str, str]
:return: An object, created from the values provided
:rtype: class:`ai_core_sdk.models.base_models.BasicNameResponse`

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

 
class Message(builtins.object)
    Message(message: str, **kwargs)
 
Message object defines a message
 
:param message: message
:type message: str
 
  Methods defined here:
__eq__(self, other)
Return self==value.
__init__(self, message: str, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Static methods defined here:
from_dict(message_dict: Dict[str, str])
Returns a :class:`ai_core_sdk.models.base_models.Messageobject, created from the values in the
dict provided as parameter
 
:param message_dict: Dict which includes the necessary values to create the object
:type message_dict: Dict[str, str]
:return: An object, created from the values provided
:rtype: class:`ai_core_sdk.models.base_models.Message`

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

Data and other attributes defined here:
__hash__ = None

 
Data
        Dict = typing.Dict