Skip to content

SystemBroadWorksMobilityAddMobileNetworkIMRNListRequest

Bases: OCIRequest

Adds BroadWorks Mobility IMRN numbers to a Mobile Network. It is possible to add either: a single number, a list of numbers, or a range of numbers, or any combination thereof. The response is either a SuccessResponse or ErrorResponse.

Attributes:

mobile_network_name (str):

imrn_number (Optional[List[str]]):

number_range (Optional[List[DNRange]]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemBroadWorksMobilityAddMobileNetworkIMRNListRequest(OCIRequest):
    """Adds BroadWorks Mobility IMRN numbers to a Mobile Network. It is possible to add either:
        a single number, a list of numbers, or a range of numbers, or any combination thereof.
        The response is either a SuccessResponse or ErrorResponse.

    Attributes:

        mobile_network_name (str):

        imrn_number (Optional[List[str]]):

        number_range (Optional[List[DNRange]]):

    """

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

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

    number_range: Optional[List[DNRange]] = field(
        default=None, metadata={"alias": "numberRange"}
    )

Responses

Bases: OCIResponse

Source code in src/mercury_ocip_fast/commands/base_command.py
class SuccessResponse(OCIResponse):
    pass

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 SystemBroadWorksMobilityAddMobileNetworkIMRNListRequest

client = Client()

command = SystemBroadWorksMobilityAddMobileNetworkIMRNListRequest(
    mobile_network_name=...,
    imrn_number=...,
    number_range=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemBroadWorksMobilityAddMobileNetworkIMRNListRequest",
    mobile_network_name=...,
    imrn_number=...,
    number_range=...,
)

print(response)