device.models
Operation: GET /dataservice/device/models
@overload
def get() -> DeviceModelsResponse: ...
Example:
from catalyswan.core import create_client
url = "example.com"
username = "admin"
password = "password123"
with create_client(
url=url, username=username, password=password
) as client:
client.device.models.get()
Operation: GET /dataservice/device/models/{uuid}
@overload
def get(uuid: str) -> Any: ...
Example:
from catalyswan.core import create_client
url = "example.com"
username = "admin"
password = "password123"
with create_client(
url=url, username=username, password=password
) as client:
client.device.models.get()