GroupGetAvailableTreeDeviceListRequest
Bases: OCIRequest
Requests the list of available tree devices to which leaf devices can be linked to within a specific group. A tree device is a device associated with a device type that has the option supportLinks set to "Support Links from Devices". Many leaf devices can be linked to it. The list returned includes devices created at the system, service provider, and group levels. The response is either GroupGetAvailableTreeDeviceListResponse or ErrorResponse.
Attributes:
service_provider_id (str):
group_id (str):
Source code in src/mercury_ocip_fast/commands/commands.py
Responses
Bases: OCIDataResponse
Response to GroupGetAvailableTreeDeviceListRequest.
Attributes:
tree_device_info (Optional[List[TreeDeviceInfo]]):
Source code in src/mercury_ocip_fast/commands/commands.py
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import GroupGetAvailableTreeDeviceListRequest
client = Client()
command = GroupGetAvailableTreeDeviceListRequest(
service_provider_id=...,
group_id=...,
)
response = client.command(command)
print(response)