ResellerCallRecordingGetRequest
Bases: OCIRequest
Get the Call Recording attribute for a reseller. The response is either a ResellerCallRecordingGetResponse or an ErrorResponse.
Attributes:
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class ResellerCallRecordingGetRequest(OCIRequest):
"""Get the Call Recording attribute for a reseller.
The response is either a ResellerCallRecordingGetResponse or an ErrorResponse.
Attributes:
reseller_id (str):
"""
reseller_id: str = field(metadata={"alias": "resellerId"})
|
Responses
Bases: OCIDataResponse
Response to the ResellerCallRecordingGetRequest. The response contains the reseller’s Call Recording attribute.
Attributes:
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class ResellerCallRecordingGetResponse(OCIDataResponse):
"""Response to the ResellerCallRecordingGetRequest.
The response contains the reseller’s Call Recording attribute.
Attributes:
fqdn (Optional[str]):
"""
fqdn: Optional[str] = field(default=None, metadata={"alias": "FQDN"})
|
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 ResellerCallRecordingGetRequest
client = Client()
command = ResellerCallRecordingGetRequest(
reseller_id=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("ResellerCallRecordingGetRequest",
reseller_id=...,
)
print(response)