target.apidocs.com.google.api.services.directory.model.Printer.html Maven / Gradle / Ivy
Printer (Admin SDK API directory_v1-rev20220606-1.32.1)
com.google.api.services.directory.model
Class Printer
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.directory.model.Printer
-
public final class Printer
extends GenericJson
Printer configuration.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
Printer()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAuxiliaryMessages
public List<AuxiliaryMessage> getAuxiliaryMessages()
Output only. Auxiliary messages about issues with the printer configuration if any.
- Returns:
- value or
null
for none
-
setAuxiliaryMessages
public Printer setAuxiliaryMessages(List<AuxiliaryMessage> auxiliaryMessages)
Output only. Auxiliary messages about issues with the printer configuration if any.
- Parameters:
auxiliaryMessages
- auxiliaryMessages or null
for none
-
getCreateTime
public String getCreateTime()
Output only. Time when printer was created.
- Returns:
- value or
null
for none
-
setCreateTime
public Printer setCreateTime(String createTime)
Output only. Time when printer was created.
- Parameters:
createTime
- createTime or null
for none
-
getDescription
public String getDescription()
Editable. Description of printer.
- Returns:
- value or
null
for none
-
setDescription
public Printer setDescription(String description)
Editable. Description of printer.
- Parameters:
description
- description or null
for none
-
getDisplayName
public String getDisplayName()
Editable. Name of printer.
- Returns:
- value or
null
for none
-
setDisplayName
public Printer setDisplayName(String displayName)
Editable. Name of printer.
- Parameters:
displayName
- displayName or null
for none
-
getId
public String getId()
Id of the printer. (During printer creation leave empty)
- Returns:
- value or
null
for none
-
setId
public Printer setId(String id)
Id of the printer. (During printer creation leave empty)
- Parameters:
id
- id or null
for none
-
getMakeAndModel
public String getMakeAndModel()
Editable. Make and model of printer. e.g. Lexmark MS610de Value must be in format as seen in
ListPrinterModels response.
- Returns:
- value or
null
for none
-
setMakeAndModel
public Printer setMakeAndModel(String makeAndModel)
Editable. Make and model of printer. e.g. Lexmark MS610de Value must be in format as seen in
ListPrinterModels response.
- Parameters:
makeAndModel
- makeAndModel or null
for none
-
getName
public String getName()
The resource name of the Printer object, in the format customers/{customer-id}/printers
/{printer-id} (During printer creation leave empty)
- Returns:
- value or
null
for none
-
setName
public 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)
- Parameters:
name
- name or null
for none
-
getOrgUnitId
public String getOrgUnitId()
Organization Unit that owns this printer (Only can be set during Printer creation)
- Returns:
- value or
null
for none
-
setOrgUnitId
public Printer setOrgUnitId(String orgUnitId)
Organization Unit that owns this printer (Only can be set during Printer creation)
- Parameters:
orgUnitId
- orgUnitId or null
for none
-
getUri
public String getUri()
Editable. Printer URI.
- Returns:
- value or
null
for none
-
setUri
public Printer setUri(String uri)
Editable. Printer URI.
- Parameters:
uri
- uri or null
for none
-
getUseDriverlessConfig
public Boolean getUseDriverlessConfig()
Editable. flag to use driverless configuration or not. If it's set to be true, make_and_model
can be ignored
- Returns:
- value or
null
for none
-
setUseDriverlessConfig
public Printer setUseDriverlessConfig(Boolean useDriverlessConfig)
Editable. flag to use driverless configuration or not. If it's set to be true, make_and_model
can be ignored
- Parameters:
useDriverlessConfig
- useDriverlessConfig or null
for none
-
set
public Printer set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public Printer clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.