Skip to content

ServiceProviderCommunicationBarringProfileGetAssignedGroupListRequest

Bases: OCIRequest

Get a list of groups within a service provider that have a given Communication Barring Profile assigned. The response is either a ServiceProviderCommunicationBarringProfileGetAssignedGroupListResponse or an ErorResponse.

Attributes:

service_provider_id (str):

profile (str):

response_size_limit (Optional[int]):

search_criteria_group_id (Optional[List[SearchCriteriaGroupId]]):

search_criteria_group_name (Optional[List[SearchCriteriaGroupName]]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class ServiceProviderCommunicationBarringProfileGetAssignedGroupListRequest(OCIRequest):
    """Get a list of groups within a service provider that have a given
        Communication Barring Profile assigned.
        The response is either a ServiceProviderCommunicationBarringProfileGetAssignedGroupListResponse
        or an ErorResponse.

    Attributes:

        service_provider_id (str):

        profile (str):

        response_size_limit (Optional[int]):

        search_criteria_group_id (Optional[List[SearchCriteriaGroupId]]):

        search_criteria_group_name (Optional[List[SearchCriteriaGroupName]]):

    """

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

    profile: str = field(metadata={"alias": "profile"})

    response_size_limit: Optional[int] = field(
        default=None, metadata={"alias": "responseSizeLimit"}
    )

    search_criteria_group_id: Optional[List[SearchCriteriaGroupId]] = field(
        default=None, metadata={"alias": "searchCriteriaGroupId"}
    )

    search_criteria_group_name: Optional[List[SearchCriteriaGroupName]] = field(
        default=None, metadata={"alias": "searchCriteriaGroupName"}
    )

Responses

Bases: OCIDataResponse

Response to ServiceProviderCommunicationBarringProfileGetAssignedGroupListRequest. Contains a table of groups that have the Communication Barring Profile assigned. The column headings are: "Group Id" and "Group Name".

Attributes:

group_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class ServiceProviderCommunicationBarringProfileGetAssignedGroupListResponse(
    OCIDataResponse
):
    """Response to ServiceProviderCommunicationBarringProfileGetAssignedGroupListRequest.
        Contains a table of groups that have the Communication Barring Profile
        assigned. The column headings are: \"Group Id\" and \"Group Name\".

    Attributes:

        group_table (OCITable):

    """

    group_table: OCITable = field(metadata={"alias": "groupTable"})

Example Usage

from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import ServiceProviderCommunicationBarringProfileGetAssignedGroupListRequest

client = Client()

command = ServiceProviderCommunicationBarringProfileGetAssignedGroupListRequest(
    service_provider_id=...,
    profile=...,
    response_size_limit=...,
    search_criteria_group_id=...,
    search_criteria_group_name=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("ServiceProviderCommunicationBarringProfileGetAssignedGroupListRequest",
    service_provider_id=...,
    profile=...,
    response_size_limit=...,
    search_criteria_group_id=...,
    search_criteria_group_name=...,
)

print(response)