Skip to content

SystemIntegratedIMPGetRequest25

Bases: OCIRequest

Get the system Integrated IMP service attributes. The response is either SystemIntegratedIMPGetResponse25 or ErrorResponse.

Attributes:

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

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to the SystemIntegratedIMPGetRequest25. The response contains the system Integrated IMP service attributes.

The following elements are only used in AS data mode:
  boshURL
  propagateImpErrorDetails

Attributes:

service_domain (Optional[str]):

service_port (Optional[int]):

add_service_provider_in_imp_user_id (bool):

bosh_url (Optional[str]):

allow_imp_password_retrieval (bool):

propagate_imp_error_details (bool):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemIntegratedIMPGetResponse25(OCIDataResponse):
    """Response to the SystemIntegratedIMPGetRequest25.
        The response contains the system Integrated IMP service attributes.

        The following elements are only used in AS data mode:
          boshURL
          propagateImpErrorDetails

    Attributes:

        service_domain (Optional[str]):

        service_port (Optional[int]):

        add_service_provider_in_imp_user_id (bool):

        bosh_url (Optional[str]):

        allow_imp_password_retrieval (bool):

        propagate_imp_error_details (bool):

    """

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

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

    add_service_provider_in_imp_user_id: bool = field(
        metadata={"alias": "addServiceProviderInIMPUserId"}
    )

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

    allow_imp_password_retrieval: bool = field(
        metadata={"alias": "allowImpPasswordRetrieval"}
    )

    propagate_imp_error_details: bool = field(
        metadata={"alias": "propagateImpErrorDetails"}
    )

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 SystemIntegratedIMPGetRequest25

client = Client()

command = SystemIntegratedIMPGetRequest25()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemIntegratedIMPGetRequest25")

print(response)