target.apidocs.com.google.api.services.drive.model.Comment.QuotedFileContent.html Maven / Gradle / Ivy
Comment.QuotedFileContent (Google Drive API v3-rev20241027-2.0.0)
com.google.api.services.drive.model
Class Comment.QuotedFileContent
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.drive.model.Comment.QuotedFileContent
-
- Enclosing class:
- Comment
public static final class Comment.QuotedFileContent
extends com.google.api.client.json.GenericJson
The file content to which the comment refers, typically within the anchor region. For a text
file, for example, this would be the text at the location of the comment.
-
-
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
QuotedFileContent()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Comment.QuotedFileContent
clone()
String
getMimeType()
The MIME type of the quoted content.
String
getValue()
The quoted content itself.
Comment.QuotedFileContent
set(String fieldName,
Object value)
Comment.QuotedFileContent
setMimeType(String mimeType)
The MIME type of the quoted content.
Comment.QuotedFileContent
setValue(String value)
The quoted content itself.
-
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
-
getMimeType
public String getMimeType()
The MIME type of the quoted content.
- Returns:
- value or
null
for none
-
setMimeType
public Comment.QuotedFileContent setMimeType(String mimeType)
The MIME type of the quoted content.
- Parameters:
mimeType
- mimeType or null
for none
-
getValue
public String getValue()
The quoted content itself. This is interpreted as plain text if set through the API.
- Returns:
- value or
null
for none
-
setValue
public Comment.QuotedFileContent setValue(String value)
The quoted content itself. This is interpreted as plain text if set through the API.
- Parameters:
value
- value or null
for none
-
set
public Comment.QuotedFileContent set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public Comment.QuotedFileContent clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy