UserMeetMeConferencingGetConferenceGreetingRequest20
Bases: OCIRequest
Get the information of a conference custom greeting. The response is either UserMeetMeConferencingGetConferenceGreetingResponse20 or ErrorResponse.
Attributes:
user_id (str):
conference_key (MeetMeConferencingConferenceKey):
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class UserMeetMeConferencingGetConferenceGreetingRequest20(OCIRequest):
"""Get the information of a conference custom greeting.
The response is either UserMeetMeConferencingGetConferenceGreetingResponse20 or ErrorResponse.
Attributes:
user_id (str):
conference_key (MeetMeConferencingConferenceKey):
"""
user_id: str = field(metadata={"alias": "userId"})
conference_key: MeetMeConferencingConferenceKey = field(
metadata={"alias": "conferenceKey"}
)
|
Responses
Bases: OCIDataResponse
Response to UserMeetMeConferencingGetConferenceGreetingRequest20. Contains the information of a conference custom greeting.
Attributes:
play_entrance_greeting (bool):
entrance_greeting_file (Optional[AnnouncementFileKey]):
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class UserMeetMeConferencingGetConferenceGreetingResponse20(OCIDataResponse):
"""Response to UserMeetMeConferencingGetConferenceGreetingRequest20.
Contains the information of a conference custom greeting.
Attributes:
play_entrance_greeting (bool):
entrance_greeting_file (Optional[AnnouncementFileKey]):
"""
play_entrance_greeting: bool = field(metadata={"alias": "playEntranceGreeting"})
entrance_greeting_file: Optional[AnnouncementFileKey] = field(
default=None, metadata={"alias": "entranceGreetingFile"}
)
|
Bases: OCIResponseSource code in src/mercury_ocip/commands/base_command.py
| class ErrorResponse(OCIResponse):
errorCode: Optional[int] = None
summary: str
summaryEnglish: str
detail: Optional[str] = None
|
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import UserMeetMeConferencingGetConferenceGreetingRequest20
client = Client()
command = UserMeetMeConferencingGetConferenceGreetingRequest20(
user_id=...,
conference_key=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("UserMeetMeConferencingGetConferenceGreetingRequest20",
user_id=...,
conference_key=...,
)
print(response)