Skip to content

SystemThirdPartyIMPGetRequest19

Bases: OCIRequest

Get the system Third-Party IMP service attributes. The response is either SystemThirdPartyIMPGetResponse19 or ErrorResponse.

Attributes:

Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemThirdPartyIMPGetRequest19(OCIRequest):
    """Get the system Third-Party IMP service attributes.
        The response is either SystemThirdPartyIMPGetResponse19 or ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to the SystemThirdPartyIMPGetRequest19. The response contains the system Third-Party IMP service attributes.

Attributes:

service_net_address (Optional[str]):

service_port (Optional[int]):

bosh_url (Optional[str]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemThirdPartyIMPGetResponse19(OCIDataResponse):
    """Response to the SystemThirdPartyIMPGetRequest19.
        The response contains the system Third-Party IMP service attributes.

    Attributes:

        service_net_address (Optional[str]):

        service_port (Optional[int]):

        bosh_url (Optional[str]):

    """

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

    service_port: Optional[int] = field(default=None, metadata={"alias": "servicePort"})

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

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 SystemThirdPartyIMPGetRequest19

client = Client()

command = SystemThirdPartyIMPGetRequest19()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemThirdPartyIMPGetRequest19")

print(response)