target.apidocs.com.google.api.services.directory.model.PrinterModel.html Maven / Gradle / Ivy
PrinterModel (Admin SDK API directory_v1-rev20220606-1.32.1)
com.google.api.services.directory.model
Class PrinterModel
- 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.PrinterModel
-
public final class PrinterModel
extends GenericJson
Printer manufacturer and model
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
PrinterModel()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
PrinterModel
clone()
String
getDisplayName()
Display name.
String
getMakeAndModel()
Make and model as represented in "make_and_model" field in Printer object.
String
getManufacturer()
Manufacturer.
PrinterModel
set(String fieldName,
Object value)
PrinterModel
setDisplayName(String displayName)
Display name.
PrinterModel
setMakeAndModel(String makeAndModel)
Make and model as represented in "make_and_model" field in Printer object.
PrinterModel
setManufacturer(String manufacturer)
Manufacturer.
-
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
-
getDisplayName
public String getDisplayName()
Display name. eq. "Brother MFC-8840D"
- Returns:
- value or
null
for none
-
setDisplayName
public PrinterModel setDisplayName(String displayName)
Display name. eq. "Brother MFC-8840D"
- Parameters:
displayName
- displayName or null
for none
-
getMakeAndModel
public String getMakeAndModel()
Make and model as represented in "make_and_model" field in Printer object. eq. "brother mfc-
8840d"
- Returns:
- value or
null
for none
-
setMakeAndModel
public PrinterModel setMakeAndModel(String makeAndModel)
Make and model as represented in "make_and_model" field in Printer object. eq. "brother mfc-
8840d"
- Parameters:
makeAndModel
- makeAndModel or null
for none
-
getManufacturer
public String getManufacturer()
Manufacturer. eq. "Brother"
- Returns:
- value or
null
for none
-
setManufacturer
public PrinterModel setManufacturer(String manufacturer)
Manufacturer. eq. "Brother"
- Parameters:
manufacturer
- manufacturer or null
for none
-
set
public PrinterModel set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public PrinterModel clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.