PrintNode.PrintJobs (ExPrintNode v0.1.3) View Source

API interface for PrintJob operations

Link to this section Summary

Link to this section Functions

Link to this function

create(printjob, options)

View Source

Specs

create(
  %PrintNode.Resources.PrintJob{
    authentication: term(),
    content: term(),
    contentType: term(),
    createTimestamp: term(),
    expireAt: term(),
    id: term(),
    options: term(),
    printer: term(),
    qty: term(),
    source: term(),
    state: term(),
    title: term()
  },
  PrintNode.options()
) :: {:error, String.t()} | {:ok, integer()}
Link to this function

get(printjob_set, options)

View Source

Specs

get(String.t() | integer(), PrintNode.options()) ::
  {:error, String.t()}
  | {:ok,
     [
       %PrintNode.Resources.PrintJob{
         authentication: term(),
         content: term(),
         contentType: term(),
         createTimestamp: term(),
         expireAt: term(),
         id: term(),
         options: term(),
         printer: term(),
         qty: term(),
         source: term(),
         state: term(),
         title: term()
       }
     ]}

Specs

json_to_printjob(map()) :: %PrintNode.Resources.PrintJob{
  authentication: term(),
  content: term(),
  contentType: term(),
  createTimestamp: term(),
  expireAt: term(),
  id: term(),
  options: term(),
  printer: term(),
  qty: term(),
  source: term(),
  state: term(),
  title: term()
}

Specs

list(PrintNode.options()) ::
  {:error, String.t()}
  | {:ok,
     [
       %PrintNode.Resources.PrintJob{
         authentication: term(),
         content: term(),
         contentType: term(),
         createTimestamp: term(),
         expireAt: term(),
         id: term(),
         options: term(),
         printer: term(),
         qty: term(),
         source: term(),
         state: term(),
         title: term()
       }
     ]}
Link to this function

list(printer_set, options)

View Source

Specs

list(String.t(), PrintNode.options()) ::
  {:error, String.t()}
  | {:ok,
     [
       %PrintNode.Resources.PrintJob{
         authentication: term(),
         content: term(),
         contentType: term(),
         createTimestamp: term(),
         expireAt: term(),
         id: term(),
         options: term(),
         printer: term(),
         qty: term(),
         source: term(),
         state: term(),
         title: term()
       }
     ]}