Skip to content

SystemSIPGetContentTypeListRequest

Bases: OCIRequest

Get the content type list for the SIP interface. The response is either SystemSIPGetContentTypeListResponse or ErrorResponse.

Attributes:

Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemSIPGetContentTypeListRequest(OCIRequest):
    """Get the content type list for the SIP interface.
        The response is either SystemSIPGetContentTypeListResponse or ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemSIPGetContentTypeListRequest. Returns a 2 column table with column headings: "Content Type" and "Supported Interface".

Attributes:

content_type_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemSIPGetContentTypeListResponse(OCIDataResponse):
    """Response to SystemSIPGetContentTypeListRequest.
        Returns a 2 column table with column headings:
          \"Content Type\" and \"Supported Interface\".

    Attributes:

        content_type_table (OCITable):

    """

    content_type_table: OCITable = field(metadata={"alias": "contentTypeTable"})

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 SystemSIPGetContentTypeListRequest

client = Client()

command = SystemSIPGetContentTypeListRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemSIPGetContentTypeListRequest")

print(response)