Skip to content

SystemGeographicRedundancyUnreachableFromPrimaryGetUserListRequest22

Bases: OCIRequest

Get the list of users that are unreachable from the primary application server. The response is a SystemGeographicRedundancyUnreachableFromPrimaryGetUserListResponse22 or an ErrorResponse.

Attributes:

user_list_size_limit (Optional[int]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemGeographicRedundancyUnreachableFromPrimaryGetUserListRequest22(OCIRequest):
    """Get the list of users that are unreachable from the primary application server.
        The response is a SystemGeographicRedundancyUnreachableFromPrimaryGetUserListResponse22 or an ErrorResponse.

    Attributes:

        user_list_size_limit (Optional[int]):

    """

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

Responses

Bases: OCIDataResponse

Response to SystemGeographicRedundancyUnreachableFromPrimaryGetUserListRequest22. The Unreachable From Primary User table column headings are: "User ID", "Lineport". The optional totalNumberOfUnreachableFromPrimaryUsers is returned only when the userListSizeLimit is set in the request and if the total number of unreachable from primary users is greater than the value of userListSizeLimit.

Attributes:

unreachable_from_primary_user_table (OCITable):

total_number_of_unreachable_from_primary_users (Optional[int]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemGeographicRedundancyUnreachableFromPrimaryGetUserListResponse22(
    OCIDataResponse
):
    """Response to SystemGeographicRedundancyUnreachableFromPrimaryGetUserListRequest22.
        The Unreachable From Primary User table column headings are: \"User ID\", \"Lineport\".
        The optional totalNumberOfUnreachableFromPrimaryUsers is returned only when the userListSizeLimit is set in the request and
        if the total number of unreachable from primary users is greater than the value of userListSizeLimit.

    Attributes:

        unreachable_from_primary_user_table (OCITable):

        total_number_of_unreachable_from_primary_users (Optional[int]):

    """

    unreachable_from_primary_user_table: OCITable = field(
        metadata={"alias": "unreachableFromPrimaryUserTable"}
    )

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

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 SystemGeographicRedundancyUnreachableFromPrimaryGetUserListRequest22

client = Client()

command = SystemGeographicRedundancyUnreachableFromPrimaryGetUserListRequest22(
    user_list_size_limit=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemGeographicRedundancyUnreachableFromPrimaryGetUserListRequest22",
    user_list_size_limit=...,
)

print(response)