Skip to content

GroupDomainGetAssignedListRequest

Bases: OCIRequest

Requests the list of all domains assigned to a group. The response is either GroupDomainGetAssignedListResponse or ErrorResponse.

Attributes:

service_provider_id (str):

group_id (str):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class GroupDomainGetAssignedListRequest(OCIRequest):
    """Requests the list of all domains assigned to a group.
        The response is either GroupDomainGetAssignedListResponse or ErrorResponse.

    Attributes:

        service_provider_id (str):

        group_id (str):

    """

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

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

Responses

Bases: OCIDataResponse

Contains a simple list of all group domain names.

Attributes:

group_default_domain (str):

domain (Optional[List[str]]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class GroupDomainGetAssignedListResponse(OCIDataResponse):
    """Contains a simple list of all group domain names.

    Attributes:

        group_default_domain (str):

        domain (Optional[List[str]]):

    """

    group_default_domain: str = field(metadata={"alias": "groupDefaultDomain"})

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

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 GroupDomainGetAssignedListRequest

client = Client()

command = GroupDomainGetAssignedListRequest(
    service_provider_id=...,
    group_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("GroupDomainGetAssignedListRequest",
    service_provider_id=...,
    group_id=...,
)

print(response)