UserBasicCallLogsGetListRequest14sp4
Bases: OCIRequest
Request user's call logs. If the callLogType is not specified, all types of calls are returned. The response is either a UserBasicCallLogsGetListResponse14sp4 or an ErrorResponse.
Attributes:
user_id (str):
call_log_type (Optional[str]):
format_name_and_number (Optional[bool]):
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class UserBasicCallLogsGetListRequest14sp4(OCIRequest):
"""Request user's call logs.
If the callLogType is not specified, all types of calls are returned.
The response is either a UserBasicCallLogsGetListResponse14sp4 or an ErrorResponse.
Attributes:
user_id (str):
call_log_type (Optional[str]):
format_name_and_number (Optional[bool]):
"""
user_id: str = field(metadata={"alias": "userId"})
call_log_type: Optional[str] = field(
default=None, metadata={"alias": "callLogType"}
)
format_name_and_number: Optional[bool] = field(
default=None, metadata={"alias": "formatNameAndNumber"}
)
|
Responses
Bases: OCIResponseSource 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 UserBasicCallLogsGetListRequest14sp4
client = Client()
command = UserBasicCallLogsGetListRequest14sp4(
user_id=...,
call_log_type=...,
format_name_and_number=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("UserBasicCallLogsGetListRequest14sp4",
user_id=...,
call_log_type=...,
format_name_and_number=...,
)
print(response)