GroupAccessDeviceDeviceActivationGetRequest
Bases: OCIRequest
Requests the activation information for a device configured at the Group level. Returns a GroupAccessDeviceDeviceActivationGetResponse or ErrorResponse.
Attributes:
service_provider_id (str):
group_id (str):
device_name (str):
Source code in src/mercury_ocip_fast/commands/commands.py
Responses
Bases: OCIDataResponse
Response to GroupAccessDeviceDeviceActivationGetRequest. The response contains the activation code (if available), the expiry time (if available) and the activation state. The expiryTime is represented as a timestamp, i.e. the number of milliseconds since January 1, 1970, 00:00:00 GMT.
Attributes:
activation_code (Optional[str]):
expiry_time (Optional[int]):
activation_state (str):
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 GroupAccessDeviceDeviceActivationGetRequest
client = Client()
command = GroupAccessDeviceDeviceActivationGetRequest(
service_provider_id=...,
group_id=...,
device_name=...,
)
response = client.command(command)
print(response)