GroupAnnouncementFileGetRequest22
Bases: OCIRequest
Request to get the announcement repository file information.
The following elements are only used in AS data mode and ignored in XS data mode:
announcementFileExternalId
The response is either GroupAnnouncementFileGetResponse22 or ErrorResponse.
Attributes:
service_provider_id (Optional[str]):
group_id (Optional[str]):
announcement_file_key (Optional[AnnouncementFileKey]):
announcement_file_external_id (Optional[str]):
Source code in src/mercury_ocip_fast/commands/commands.py
Responses
Bases: OCIDataResponse
Response to GroupAnnouncementFileGetRequest22. The response contains the file size, uploaded timestamp, description and usage for an announcement file in the user announcement repository. The usage table has columns "Service Name", and "Instance Name". The Service Name values correspond to string values of the GroupService and UserService data types. With the exception of the string "Voice Portal" which is returned when the announcement is being used by Voice Portal Personalized Name.
The following data elements are only used in AS data mode:
announcementFileExternalId
Attributes:
description (str):
filesize (int):
last_uploaded (str):
service_provider_id (str):
group_id (str):
announcement_file_key (AnnouncementFileKey):
announcement_file_external_id (Optional[str]):
usage_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
120479 120480 120481 120482 120483 120484 120485 120486 120487 120488 120489 120490 120491 120492 120493 120494 120495 120496 120497 120498 120499 120500 120501 120502 120503 120504 120505 120506 120507 120508 120509 120510 120511 120512 120513 120514 120515 120516 120517 120518 120519 120520 120521 120522 120523 120524 120525 120526 120527 120528 120529 | |
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import GroupAnnouncementFileGetRequest22
client = Client()
command = GroupAnnouncementFileGetRequest22(
service_provider_id=...,
group_id=...,
announcement_file_key=...,
announcement_file_external_id=...,
)
response = client.command(command)
print(response)