Skip to content

GroupOutgoingCallingPlanRedirectedGetListRequest

Bases: OCIRequest

Request the call forwarded/transferred permissions for a group default and it's departments. The response is either a GroupOutgoingCallingPlanRedirectedGetListResponse or an ErrorResponse.

Attributes:

service_provider_id (str):

group_id (str):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class GroupOutgoingCallingPlanRedirectedGetListRequest(OCIRequest):
    """Request the call forwarded/transferred permissions for a group default and it's departments.
        The response is either a GroupOutgoingCallingPlanRedirectedGetListResponse or an ErrorResponse.

    Attributes:

        service_provider_id (str):

        group_id (str):

    """

    service_provider_id: str = field(metadata={"alias": "serviceProviderId"})

    group_id: str = field(metadata={"alias": "groupId"})

Responses

Bases: OCIDataResponse

Response to GroupOutgoingCallingPlanRedirectedGetListRequest.

Attributes:

group_permissions (OutgoingCallingPlanRedirectedPermissions):

department_permissions (Optional[List[OutgoingCallingPlanRedirectedDepartmentPermissions]]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class GroupOutgoingCallingPlanRedirectedGetListResponse(OCIDataResponse):
    """Response to GroupOutgoingCallingPlanRedirectedGetListRequest.

    Attributes:

        group_permissions (OutgoingCallingPlanRedirectedPermissions):

        department_permissions (Optional[List[OutgoingCallingPlanRedirectedDepartmentPermissions]]):

    """

    group_permissions: OutgoingCallingPlanRedirectedPermissions = field(
        metadata={"alias": "groupPermissions"}
    )

    department_permissions: Optional[
        List[OutgoingCallingPlanRedirectedDepartmentPermissions]
    ] = field(default=None, metadata={"alias": "departmentPermissions"})

Bases: OCIResponse

Source 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 GroupOutgoingCallingPlanRedirectedGetListRequest

client = Client()

command = GroupOutgoingCallingPlanRedirectedGetListRequest(
    service_provider_id=...,
    group_id=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("GroupOutgoingCallingPlanRedirectedGetListRequest",
    service_provider_id=...,
    group_id=...,
)

print(response)