Skip to content

SystemMigratedUsersGetListRequest22

Bases: OCIRequest

Get a list of migrated users. If the optional parameter userListSizeLimit is set, then the list returned in the response will contain entries up to value of userListSizeLimit. The response is either SystemMigratedUsersGetListResponse22 or ErrorResponse.

Attributes:

user_list_size_limit (Optional[int]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemMigratedUsersGetListRequest22(OCIRequest):
    """Get a list of migrated users.
        If the optional parameter userListSizeLimit is set, then the list returned in the response will contain entries up to value of userListSizeLimit.
        The response is either SystemMigratedUsersGetListResponse22 or 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 SystemMigratedUsersGetListRequest22. The optional totalNumberOfMigratedUsers is returned only when the userListSizeLimit is set in the request and if the total number of migrated users is greater than the value of userListSizeLimit.

Attributes:

user_id (Optional[List[str]]):

total_number_of_migrated_users (Optional[int]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemMigratedUsersGetListResponse22(OCIDataResponse):
    """Response to SystemMigratedUsersGetListRequest22.
        The optional totalNumberOfMigratedUsers is returned only when the userListSizeLimit is set in the request and
        if the total number of migrated users is greater than the value of userListSizeLimit.

    Attributes:

        user_id (Optional[List[str]]):

        total_number_of_migrated_users (Optional[int]):

    """

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

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

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 SystemMigratedUsersGetListRequest22

client = Client()

command = SystemMigratedUsersGetListRequest22(
    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("SystemMigratedUsersGetListRequest22",
    user_list_size_limit=...,
)

print(response)