public final class Consent
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 Cloud Healthcare 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 |
---|
Consent() |
Modifier and Type | Method and Description |
---|---|
Consent |
clone() |
String |
getConsentArtifact()
Required.
|
String |
getExpireTime()
Timestamp in UTC of when this Consent is considered expired.
|
Map<String,String> |
getMetadata()
Optional.
|
String |
getName()
Identifier.
|
List<GoogleCloudHealthcareV1beta1ConsentPolicy> |
getPolicies()
Optional.
|
String |
getRevisionCreateTime()
Output only.
|
String |
getRevisionId()
Output only.
|
String |
getState()
Required.
|
String |
getTtl()
Input only.
|
String |
getUserId()
Required.
|
Consent |
set(String fieldName,
Object value) |
Consent |
setConsentArtifact(String consentArtifact)
Required.
|
Consent |
setExpireTime(String expireTime)
Timestamp in UTC of when this Consent is considered expired.
|
Consent |
setMetadata(Map<String,String> metadata)
Optional.
|
Consent |
setName(String name)
Identifier.
|
Consent |
setPolicies(List<GoogleCloudHealthcareV1beta1ConsentPolicy> policies)
Optional.
|
Consent |
setRevisionCreateTime(String revisionCreateTime)
Output only.
|
Consent |
setRevisionId(String revisionId)
Output only.
|
Consent |
setState(String state)
Required.
|
Consent |
setTtl(String ttl)
Input only.
|
Consent |
setUserId(String userId)
Required.
|
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 getConsentArtifact()
null
for nonepublic Consent setConsentArtifact(String consentArtifact)
consentArtifact
- consentArtifact or null
for nonepublic String getExpireTime()
null
for nonepublic Consent setExpireTime(String expireTime)
expireTime
- expireTime or null
for nonepublic Map<String,String> getMetadata()
null
for nonepublic Consent setMetadata(Map<String,String> metadata)
metadata
- metadata or null
for nonepublic String getName()
null
for nonepublic Consent setName(String name)
name
- name or null
for nonepublic List<GoogleCloudHealthcareV1beta1ConsentPolicy> getPolicies()
null
for nonepublic Consent setPolicies(List<GoogleCloudHealthcareV1beta1ConsentPolicy> policies)
policies
- policies or null
for nonepublic String getRevisionCreateTime()
null
for nonepublic Consent setRevisionCreateTime(String revisionCreateTime)
revisionCreateTime
- revisionCreateTime or null
for nonepublic String getRevisionId()
null
for nonepublic Consent setRevisionId(String revisionId)
revisionId
- revisionId or null
for nonepublic String getState()
null
for nonepublic Consent setState(String state)
state
- state or null
for nonepublic String getTtl()
null
for nonepublic Consent setTtl(String ttl)
ttl
- ttl or null
for nonepublic String getUserId()
null
for nonepublic Consent setUserId(String userId)
userId
- userId or null
for nonepublic Consent set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Consent clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.