target.apidocs.com.google.api.services.sheets.v4.model.PasteDataRequest.html Maven / Gradle / Ivy
PasteDataRequest (Google Sheets API v4-rev20240312-2.0.0)
com.google.api.services.sheets.v4.model
Class PasteDataRequest
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.sheets.v4.model.PasteDataRequest
-
public final class PasteDataRequest
extends com.google.api.client.json.GenericJson
Inserts data into the spreadsheet starting at the specified coordinate.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.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
PasteDataRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
PasteDataRequest
clone()
GridCoordinate
getCoordinate()
The coordinate at which the data should start being inserted.
String
getData()
The data to insert.
String
getDelimiter()
The delimiter in the data.
Boolean
getHtml()
True if the data is HTML.
String
getType()
How the data should be pasted.
PasteDataRequest
set(String fieldName,
Object value)
PasteDataRequest
setCoordinate(GridCoordinate coordinate)
The coordinate at which the data should start being inserted.
PasteDataRequest
setData(String data)
The data to insert.
PasteDataRequest
setDelimiter(String delimiter)
The delimiter in the data.
PasteDataRequest
setHtml(Boolean html)
True if the data is HTML.
PasteDataRequest
setType(String type)
How the data should be pasted.
-
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
-
getCoordinate
public GridCoordinate getCoordinate()
The coordinate at which the data should start being inserted.
- Returns:
- value or
null
for none
-
setCoordinate
public PasteDataRequest setCoordinate(GridCoordinate coordinate)
The coordinate at which the data should start being inserted.
- Parameters:
coordinate
- coordinate or null
for none
-
getData
public String getData()
The data to insert.
- Returns:
- value or
null
for none
-
setData
public PasteDataRequest setData(String data)
The data to insert.
- Parameters:
data
- data or null
for none
-
getDelimiter
public String getDelimiter()
The delimiter in the data.
- Returns:
- value or
null
for none
-
setDelimiter
public PasteDataRequest setDelimiter(String delimiter)
The delimiter in the data.
- Parameters:
delimiter
- delimiter or null
for none
-
getHtml
public Boolean getHtml()
True if the data is HTML.
- Returns:
- value or
null
for none
-
setHtml
public PasteDataRequest setHtml(Boolean html)
True if the data is HTML.
- Parameters:
html
- html or null
for none
-
getType
public String getType()
How the data should be pasted.
- Returns:
- value or
null
for none
-
setType
public PasteDataRequest setType(String type)
How the data should be pasted.
- Parameters:
type
- type or null
for none
-
set
public PasteDataRequest set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public PasteDataRequest clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.