Skip to content

UserINIntegrationGetRequest

Bases: OCIRequest

Request to get the user level IN Integration service attributes Response is either UserINIntegrationGetResponse or ErrorResponse

Attributes:

user_id (str):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class UserINIntegrationGetRequest(OCIRequest):
    """Request to get the user level IN Integration service attributes
        Response is either UserINIntegrationGetResponse or ErrorResponse

    Attributes:

        user_id (str):

    """

    user_id: str = field(metadata={"alias": "userId"})

Responses

Bases: OCIDataResponse

Response to UserINIntegrationGetRequest

Attributes:

originating_service_key (Optional[int]):

terminating_service_key (Optional[int]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class UserINIntegrationGetResponse(OCIDataResponse):
    """Response to UserINIntegrationGetRequest

    Attributes:

        originating_service_key (Optional[int]):

        terminating_service_key (Optional[int]):

    """

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

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

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 UserINIntegrationGetRequest

client = Client()

command = UserINIntegrationGetRequest(
    user_id=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("UserINIntegrationGetRequest",
    user_id=...,
)

print(response)