Skip to content

SystemSelectiveServicesGetRequest22

Bases: OCIRequest

Request the system level data associated with Selective Services. The response is either a SystemSelectiveServicesGetResponse22 or an ErrorResponse.

Attributes:

Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemSelectiveServicesGetRequest22(OCIRequest):
    """Request the system level data associated with Selective Services.
        The response is either a SystemSelectiveServicesGetResponse22 or an
        ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemSelectiveServicesGetRequest22.

Attributes:

schedule_combination (str):

screen_private_number (bool):

empty_holiday_schedule_is_out_of_schedule (bool):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemSelectiveServicesGetResponse22(OCIDataResponse):
    """Response to SystemSelectiveServicesGetRequest22.

    Attributes:

        schedule_combination (str):

        screen_private_number (bool):

        empty_holiday_schedule_is_out_of_schedule (bool):

    """

    schedule_combination: str = field(metadata={"alias": "scheduleCombination"})

    screen_private_number: bool = field(metadata={"alias": "screenPrivateNumber"})

    empty_holiday_schedule_is_out_of_schedule: bool = field(
        metadata={"alias": "emptyHolidayScheduleIsOutOfSchedule"}
    )

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 SystemSelectiveServicesGetRequest22

client = Client()

command = SystemSelectiveServicesGetRequest22()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemSelectiveServicesGetRequest22")

print(response)