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
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
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)