public final class WeightedFontFamily
extends com.google.api.client.json.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 Google Docs API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
WeightedFontFamily() |
Modifier and Type | Method and Description |
---|---|
WeightedFontFamily |
clone() |
java.lang.String |
getFontFamily()
The font family of the text.
|
java.lang.Integer |
getWeight()
The weight of the font.
|
WeightedFontFamily |
set(java.lang.String fieldName,
java.lang.Object value) |
WeightedFontFamily |
setFontFamily(java.lang.String fontFamily)
The font family of the text.
|
WeightedFontFamily |
setWeight(java.lang.Integer weight)
The weight of the font.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getFontFamily()
null
for nonepublic WeightedFontFamily setFontFamily(java.lang.String fontFamily)
fontFamily
- fontFamily or null
for nonepublic java.lang.Integer getWeight()
null
for nonepublic WeightedFontFamily setWeight(java.lang.Integer weight)
weight
- weight or null
for nonepublic WeightedFontFamily set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public WeightedFontFamily clone()
clone
in class com.google.api.client.json.GenericJson