public final class LineStyle
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 Sheets 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 |
---|
LineStyle() |
Modifier and Type | Method and Description |
---|---|
LineStyle |
clone() |
java.lang.String |
getType()
The dash type of the line.
|
java.lang.Integer |
getWidth()
The thickness of the line, in px.
|
LineStyle |
set(java.lang.String fieldName,
java.lang.Object value) |
LineStyle |
setType(java.lang.String type)
The dash type of the line.
|
LineStyle |
setWidth(java.lang.Integer width)
The thickness of the line, in px.
|
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 getType()
null
for nonepublic LineStyle setType(java.lang.String type)
type
- type or null
for nonepublic java.lang.Integer getWidth()
null
for nonepublic LineStyle setWidth(java.lang.Integer width)
width
- width or null
for nonepublic LineStyle set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public LineStyle clone()
clone
in class com.google.api.client.json.GenericJson