Skip to content

GroupAccessDeviceGetNativeTagsWithLogicListRequest

Bases: OCIRequest

Get the list of all native tags with logic managed by the Device Management System, on a per-device profile basis. The response is either GroupAccessDeviceGetAvailableCustomTagListResponse or ErrorResponse.

Attributes:

service_provider_id (str):

group_id (str):

device_name (str):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class GroupAccessDeviceGetNativeTagsWithLogicListRequest(OCIRequest):
    """Get the list of all native tags with logic managed by the Device Management System, on a per-device profile basis.
        The response is either GroupAccessDeviceGetAvailableCustomTagListResponse or ErrorResponse.

    Attributes:

        service_provider_id (str):

        group_id (str):

        device_name (str):

    """

    service_provider_id: str = field(metadata={"alias": "serviceProviderId"})

    group_id: str = field(metadata={"alias": "groupId"})

    device_name: str = field(metadata={"alias": "deviceName"})

Responses

Bases: OCIDataResponse

Response to GroupAccessDeviceGetAvailableCustomTagListRequest. Contains a table of all available custom tags managed by the Device Management System on a per-device profile basis.

In AS data mode, the column headings are: "Tag Name", "Tag Value", "Tag Level", "Tag Set Name", "Region Name".

In XS data mode:
  the column headings are: "Tag Name", "Tag Value", "Tag Level", "Tag Set Name", "Is Encrypted" if request is invoked by a System administrator or by an administrator with higher priviledges, otherwise the column headings are: "Tag Name", "Tag Value", "Tag Level", "Tag Source", "Tag Set Name".

"Tag Level" can take the value: "System Default", "System", "Service Provider", "Group" or "Device Profile".

Attributes:

device_available_custom_tags_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class GroupAccessDeviceGetAvailableCustomTagListResponse(OCIDataResponse):
    """Response to GroupAccessDeviceGetAvailableCustomTagListRequest.
        Contains a table of all available custom tags managed by the Device Management System on a per-device profile basis.

        In AS data mode, the column headings are: \"Tag Name\", \"Tag Value\", \"Tag Level\", \"Tag Set Name\", \"Region Name\".

        In XS data mode:
          the column headings are: \"Tag Name\", \"Tag Value\", \"Tag Level\", \"Tag Set Name\", \"Is Encrypted\" if request is invoked by a System administrator or by an administrator with higher priviledges, otherwise the column headings are: \"Tag Name\", \"Tag Value\", \"Tag Level\", \"Tag Source\", \"Tag Set Name\".

        \"Tag Level\" can take the value: \"System Default\", \"System\", \"Service Provider\", \"Group\" or \"Device Profile\".

    Attributes:

        device_available_custom_tags_table (OCITable):

    """

    device_available_custom_tags_table: OCITable = field(
        metadata={"alias": "deviceAvailableCustomTagsTable"}
    )

Bases: OCIResponse

Source 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 GroupAccessDeviceGetNativeTagsWithLogicListRequest

client = Client()

command = GroupAccessDeviceGetNativeTagsWithLogicListRequest(
    service_provider_id=...,
    group_id=...,
    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("GroupAccessDeviceGetNativeTagsWithLogicListRequest",
    service_provider_id=...,
    group_id=...,
    device_name=...,
)

print(response)