UserDeviceActivationPolicyInEffectGetRequest
Bases: OCIRequest
Request the Device Activation policies in effect for the user. The response is either a UserDeviceActivationPolicyInEffectGetResponse or an ErrorResponse.
Attributes:
user_id (str):
Source code in src/mercury_ocip_fast/commands/commands.py
Responses
Bases: OCIDataResponse
Response to UserDeviceActivationPolicyInEffectGetRequest.
Attributes:
allow_activation_code_request_by_user (bool):
send_activation_code_in_email (bool):
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 UserDeviceActivationPolicyInEffectGetRequest
client = Client()
command = UserDeviceActivationPolicyInEffectGetRequest(
user_id=...,
)
response = client.command(command)
print(response)