public final class Printer extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Admin SDK API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Printer() |
Modifier and Type | Method and Description |
---|---|
Printer |
clone() |
List<AuxiliaryMessage> |
getAuxiliaryMessages()
Output only.
|
String |
getCreateTime()
Output only.
|
String |
getDescription()
Editable.
|
String |
getDisplayName()
Editable.
|
String |
getId()
Id of the printer.
|
String |
getMakeAndModel()
Editable.
|
String |
getName()
The resource name of the Printer object, in the format customers/{customer-id}/printers
/{printer-id} (During printer creation leave empty)
|
String |
getOrgUnitId()
Organization Unit that owns this printer (Only can be set during Printer creation)
|
String |
getUri()
Editable.
|
Boolean |
getUseDriverlessConfig()
Editable.
|
Printer |
set(String fieldName,
Object value) |
Printer |
setAuxiliaryMessages(List<AuxiliaryMessage> auxiliaryMessages)
Output only.
|
Printer |
setCreateTime(String createTime)
Output only.
|
Printer |
setDescription(String description)
Editable.
|
Printer |
setDisplayName(String displayName)
Editable.
|
Printer |
setId(String id)
Id of the printer.
|
Printer |
setMakeAndModel(String makeAndModel)
Editable.
|
Printer |
setName(String name)
The resource name of the Printer object, in the format customers/{customer-id}/printers
/{printer-id} (During printer creation leave empty)
|
Printer |
setOrgUnitId(String orgUnitId)
Organization Unit that owns this printer (Only can be set during Printer creation)
|
Printer |
setUri(String uri)
Editable.
|
Printer |
setUseDriverlessConfig(Boolean useDriverlessConfig)
Editable.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<AuxiliaryMessage> getAuxiliaryMessages()
null
for nonepublic Printer setAuxiliaryMessages(List<AuxiliaryMessage> auxiliaryMessages)
auxiliaryMessages
- auxiliaryMessages or null
for nonepublic String getCreateTime()
null
for nonepublic Printer setCreateTime(String createTime)
createTime
- createTime or null
for nonepublic String getDescription()
null
for nonepublic Printer setDescription(String description)
description
- description or null
for nonepublic String getDisplayName()
null
for nonepublic Printer setDisplayName(String displayName)
displayName
- displayName or null
for nonepublic String getId()
null
for nonepublic Printer setId(String id)
id
- id or null
for nonepublic String getMakeAndModel()
null
for nonepublic Printer setMakeAndModel(String makeAndModel)
makeAndModel
- makeAndModel or null
for nonepublic String getName()
null
for nonepublic Printer setName(String name)
name
- name or null
for nonepublic String getOrgUnitId()
null
for nonepublic Printer setOrgUnitId(String orgUnitId)
orgUnitId
- orgUnitId or null
for nonepublic String getUri()
null
for nonepublic Printer setUri(String uri)
uri
- uri or null
for nonepublic Boolean getUseDriverlessConfig()
null
for nonepublic Printer setUseDriverlessConfig(Boolean useDriverlessConfig)
useDriverlessConfig
- useDriverlessConfig or null
for nonepublic Printer set(String fieldName, Object value)
set
in class GenericJson
public Printer clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.