ServiceProviderAccessDeviceGetLinkedTreeDeviceRequest
Bases: OCIRequest
Requests the tree device linked with the service provider level leaf device passed in the request. 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. A leaf device is a device associated with a device type that has the option supportLinks set to "Support Link to Device" or "Support Link to Device and User". It can be linked to only one tree device.
The response is either ServiceProviderAccessDeviceGetLinkedTreeDeviceResponse or
ErrorResponse.
Attributes:
service_provider_id (str):
device_name (str):
Source code in src/mercury_ocip_fast/commands/commands.py
Responses
Bases: OCIDataResponse
Response to ServiceProviderAccessDeviceGetLinkedTreeDeviceRequest.
Attributes:
tree_device_info (Optional[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 ServiceProviderAccessDeviceGetLinkedTreeDeviceRequest
client = Client()
command = ServiceProviderAccessDeviceGetLinkedTreeDeviceRequest(
service_provider_id=...,
device_name=...,
)
response = client.command(command)
print(response)