RealtimeMessageOut¶
-
class
oci.ai_speech.models.
RealtimeMessageOut
(**kwargs)¶ Bases:
object
Websocket messages sent by client to the service.
Attributes
EVENT_SEND_FINAL_RESULT
A constant which can be used with the event property of a RealtimeMessageOut. event
[Required] Gets the event of this RealtimeMessageOut. Methods
__init__
(**kwargs)Initializes a new RealtimeMessageOut object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
EVENT_SEND_FINAL_RESULT
= 'SEND_FINAL_RESULT'¶ A constant which can be used with the event property of a RealtimeMessageOut. This constant has a value of “SEND_FINAL_RESULT”
-
__init__
(**kwargs)¶ Initializes a new RealtimeMessageOut object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: event (str) – The value to assign to the event property of this RealtimeMessageOut. Allowed values for this property are: “SEND_FINAL_RESULT”
-
event
¶ [Required] Gets the event of this RealtimeMessageOut. Outgoing Types of message event sent from Client -> Service - SEND_FINAL_RESULT - sendFinalResult
Allowed values for this property are: “SEND_FINAL_RESULT”
Returns: The event of this RealtimeMessageOut. Return type: str
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-