UserPhysicalLocationGetRequest
Bases: OCIRequest
Request the user level data associated with Physical Location. The response is either a UserPhysicalLocationGetResponse or an ErrorResponse.
Attributes:
user_id (str):
Source code in src/mercury_ocip/commands/commands.py
Responses
Bases: OCIDataResponse
Response to UserPhysicalLocationGetRequest.
Attributes:
is_active (bool):
Source code in src/mercury_ocip/commands/commands.py
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import UserPhysicalLocationGetRequest
client = Client()
command = UserPhysicalLocationGetRequest(
user_id=...,
)
response = client.command(command)
print(response)