public final class Approval
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 Drive 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Approval() |
| Modifier and Type | Method and Description |
|---|---|
Approval |
clone() |
String |
getApprovalId()
The Approval ID.
|
String |
getCompleteTime()
Output only.
|
String |
getCreateTime()
Output only.
|
String |
getDueTime()
The time that the approval is due.
|
User |
getInitiator()
The user that requested the Approval.
|
String |
getKind()
This is always drive#approval.
|
String |
getModifyTime()
Output only.
|
List<ReviewerResponse> |
getReviewerResponses()
The responses made on the Approval by reviewers.
|
String |
getStatus()
Output only.
|
String |
getTargetFileId()
Target file id of the approval.
|
Approval |
set(String fieldName,
Object value) |
Approval |
setApprovalId(String approvalId)
The Approval ID.
|
Approval |
setCompleteTime(String completeTime)
Output only.
|
Approval |
setCreateTime(String createTime)
Output only.
|
Approval |
setDueTime(String dueTime)
The time that the approval is due.
|
Approval |
setInitiator(User initiator)
The user that requested the Approval.
|
Approval |
setKind(String kind)
This is always drive#approval.
|
Approval |
setModifyTime(String modifyTime)
Output only.
|
Approval |
setReviewerResponses(List<ReviewerResponse> reviewerResponses)
The responses made on the Approval by reviewers.
|
Approval |
setStatus(String status)
Output only.
|
Approval |
setTargetFileId(String targetFileId)
Target file id of the approval.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getApprovalId()
null for nonepublic Approval setApprovalId(String approvalId)
approvalId - approvalId or null for nonepublic String getCompleteTime()
null for nonepublic Approval setCompleteTime(String completeTime)
completeTime - completeTime or null for nonepublic String getCreateTime()
null for nonepublic Approval setCreateTime(String createTime)
createTime - createTime or null for nonepublic String getDueTime()
null for nonepublic Approval setDueTime(String dueTime)
dueTime - dueTime or null for nonepublic User getInitiator()
null for nonepublic Approval setInitiator(User initiator)
initiator - initiator or null for nonepublic String getKind()
null for nonepublic Approval setKind(String kind)
kind - kind or null for nonepublic String getModifyTime()
null for nonepublic Approval setModifyTime(String modifyTime)
modifyTime - modifyTime or null for nonepublic List<ReviewerResponse> getReviewerResponses()
null for nonepublic Approval setReviewerResponses(List<ReviewerResponse> reviewerResponses)
reviewerResponses - reviewerResponses or null for nonepublic String getStatus()
null for nonepublic Approval setStatus(String status)
status - status or null for nonepublic String getTargetFileId()
null for nonepublic Approval setTargetFileId(String targetFileId)
targetFileId - targetFileId or null for nonepublic Approval set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Approval clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.