ServiceProviderAccessDeviceDeviceActivationGetRequest
Bases: OCIRequest
Requests the activation information for a device configured at the Service Provider level. Returns a ServiceProviderAccessDeviceDeviceActivationGetResponse 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 ServiceProviderAccessDeviceDeviceActivationGetRequest. 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 ServiceProviderAccessDeviceDeviceActivationGetRequest
client = Client()
command = ServiceProviderAccessDeviceDeviceActivationGetRequest(
service_provider_id=...,
device_name=...,
)
response = client.command(command)
print(response)