Skip to content

SystemSIPAuthenticationTrunkGroupLockoutGetRequest

Bases: OCIRequest

Request to get sip authentication trunk group lockout data in the system. The response is either a SystemSIPAuthenticationTrunkGroupLockoutGetResponse 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_trunk_group_name (Optional[List[SearchCriteriaTrunkGroupName]]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemSIPAuthenticationTrunkGroupLockoutGetRequest(OCIRequest):
    """Request to get sip authentication trunk group lockout data in the system.
         The response is either a SystemSIPAuthenticationTrunkGroupLockoutGetResponse 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_trunk_group_name (Optional[List[SearchCriteriaTrunkGroupName]]):

    """

    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_trunk_group_name: Optional[List[SearchCriteriaTrunkGroupName]] = (
        field(default=None, metadata={"alias": "searchCriteriaTrunkGroupName"})
    )

Responses

Bases: OCIDataResponse

Response to SystemSIPAuthenticationTrunkGroupLockoutGetRequest. The column headings for the lockoutTable are: "Organization Id", "Organization Type", "Group Id", "Trunk Group Name", "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 SystemSIPAuthenticationTrunkGroupLockoutGetResponse(OCIDataResponse):
    """Response to SystemSIPAuthenticationTrunkGroupLockoutGetRequest.
        The column headings for the lockoutTable are:
           \"Organization Id\", \"Organization Type\", \"Group Id\", \"Trunk Group Name\", \"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 SystemSIPAuthenticationTrunkGroupLockoutGetRequest

client = Client()

command = SystemSIPAuthenticationTrunkGroupLockoutGetRequest(
    response_size_limit=...,
    search_criteria_service_provider_id=...,
    search_criteria_exact_organization_type=...,
    search_criteria_group_id=...,
    search_criteria_trunk_group_name=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemSIPAuthenticationTrunkGroupLockoutGetRequest",
    response_size_limit=...,
    search_criteria_service_provider_id=...,
    search_criteria_exact_organization_type=...,
    search_criteria_group_id=...,
    search_criteria_trunk_group_name=...,
)

print(response)