Skip to content

SystemDeviceManagementTagSetGetListRequest22

Bases: OCIRequest

Request to get the list of custom configuration tag sets managed by the Device Management System. If excludeReseller is set, only system level tag sets are returned. If resellerId is specified, all system level tag sets and the tag sets in the reseller are returned. If reseller administrator sends the request, resellerId is not specified, the administrator's resellerId is used. If neither excludeReseller nor resellerId is specified, all system level and reseller level tag sets are returned.

The response is either SystemDeviceManagementTagSetGetListResponse22 or ErrorResponse.

Attributes:

exclude_reseller (Optional[bool]):

reseller_id (Optional[str]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemDeviceManagementTagSetGetListRequest22(OCIRequest):
    """Request to get the list of custom configuration tag sets managed by the Device Management System.
        If excludeReseller is set, only system level tag sets are returned.
        If resellerId is specified, all system level tag sets and the tag sets in the reseller are returned.
        If reseller administrator sends the request, resellerId is not specified, the administrator's resellerId is used.
        If neither excludeReseller nor resellerId is specified, all system level and reseller level tag sets are returned.

        The response is either SystemDeviceManagementTagSetGetListResponse22 or ErrorResponse.

    Attributes:

        exclude_reseller (Optional[bool]):

        reseller_id (Optional[str]):

    """

    exclude_reseller: Optional[bool] = field(
        default=None, metadata={"alias": "excludeReseller"}
    )

    reseller_id: Optional[str] = field(default=None, metadata={"alias": "resellerId"})

Responses

Bases: OCIDataResponse

Response to SystemDeviceManagementTagSetGetListRequest22. The response includes a table of tag set names defined in the system. Column headings are: "Tag Set Name", "Reseller Id".

The following columns are only returned in AS data mode:
  "Reseller Id"
The system default tag set name is not part of this response.

Attributes:

tag_set_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemDeviceManagementTagSetGetListResponse22(OCIDataResponse):
    """Response to SystemDeviceManagementTagSetGetListRequest22.
        The response includes a table of tag set names defined in the system.
        Column headings are: \"Tag Set Name\", \"Reseller Id\".

        The following columns are only returned in AS data mode:
          \"Reseller Id\"
        The system default tag set name is not part of this response.

    Attributes:

        tag_set_table (OCITable):

    """

    tag_set_table: OCITable = field(metadata={"alias": "tagSetTable"})

Bases: OCIResponse

Source code in src/mercury_ocip_fast/commands/base_command.py
class ErrorResponse(OCIResponse):
    errorCode: Optional[int] = None
    summary: str
    summaryEnglish: str
    detail: Optional[str] = None

Example Usage

from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import SystemDeviceManagementTagSetGetListRequest22

client = Client()

command = SystemDeviceManagementTagSetGetListRequest22(
    exclude_reseller=...,
    reseller_id=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemDeviceManagementTagSetGetListRequest22",
    exclude_reseller=...,
    reseller_id=...,
)

print(response)