SystemWebexMeetingsCallTypeAddRequest
Bases: OCIRequest
Add an entry that defines a Webex Meetings call processing behavior. The response is either a SuccessResponse or an ErrorResponse.
Attributes:
name (str):
network_server_call_type (str):
enforce_ns_charge_field (bool):
process_as_internal_for_sac_subscriber (bool):
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class SystemWebexMeetingsCallTypeAddRequest(OCIRequest):
"""Add an entry that defines a Webex Meetings call processing behavior.
The response is either a SuccessResponse or an ErrorResponse.
Attributes:
name (str):
network_server_call_type (str):
enforce_ns_charge_field (bool):
process_as_internal_for_sac_subscriber (bool):
"""
name: str = field(metadata={"alias": "name"})
network_server_call_type: str = field(metadata={"alias": "networkServerCallType"})
enforce_ns_charge_field: bool = field(metadata={"alias": "enforceNSChargeField"})
process_as_internal_for_sac_subscriber: bool = field(
metadata={"alias": "processAsInternalForSACSubscriber"}
)
|
Responses
Bases: OCIResponseSource code in src/mercury_ocip/commands/base_command.py
| class SuccessResponse(OCIResponse):
pass
|
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 SystemWebexMeetingsCallTypeAddRequest
client = Client()
command = SystemWebexMeetingsCallTypeAddRequest(
name=...,
network_server_call_type=...,
enforce_ns_charge_field=...,
process_as_internal_for_sac_subscriber=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("SystemWebexMeetingsCallTypeAddRequest",
name=...,
network_server_call_type=...,
enforce_ns_charge_field=...,
process_as_internal_for_sac_subscriber=...,
)
print(response)