GroupModifyRequest
Bases: OCIRequest
Modify the profile for a group. The response is either a SuccessResponse or an ErrorResponse. The following elements are ignored in AS and XS data mode: servicePolicy, callProcessingSliceId, provisioningSliceId, subscriberPartition.
The following elements are only used in XS data mode and ignored in AS data mode:
preferredDataCenter.
Only Provisioning admin and above can change the preferredDataCenter.
The following elements are only used in XS data mode and ignored in AS data mode:
defaultUserCallingLineIdPhoneNumber.
The following elements are only used in AS data mode and ignored in the XS data mode:
extensionLengthSettings
dialPlanAccessCode
dialPlanPolicy
Attributes:
service_provider_id (str):
group_id (str):
default_domain (Optional[str]):
user_limit (Optional[int]):
group_name (Optional[Nillable[str]]):
calling_line_id_name (Optional[Nillable[str]]):
calling_line_id_phone_number (Optional[Nillable[str]]):
time_zone (Optional[str]):
location_dialing_code (Optional[Nillable[str]]):
contact (Optional[Contact]):
address (Optional[StreetAddress]):
service_policy (Optional[Nillable[str]]):
call_processing_slice_id (Optional[Nillable[str]]):
provisioning_slice_id (Optional[Nillable[str]]):
subscriber_partition (Optional[Nillable[str]]):
preferred_data_center (Optional[Nillable[str]]):
default_user_calling_line_id_phone_number (Optional[Nillable[str]]):
extension_length_settings (Optional[GroupExtensionLengthSettings]):
dial_plan_access_code (Optional[Nillable[DialPlanPolicyAccessCode]]):
dial_plan_policy (Optional[DialPlanPolicy]):
Source code in src/mercury_ocip/commands/commands.py
51428 51429 51430 51431 51432 51433 51434 51435 51436 51437 51438 51439 51440 51441 51442 51443 51444 51445 51446 51447 51448 51449 51450 51451 51452 51453 51454 51455 51456 51457 51458 51459 51460 51461 51462 51463 51464 51465 51466 51467 51468 51469 51470 51471 51472 51473 51474 51475 51476 51477 51478 51479 51480 51481 51482 51483 51484 51485 51486 51487 51488 51489 51490 51491 51492 51493 51494 51495 51496 51497 51498 51499 51500 51501 51502 51503 51504 51505 51506 51507 51508 51509 51510 51511 51512 51513 51514 51515 51516 51517 51518 51519 51520 51521 51522 51523 51524 51525 51526 51527 51528 51529 51530 51531 51532 51533 51534 51535 51536 51537 51538 51539 51540 51541 51542 51543 51544 51545 51546 51547 51548 51549 51550 51551 51552 51553 51554 51555 51556 51557 51558 51559 51560 51561 51562 51563 51564 51565 51566 51567 51568 51569 51570 51571 51572 51573 51574 51575 51576 51577 51578 51579 51580 51581 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import GroupModifyRequest
client = Client()
command = GroupModifyRequest(
service_provider_id=...,
group_id=...,
default_domain=...,
user_limit=...,
group_name=...,
calling_line_id_name=...,
calling_line_id_phone_number=...,
time_zone=...,
location_dialing_code=...,
contact=...,
address=...,
service_policy=...,
call_processing_slice_id=...,
provisioning_slice_id=...,
subscriber_partition=...,
preferred_data_center=...,
default_user_calling_line_id_phone_number=...,
extension_length_settings=...,
dial_plan_access_code=...,
dial_plan_policy=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("GroupModifyRequest",
service_provider_id=...,
group_id=...,
default_domain=...,
user_limit=...,
group_name=...,
calling_line_id_name=...,
calling_line_id_phone_number=...,
time_zone=...,
location_dialing_code=...,
contact=...,
address=...,
service_policy=...,
call_processing_slice_id=...,
provisioning_slice_id=...,
subscriber_partition=...,
preferred_data_center=...,
default_user_calling_line_id_phone_number=...,
extension_length_settings=...,
dial_plan_access_code=...,
dial_plan_policy=...,
)
print(response)