Skip to content

SystemDeviceProfileAuthenticationLockoutGetRequest

Bases: OCIRequest

Request to get device password authentication lockout data in the system. The response is either a SystemDeviceProfileAuthenticationLockoutGetResponse or an ErrorResponse.

Attributes:

response_size_limit (Optional[int]):

search_criteria_service_provider_id (Optional[List[SearchCriteriaServiceProviderId]]):

search_criteria_exact_organization_type (Optional[SearchCriteriaExactOrganizationType]):

search_criteria_group_id (Optional[List[SearchCriteriaGroupId]]):

search_criteria_device_name (Optional[List[SearchCriteriaDeviceName]]):

search_criteria_exact_device_type (Optional[SearchCriteriaExactDeviceType]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemDeviceProfileAuthenticationLockoutGetRequest(OCIRequest):
    """Request to get device password authentication lockout data in the system.
         The response is either a SystemDeviceProfileAuthenticationLockoutGetResponse or an ErrorResponse.

    Attributes:

        response_size_limit (Optional[int]):

        search_criteria_service_provider_id (Optional[List[SearchCriteriaServiceProviderId]]):

        search_criteria_exact_organization_type (Optional[SearchCriteriaExactOrganizationType]):

        search_criteria_group_id (Optional[List[SearchCriteriaGroupId]]):

        search_criteria_device_name (Optional[List[SearchCriteriaDeviceName]]):

        search_criteria_exact_device_type (Optional[SearchCriteriaExactDeviceType]):

    """

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

    search_criteria_service_provider_id: Optional[
        List[SearchCriteriaServiceProviderId]
    ] = field(default=None, metadata={"alias": "searchCriteriaServiceProviderId"})

    search_criteria_exact_organization_type: Optional[
        SearchCriteriaExactOrganizationType
    ] = field(default=None, metadata={"alias": "searchCriteriaExactOrganizationType"})

    search_criteria_group_id: Optional[List[SearchCriteriaGroupId]] = field(
        default=None, metadata={"alias": "searchCriteriaGroupId"}
    )

    search_criteria_device_name: Optional[List[SearchCriteriaDeviceName]] = field(
        default=None, metadata={"alias": "searchCriteriaDeviceName"}
    )

    search_criteria_exact_device_type: Optional[SearchCriteriaExactDeviceType] = field(
        default=None, metadata={"alias": "searchCriteriaExactDeviceType"}
    )

Responses

Bases: OCIDataResponse

Response to SystemDeviceProfileAuthenticationLockoutGetRequest. The column headings for the lockoutTable are: "Organization Id", "Organization Type", "Group Id", "Identity/Device Profile Name", " Identity/Device Profile Type", "Lockout Started", "Lockout Expires", "Lockout Count". Lockout times are shown in the system GMT time. When a permanent lockout is shown, the "Lockout Expires" column is empty and the "Lockout Count" column contains the word Permanent.

Attributes:

lockout_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemDeviceProfileAuthenticationLockoutGetResponse(OCIDataResponse):
    """Response to SystemDeviceProfileAuthenticationLockoutGetRequest.
        The column headings for the lockoutTable are: \"Organization Id\", \"Organization Type\", \"Group Id\", \"Identity/Device Profile Name\",  \" Identity/Device Profile Type\",  \"Lockout Started\", \"Lockout Expires\", \"Lockout Count\". Lockout times are shown in the system GMT time. When a permanent lockout is shown, the \"Lockout Expires\" column is empty and the \"Lockout Count\" column contains the word Permanent.

    Attributes:

        lockout_table (OCITable):

    """

    lockout_table: OCITable = field(metadata={"alias": "lockoutTable"})

Bases: OCIResponse

Source code in src/mercury_ocip/commands/base_command.py
class ErrorResponse(OCIResponse):
    errorCode: Optional[int] = None
    summary: str
    summaryEnglish: str
    detail: Optional[str] = None

Example Usage

from mercury_ocip.client import Client
from mercury_ocip.commands import SystemDeviceProfileAuthenticationLockoutGetRequest

client = Client()

command = SystemDeviceProfileAuthenticationLockoutGetRequest(
    response_size_limit=...,
    search_criteria_service_provider_id=...,
    search_criteria_exact_organization_type=...,
    search_criteria_group_id=...,
    search_criteria_device_name=...,
    search_criteria_exact_device_type=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemDeviceProfileAuthenticationLockoutGetRequest",
    response_size_limit=...,
    search_criteria_service_provider_id=...,
    search_criteria_exact_organization_type=...,
    search_criteria_group_id=...,
    search_criteria_device_name=...,
    search_criteria_exact_device_type=...,
)

print(response)