platypush.message.response.printer.cups

class platypush.message.response.printer.cups.PrinterJobAddedResponse(*args, printer: str, job_id: int, **kwargs)[source]
__init__(*args, printer: str, job_id: int, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.printer.cups.PrinterResponse(*args, name: str, printer_type: int, info: str, uri: str, state: int, is_shared: bool, state_message: Optional[str] = None, state_reasons: Optional[List[str]] = None, location: Optional[str] = None, uri_supported: Optional[str] = None, make_and_model: Optional[str] = None, **kwargs)[source]
__init__(*args, name: str, printer_type: int, info: str, uri: str, state: int, is_shared: bool, state_message: Optional[str] = None, state_reasons: Optional[List[str]] = None, location: Optional[str] = None, uri_supported: Optional[str] = None, make_and_model: Optional[str] = None, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.printer.cups.PrintersResponse(*args, printers: List[platypush.message.response.printer.cups.PrinterResponse], **kwargs)[source]
__init__(*args, printers: List[platypush.message.response.printer.cups.PrinterResponse], **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]