ResellerMeetMeConferencingModifyRequest
Bases: OCIRequest
Modify the reseller level data associated with Meet-Me Conferencing functions. The response is either a SuccessResponse or an ErrorResponse. The following data elements are only modified for System and Provisioning Administrators: maxAllocatedPorts. The following data elements are only modified for System and Provisioning Administrators and AS Mode only: disableUnlimitedMeetMePorts, enableMaxAllocatedPorts.
Attributes:
reseller_id (str):
conference_from_address (Optional[Nillable[str]]):
max_allocated_ports (Optional[int]):
disable_unlimited_meet_me_ports (Optional[bool]):
enable_max_allocated_ports (Optional[bool]):
Source code in src/mercury_ocip_fast/commands/commands.py
| @dataclass(kw_only=True)
class ResellerMeetMeConferencingModifyRequest(OCIRequest):
"""Modify the reseller level data associated with Meet-Me Conferencing functions.
The response is either a SuccessResponse or an ErrorResponse.
The following data elements are only modified for System and Provisioning Administrators:
maxAllocatedPorts.
The following data elements are only modified for System and Provisioning Administrators and AS Mode only:
disableUnlimitedMeetMePorts,
enableMaxAllocatedPorts.
Attributes:
reseller_id (str):
conference_from_address (Optional[Nillable[str]]):
max_allocated_ports (Optional[int]):
disable_unlimited_meet_me_ports (Optional[bool]):
enable_max_allocated_ports (Optional[bool]):
"""
reseller_id: str = field(metadata={"alias": "resellerId"})
conference_from_address: Optional[Nillable[str]] = field(
default=None, metadata={"alias": "conferenceFromAddress"}
)
max_allocated_ports: Optional[int] = field(
default=None, metadata={"alias": "maxAllocatedPorts"}
)
disable_unlimited_meet_me_ports: Optional[bool] = field(
default=None, metadata={"alias": "disableUnlimitedMeetMePorts"}
)
enable_max_allocated_ports: Optional[bool] = field(
default=None, metadata={"alias": "enableMaxAllocatedPorts"}
)
def __post_init__(self):
nillable_fields = ["conference_from_address"]
for field_name in nillable_fields:
value = getattr(self, field_name)
if value == "" or value == "None":
object.__setattr__(self, field_name, OCINil)
|
Responses
Bases: OCIResponseSource code in src/mercury_ocip_fast/commands/base_command.py
| class SuccessResponse(OCIResponse):
pass
|
Bases: OCIResponseSource code in src/mercury_ocip_fast/commands/base_command.py
| class ErrorResponse(OCIResponse):
errorCode: Optional[int] = None
summary: str
summaryEnglish: str
detail: Optional[str] = None
|
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import ResellerMeetMeConferencingModifyRequest
client = Client()
command = ResellerMeetMeConferencingModifyRequest(
reseller_id=...,
conference_from_address=...,
max_allocated_ports=...,
disable_unlimited_meet_me_ports=...,
enable_max_allocated_ports=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("ResellerMeetMeConferencingModifyRequest",
reseller_id=...,
conference_from_address=...,
max_allocated_ports=...,
disable_unlimited_meet_me_ports=...,
enable_max_allocated_ports=...,
)
print(response)