ServiceProviderGetAvailableLeafDeviceListRequest22
Bases: OCIRequest
Requests the list of available leaf devices that can be linked to a tree device within a specific service provider. 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 list returned includes devices created at the system, service provider, and group levels. If the leafDeviceCategory is not set in the request, then linked leaf devices of all categories are requested, otherwise only the linked leaf devices of the specified category are requested. The category values are: "Handset", "Base Station", "All". The response is either ServiceProviderGetAvailableLeafDeviceListResponse22 or ErrorResponse.
Attributes:
service_provider_id (str):
leaf_device_category (Optional[str]):
Source code in src/mercury_ocip/commands/commands.py
Responses
Bases: OCIDataResponse
Response to ServiceProviderGetAvailableLeafDeviceListRequest22.
Attributes:
leaf_device_key (Optional[List[AccessDeviceKey]]):
support_links (Optional[List[str]]):
Source code in src/mercury_ocip/commands/commands.py
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import ServiceProviderGetAvailableLeafDeviceListRequest22
client = Client()
command = ServiceProviderGetAvailableLeafDeviceListRequest22(
service_provider_id=...,
leaf_device_category=...,
)
response = client.command(command)
print(response)