Skip to content

SystemBroadWorksMobilityGetMobileNetworkIMRNListRequest

Bases: OCIRequest

Get a list of BroadWorks Mobility IMRN numbers from a Mobile Network. The response is either a SystemBroadWorksMobilityGetMobileNetworkIMRNListResponse or an ErrorResponse.

Attributes:

mobile_network_name (str):

search_criteria_imrn (Optional[List[SearchCriteriaIMRN]]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemBroadWorksMobilityGetMobileNetworkIMRNListRequest(OCIRequest):
    """Get a list of BroadWorks Mobility IMRN numbers from a Mobile Network.
        The response is either a SystemBroadWorksMobilityGetMobileNetworkIMRNListResponse
        or an ErrorResponse.

    Attributes:

        mobile_network_name (str):

        search_criteria_imrn (Optional[List[SearchCriteriaIMRN]]):

    """

    mobile_network_name: str = field(metadata={"alias": "mobileNetworkName"})

    search_criteria_imrn: Optional[List[SearchCriteriaIMRN]] = field(
        default=None, metadata={"alias": "searchCriteriaIMRN"}
    )

Responses

Bases: OCIDataResponse

Response to SystemBroadWorksMobilityGetMobileNetworkIMRNListRequest.

Attributes:

imrn_number (Optional[List[str]]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemBroadWorksMobilityGetMobileNetworkIMRNListResponse(OCIDataResponse):
    """Response to SystemBroadWorksMobilityGetMobileNetworkIMRNListRequest.

    Attributes:

        imrn_number (Optional[List[str]]):

    """

    imrn_number: Optional[List[str]] = field(
        default=None, metadata={"alias": "imrnNumber"}
    )

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 SystemBroadWorksMobilityGetMobileNetworkIMRNListRequest

client = Client()

command = SystemBroadWorksMobilityGetMobileNetworkIMRNListRequest(
    mobile_network_name=...,
    search_criteria_imrn=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemBroadWorksMobilityGetMobileNetworkIMRNListRequest",
    mobile_network_name=...,
    search_criteria_imrn=...,
)

print(response)