jamf_pro_sdk.models.pro.mdm.EnableLostModeCommand

pydantic model EnableLostModeCommand

MDM command to enable Lost Mode.

command = EnableLostModeCommand()
command.lostModeMessage = "Please return me to my owner."
command.lostModePhone = "123-456-7890"
command.lostModeFootnote = "No reward."

Alternatively, unpack a dictionary:

command = EnableLostModeCommand(
    **{
        "lostModeMessage": "Please return me to my owner.",
        "lostModePhone": "123-456-7890",
        "lostModeFootnote": "No reward."
    }
)

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

field commandType: Literal['ENABLE_LOST_MODE'] = 'ENABLE_LOST_MODE'
field lostModeMessage: str [Required]
field lostModePhone: str [Required]
field lostModeFootnote: str [Required]