public final class AccessProposal
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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
AccessProposal() |
Modifier and Type | Method and Description |
---|---|
AccessProposal |
clone() |
String |
getCreateTime()
The creation time
|
String |
getFileId()
The file id that the proposal for access is on
|
String |
getProposalId()
The id of the access proposal
|
String |
getRecipientEmailAddress()
The email address of the user that will receive permissions if accepted
|
String |
getRequesterEmailAddress()
The email address of the requesting user
|
String |
getRequestMessage()
The message that the requester added to the proposal
|
List<AccessProposalRoleAndView> |
getRolesAndViews()
A wrapper for the role and view of an access proposal.
|
AccessProposal |
set(String fieldName,
Object value) |
AccessProposal |
setCreateTime(String createTime)
The creation time
|
AccessProposal |
setFileId(String fileId)
The file id that the proposal for access is on
|
AccessProposal |
setProposalId(String proposalId)
The id of the access proposal
|
AccessProposal |
setRecipientEmailAddress(String recipientEmailAddress)
The email address of the user that will receive permissions if accepted
|
AccessProposal |
setRequesterEmailAddress(String requesterEmailAddress)
The email address of the requesting user
|
AccessProposal |
setRequestMessage(String requestMessage)
The message that the requester added to the proposal
|
AccessProposal |
setRolesAndViews(List<AccessProposalRoleAndView> rolesAndViews)
A wrapper for the role and view of an access proposal.
|
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 String getCreateTime()
null
for nonepublic AccessProposal setCreateTime(String createTime)
createTime
- createTime or null
for nonepublic String getFileId()
null
for nonepublic AccessProposal setFileId(String fileId)
fileId
- fileId or null
for nonepublic String getProposalId()
null
for nonepublic AccessProposal setProposalId(String proposalId)
proposalId
- proposalId or null
for nonepublic String getRecipientEmailAddress()
null
for nonepublic AccessProposal setRecipientEmailAddress(String recipientEmailAddress)
recipientEmailAddress
- recipientEmailAddress or null
for nonepublic String getRequestMessage()
null
for nonepublic AccessProposal setRequestMessage(String requestMessage)
requestMessage
- requestMessage or null
for nonepublic String getRequesterEmailAddress()
null
for nonepublic AccessProposal setRequesterEmailAddress(String requesterEmailAddress)
requesterEmailAddress
- requesterEmailAddress or null
for nonepublic List<AccessProposalRoleAndView> getRolesAndViews()
null
for nonepublic AccessProposal setRolesAndViews(List<AccessProposalRoleAndView> rolesAndViews)
rolesAndViews
- rolesAndViews or null
for nonepublic AccessProposal set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public AccessProposal clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.