Skip to content

ResellerIntegratedIMPGetRequest22

Bases: OCIRequest

Get the Integrated IMP service attributes for the reseller. The response is either ResellerIntegratedIMPGetResponse22 or ErrorResponse.

Attributes:

reseller_id (str):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class ResellerIntegratedIMPGetRequest22(OCIRequest):
    """Get the Integrated IMP service attributes for the reseller.
        The response is either ResellerIntegratedIMPGetResponse22 or ErrorResponse.

    Attributes:

        reseller_id (str):

    """

    reseller_id: str = field(metadata={"alias": "resellerId"})

Responses

Bases: OCIDataResponse

Response to the ResellerIntegratedIMPGetRequest22. The response contains the reseller Integrated IMP service attributes.

Attributes:

use_system_service_domain (bool):

service_domain (Optional[str]):

service_port (Optional[int]):

use_system_messaging_server (bool):

provisioning_url (Optional[str]):

provisioning_user_id (Optional[str]):

bosh_url (Optional[str]):

default_imp_id_type (str):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class ResellerIntegratedIMPGetResponse22(OCIDataResponse):
    """Response to the ResellerIntegratedIMPGetRequest22.
        The response contains the reseller Integrated IMP service attributes.

    Attributes:

        use_system_service_domain (bool):

        service_domain (Optional[str]):

        service_port (Optional[int]):

        use_system_messaging_server (bool):

        provisioning_url (Optional[str]):

        provisioning_user_id (Optional[str]):

        bosh_url (Optional[str]):

        default_imp_id_type (str):

    """

    use_system_service_domain: bool = field(
        metadata={"alias": "useSystemServiceDomain"}
    )

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

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

    use_system_messaging_server: bool = field(
        metadata={"alias": "useSystemMessagingServer"}
    )

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

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

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

    default_imp_id_type: str = field(metadata={"alias": "defaultImpIdType"})

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 ResellerIntegratedIMPGetRequest22

client = Client()

command = ResellerIntegratedIMPGetRequest22(
    reseller_id=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("ResellerIntegratedIMPGetRequest22",
    reseller_id=...,
)

print(response)