WebSocketMessage
Represents the possible websocket types
Properties
Name | Type | Description | Notes |
---|---|---|---|
data | UserDto | [optional] | |
message_id | str | Gets or sets the message id. | [optional] |
message_type | SessionMessageType | [optional] |
Example
from jellyfin.generated.api_10_10.models.web_socket_message import WebSocketMessage
# TODO update the JSON string below
json = "{}"
# create an instance of WebSocketMessage from a JSON string
web_socket_message_instance = WebSocketMessage.from_json(json)
# print the JSON string representation of the object
print(WebSocketMessage.to_json())
# convert the object into a dict
web_socket_message_dict = web_socket_message_instance.to_dict()
# create an instance of WebSocketMessage from a dict
web_socket_message_from_dict = WebSocketMessage.from_dict(web_socket_message_dict)