Skip to content

GroupNetworkClassOfServiceGetAssignedListRequest

Bases: OCIRequest

Get a list of Network Classes of Service assigned to a group. The response is either a GroupNetworkClassOfServiceGetAssignedListResponse or an ErorResponse.

Attributes:

service_provider_id (str):

group_id (str):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class GroupNetworkClassOfServiceGetAssignedListRequest(OCIRequest):
    """Get a list of Network Classes of Service assigned to a group.
        The response is either a GroupNetworkClassOfServiceGetAssignedListResponse
        or an ErorResponse.

    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

Response to GroupNetworkClassOfServiceGetAssignedListRequest. Contains a table of all Network Classes of Service assigned to the group. The column headings are: "Name", "Description" and "Default".

Attributes:

network_class_of_service_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class GroupNetworkClassOfServiceGetAssignedListResponse(OCIDataResponse):
    """Response to GroupNetworkClassOfServiceGetAssignedListRequest.
        Contains a table of all Network Classes of Service assigned to
        the group. The column headings are: \"Name\", \"Description\" and \"Default\".

    Attributes:

        network_class_of_service_table (OCITable):

    """

    network_class_of_service_table: OCITable = field(
        metadata={"alias": "networkClassOfServiceTable"}
    )

Example Usage

from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import GroupNetworkClassOfServiceGetAssignedListRequest

client = Client()

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

print(response)