UserExecutiveGetFilteringSelectiveCriteriaRequest21
Bases: OCIRequest
Get a filtering criteria for an executive user. Both executive and the executive assistant can run this command. The response is either UserExecutiveGetSelectiveCriteriaResponse21 or ErrorResponse.
Attributes:
user_id (str):
criteria_name (str):
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class UserExecutiveGetFilteringSelectiveCriteriaRequest21(OCIRequest):
"""Get a filtering criteria for an executive user.
Both executive and the executive assistant can run this command.
The response is either UserExecutiveGetSelectiveCriteriaResponse21 or ErrorResponse.
Attributes:
user_id (str):
criteria_name (str):
"""
user_id: str = field(metadata={"alias": "userId"})
criteria_name: str = field(metadata={"alias": "criteriaName"})
|
Responses
Bases: OCIResponseSource code in src/mercury_ocip/commands/base_command.py
| class ErrorResponse(OCIResponse):
errorCode: Optional[int] = None
summary: str
summaryEnglish: str
detail: Optional[str] = None
|
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import UserExecutiveGetFilteringSelectiveCriteriaRequest21
client = Client()
command = UserExecutiveGetFilteringSelectiveCriteriaRequest21(
user_id=...,
criteria_name=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("UserExecutiveGetFilteringSelectiveCriteriaRequest21",
user_id=...,
criteria_name=...,
)
print(response)