Skip to content

GroupAdminGetRequest22V3

Bases: OCIRequest

Get a group administrators profile. The response is either a GroupAdminGetResponse22V3 or an ErrorResponse.

Attributes:

user_id (str):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class GroupAdminGetRequest22V3(OCIRequest):
    """Get a group administrators profile.
        The response is either a GroupAdminGetResponse22V3 or an ErrorResponse.

    Attributes:

        user_id (str):

    """

    user_id: str = field(metadata={"alias": "userId"})

Responses

Bases: OCIDataResponse

Response to the GroupAdminGetRequest22V3. The response contains the group administrators profile information.

The following elements are only used in AS data mode and ignored in XS data mode.
accountDisabled
lastAuthenticatedDate
hasPassword

Attributes:

service_provider_id (str):

group_id (str):

first_name (Optional[str]):

last_name (Optional[str]):

language (str):

locale (str):

encoding (str):

account_disabled (bool):

last_authenticated_date (str):

has_password (bool):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class GroupAdminGetResponse22V3(OCIDataResponse):
    """Response to the GroupAdminGetRequest22V3.
        The response contains the group administrators  profile information.

        The following elements are only used in AS data mode and ignored in XS data mode.
        accountDisabled
        lastAuthenticatedDate
        hasPassword

    Attributes:

        service_provider_id (str):

        group_id (str):

        first_name (Optional[str]):

        last_name (Optional[str]):

        language (str):

        locale (str):

        encoding (str):

        account_disabled (bool):

        last_authenticated_date (str):

        has_password (bool):

    """

    service_provider_id: str = field(metadata={"alias": "serviceProviderId"})

    group_id: str = field(metadata={"alias": "groupId"})

    first_name: Optional[str] = field(default=None, metadata={"alias": "firstName"})

    last_name: Optional[str] = field(default=None, metadata={"alias": "lastName"})

    language: str = field(metadata={"alias": "language"})

    locale: str = field(metadata={"alias": "locale"})

    encoding: str = field(metadata={"alias": "encoding"})

    account_disabled: bool = field(metadata={"alias": "accountDisabled"})

    last_authenticated_date: str = field(metadata={"alias": "lastAuthenticatedDate"})

    has_password: bool = field(metadata={"alias": "hasPassword"})

Bases: OCIResponse

Source code in src/mercury_ocip_fast/commands/base_command.py
class ErrorResponse(OCIResponse):
    errorCode: Optional[int] = None
    summary: str
    summaryEnglish: str
    detail: Optional[str] = None

Example Usage

from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import GroupAdminGetRequest22V3

client = Client()

command = GroupAdminGetRequest22V3(
    user_id=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("GroupAdminGetRequest22V3",
    user_id=...,
)

print(response)