Skip to content

SystemOfficeZoneGetAssignedServiceProviderListRequest

Bases: OCIRequest

Request a list of service providers that have a given Office Zone assigned. The response is either a SystemOfficeZoneGetAssignedServiceProviderListResponse or ErrorResponse.

Attributes:

office_zone_name (str):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemOfficeZoneGetAssignedServiceProviderListRequest(OCIRequest):
    """Request a list of service providers that have a given Office Zone assigned.  The response is either a SystemOfficeZoneGetAssignedServiceProviderListResponse or ErrorResponse.

    Attributes:

        office_zone_name (str):

    """

    office_zone_name: str = field(metadata={"alias": "officeZoneName"})

Responses

Bases: OCIDataResponse

Response to the SystemOfficeZoneGetAssignedServiceProviderListRequest. The response contains a table of all Service Providers that have the given Office Zone assigned. The column headings are "Service Provider Id", "Service Provider Name" and "Is Enterprise".

Attributes:

service_provider_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemOfficeZoneGetAssignedServiceProviderListResponse(OCIDataResponse):
    """Response to the
        SystemOfficeZoneGetAssignedServiceProviderListRequest.
        The response contains a table of all Service Providers that have the given Office Zone assigned. The column headings are
        \"Service Provider Id\", \"Service Provider Name\" and \"Is Enterprise\".

    Attributes:

        service_provider_table (OCITable):

    """

    service_provider_table: OCITable = field(metadata={"alias": "serviceProviderTable"})

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 SystemOfficeZoneGetAssignedServiceProviderListRequest

client = Client()

command = SystemOfficeZoneGetAssignedServiceProviderListRequest(
    office_zone_name=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemOfficeZoneGetAssignedServiceProviderListRequest",
    office_zone_name=...,
)

print(response)