PrintNode.Computers (ExPrintNode v0.1.3) View Source

API interface for Computer operations

Link to this section Summary

Link to this section Functions

Specs

delete() :: none()
Link to this function

get(computer_set, options)

View Source

Specs

get(String.t() | integer(), PrintNode.options()) ::
  {:error, String.t()}
  | {:ok,
     [
       %PrintNode.Resources.Computer{
         createTimestamp: term(),
         hostname: term(),
         id: term(),
         inet: term(),
         inet6: term(),
         jre: term(),
         name: term(),
         state: term(),
         version: term()
       }
     ]}

Specs

list(PrintNode.options()) ::
  {:error, String.t()}
  | {:ok,
     [
       %PrintNode.Resources.Computer{
         createTimestamp: term(),
         hostname: term(),
         id: term(),
         inet: term(),
         inet6: term(),
         jre: term(),
         name: term(),
         state: term(),
         version: term()
       }
     ]}