Bases: OCIRequest
Request to get the custom configuration tag set defined at the access device. The response is either SystemAccessDeviceTagSetGetResponse or ErrorResponse.
Attributes:
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class SystemAccessDeviceTagSetGetRequest(OCIRequest):
"""Request to get the custom configuration tag set defined at the access device.
The response is either SystemAccessDeviceTagSetGetResponse or ErrorResponse.
Attributes:
device_name (str):
"""
device_name: str = field(metadata={"alias": "deviceName"})
|
Responses
Bases: OCIDataResponse
Response to SystemAccessDeviceTagSetGetRequest. The response includes a tag set name defined in the access device.
Attributes:
tag_set_name (Optional[str]):
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class SystemAccessDeviceTagSetGetResponse(OCIDataResponse):
"""Response to SystemAccessDeviceTagSetGetRequest.
The response includes a tag set name defined in the access device.
Attributes:
tag_set_name (Optional[str]):
"""
tag_set_name: Optional[str] = field(default=None, metadata={"alias": "tagSetName"})
|
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 SystemAccessDeviceTagSetGetRequest
client = Client()
command = SystemAccessDeviceTagSetGetRequest(
device_name=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("SystemAccessDeviceTagSetGetRequest",
device_name=...,
)
print(response)