Skip to content

SystemAdviceOfChargeCostInformationSourceGetListRequest

Bases: OCIRequest

Get a list of cost information sources. The response is either SystemAdviceOfChargeCostInformationSourceGetListResponse or ErrorResponse.

Attributes:

Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemAdviceOfChargeCostInformationSourceGetListRequest(OCIRequest):
    """Get a list of cost information sources.
        The response is either SystemAdviceOfChargeCostInformationSourceGetListResponse or ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemAdviceOfChargeCostInformationSourceGetListRequest. Contains a table with column headings: "PeerIdentity", "Priority"

Attributes:

cost_information_source_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemAdviceOfChargeCostInformationSourceGetListResponse(OCIDataResponse):
    """Response to SystemAdviceOfChargeCostInformationSourceGetListRequest.
        Contains a table with column headings: \"PeerIdentity\", \"Priority\"

    Attributes:

        cost_information_source_table (OCITable):

    """

    cost_information_source_table: OCITable = field(
        metadata={"alias": "costInformationSourceTable"}
    )

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 SystemAdviceOfChargeCostInformationSourceGetListRequest

client = Client()

command = SystemAdviceOfChargeCostInformationSourceGetListRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemAdviceOfChargeCostInformationSourceGetListRequest")

print(response)