public final class Note
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 Keep 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Note() |
Modifier and Type | Method and Description |
---|---|
Note |
clone() |
List<Attachment> |
getAttachments()
Output only.
|
Section |
getBody()
The body of the note.
|
String |
getCreateTime()
Output only.
|
String |
getName()
Output only.
|
List<Permission> |
getPermissions()
Output only.
|
String |
getTitle()
The title of the note.
|
Boolean |
getTrashed()
Output only.
|
String |
getTrashTime()
Output only.
|
String |
getUpdateTime()
Output only.
|
Note |
set(String fieldName,
Object value) |
Note |
setAttachments(List<Attachment> attachments)
Output only.
|
Note |
setBody(Section body)
The body of the note.
|
Note |
setCreateTime(String createTime)
Output only.
|
Note |
setName(String name)
Output only.
|
Note |
setPermissions(List<Permission> permissions)
Output only.
|
Note |
setTitle(String title)
The title of the note.
|
Note |
setTrashed(Boolean trashed)
Output only.
|
Note |
setTrashTime(String trashTime)
Output only.
|
Note |
setUpdateTime(String updateTime)
Output only.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<Attachment> getAttachments()
null
for nonepublic Note setAttachments(List<Attachment> attachments)
attachments
- attachments or null
for nonepublic Section getBody()
null
for nonepublic Note setBody(Section body)
body
- body or null
for nonepublic String getCreateTime()
null
for nonepublic Note setCreateTime(String createTime)
createTime
- createTime or null
for nonepublic String getName()
null
for nonepublic Note setName(String name)
name
- name or null
for nonepublic List<Permission> getPermissions()
null
for nonepublic Note setPermissions(List<Permission> permissions)
permissions
- permissions or null
for nonepublic String getTitle()
null
for nonepublic Note setTitle(String title)
title
- title or null
for nonepublic String getTrashTime()
null
for nonepublic Note setTrashTime(String trashTime)
trashTime
- trashTime or null
for nonepublic Boolean getTrashed()
null
for nonepublic Note setTrashed(Boolean trashed)
trashed
- trashed or null
for nonepublic String getUpdateTime()
null
for nonepublic Note setUpdateTime(String updateTime)
updateTime
- updateTime or null
for nonepublic Note set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Note clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.