GroupFlexibleSeatingHostRoutingPoliciesGetRequest
Bases: OCIRequest
Get a flexible seating host’s routing policies The response is either a GroupFlexibleSeatingHostRoutingPoliciesGetResponse or an ErrorResponse.
Attributes:
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class GroupFlexibleSeatingHostRoutingPoliciesGetRequest(OCIRequest):
"""Get a flexible seating host’s routing policies
The response is either a GroupFlexibleSeatingHostRoutingPoliciesGetResponse or an ErrorResponse.
Attributes:
service_user_id (str):
"""
service_user_id: str = field(metadata={"alias": "serviceUserId"})
|
Responses
Bases: OCIDataResponse
Response to the GroupFlexibleSeatingHostRoutingPoliciesGetRequest.
Attributes:
allow_emergency_calls (bool):
allow_calls_to_voice_portal (bool):
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class GroupFlexibleSeatingHostRoutingPoliciesGetResponse(OCIDataResponse):
"""Response to the GroupFlexibleSeatingHostRoutingPoliciesGetRequest.
Attributes:
allow_emergency_calls (bool):
allow_calls_to_voice_portal (bool):
"""
allow_emergency_calls: bool = field(metadata={"alias": "allowEmergencyCalls"})
allow_calls_to_voice_portal: bool = field(
metadata={"alias": "allowCallsToVoicePortal"}
)
|
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 GroupFlexibleSeatingHostRoutingPoliciesGetRequest
client = Client()
command = GroupFlexibleSeatingHostRoutingPoliciesGetRequest(
service_user_id=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("GroupFlexibleSeatingHostRoutingPoliciesGetRequest",
service_user_id=...,
)
print(response)