Skip to content

SystemSecurityClassificationModifyRequest

Bases: OCIRequest

Modify security classification parameters. The response is either a SuccessResponse or an ErrorResponse. NOTE: The security classifications must be specified in order of priority. The command fails if all the security classifications defined for the system are not provided.

Attributes:

meet_me_annc_threshold (Optional[int]):

play_trunk_user_security_classification_announcement (Optional[bool]):

security_classification_name (Optional[List[str]]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemSecurityClassificationModifyRequest(OCIRequest):
    """Modify security classification parameters.
        The response is either a SuccessResponse or an ErrorResponse.
        NOTE: The security classifications must be specified in order of priority. The command fails if all the security classifications defined for the system are not provided.

    Attributes:

        meet_me_annc_threshold (Optional[int]):

        play_trunk_user_security_classification_announcement (Optional[bool]):

        security_classification_name (Optional[List[str]]):

    """

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

    play_trunk_user_security_classification_announcement: Optional[bool] = field(
        default=None,
        metadata={"alias": "playTrunkUserSecurityClassificationAnnouncement"},
    )

    security_classification_name: Optional[List[str]] = field(
        default=None, metadata={"alias": "securityClassificationName"}
    )

Responses

Bases: OCIResponse

Source code in src/mercury_ocip_fast/commands/base_command.py
class SuccessResponse(OCIResponse):
    pass

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 SystemSecurityClassificationModifyRequest

client = Client()

command = SystemSecurityClassificationModifyRequest(
    meet_me_annc_threshold=...,
    play_trunk_user_security_classification_announcement=...,
    security_classification_name=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemSecurityClassificationModifyRequest",
    meet_me_annc_threshold=...,
    play_trunk_user_security_classification_announcement=...,
    security_classification_name=...,
)

print(response)