Skip to content

SystemCommunicationBarringCriteriaGetRequest19sp1

Bases: OCIRequest

Get an existing Communication Barring Criteria. The response is either a SystemCommunicationBarringCriteriaGetResponse19sp1 or an ErrorResponse.

Attributes:

name (str):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemCommunicationBarringCriteriaGetRequest19sp1(OCIRequest):
    """Get an existing Communication Barring Criteria.
        The response is either a
        SystemCommunicationBarringCriteriaGetResponse19sp1 or an ErrorResponse.

    Attributes:

        name (str):

    """

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

Responses

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 SystemCommunicationBarringCriteriaGetRequest19sp1

client = Client()

command = SystemCommunicationBarringCriteriaGetRequest19sp1(
    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("SystemCommunicationBarringCriteriaGetRequest19sp1",
    name=...,
)

print(response)