Skip to content

GroupGetUserServiceAssignedUserListRequest

Bases: OCIRequest

Get the list of users assigned the user service or service pack. The response is either a GroupGetUserServiceAssignedUserListResponse or an ErrorResponse.

Attributes:

service_provider_id (str):

group_id (str):

service_name (Optional[str]):

service_pack_name (Optional[str]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class GroupGetUserServiceAssignedUserListRequest(OCIRequest):
    """Get the list of users assigned the user service or service pack.
        The response is either a GroupGetUserServiceAssignedUserListResponse or an ErrorResponse.

    Attributes:

        service_provider_id (str):

        group_id (str):

        service_name (Optional[str]):

        service_pack_name (Optional[str]):

    """

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

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

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

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

Responses

Bases: OCIDataResponse

Return a table containing the list of users assigned the user service or service pack. The table contains columns: "User Id", "Last Name", "First Name", "Department", "Phone Number", "Email Address", "Hiragana Last Name"; "Hiragana First Name", "Extension". This is a response to the GroupGetUserServiceAssignedUserListRequest.

Attributes:

user_list_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class GroupGetUserServiceAssignedUserListResponse(OCIDataResponse):
    """Return a table containing the list of users assigned the user service
        or service pack.  The table contains columns: \"User Id\", \"Last Name\",
        \"First Name\", \"Department\", \"Phone Number\", \"Email Address\", \"Hiragana Last Name\";
        \"Hiragana First Name\", \"Extension\".
        This is a response to the GroupGetUserServiceAssignedUserListRequest.

    Attributes:

        user_list_table (OCITable):

    """

    user_list_table: OCITable = field(metadata={"alias": "userListTable"})

Bases: OCIResponse

Source 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 GroupGetUserServiceAssignedUserListRequest

client = Client()

command = GroupGetUserServiceAssignedUserListRequest(
    service_provider_id=...,
    group_id=...,
    service_name=...,
    service_pack_name=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("GroupGetUserServiceAssignedUserListRequest",
    service_provider_id=...,
    group_id=...,
    service_name=...,
    service_pack_name=...,
)

print(response)