public final class TenancyUnit
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 Service Consumer Management 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
Constructor and Description |
---|
TenancyUnit() |
Modifier and Type | Method and Description |
---|---|
TenancyUnit |
clone() |
java.lang.String |
getConsumer() |
java.lang.String |
getCreateTime() |
java.lang.String |
getName()
Globally unique identifier of this tenancy unit "services/{service}/{collection id}/{resource
id}/tenancyUnits/{unit}"
|
java.lang.String |
getService()
Output only.
|
java.util.List<TenantResource> |
getTenantResources()
Resources constituting the tenancy unit.
|
TenancyUnit |
set(java.lang.String fieldName,
java.lang.Object value) |
TenancyUnit |
setConsumer(java.lang.String consumer) |
TenancyUnit |
setCreateTime(java.lang.String createTime) |
TenancyUnit |
setName(java.lang.String name)
Globally unique identifier of this tenancy unit "services/{service}/{collection id}/{resource
id}/tenancyUnits/{unit}"
|
TenancyUnit |
setService(java.lang.String service)
Output only.
|
TenancyUnit |
setTenantResources(java.util.List<TenantResource> tenantResources)
Resources constituting the tenancy unit.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getConsumer()
null
for nonepublic TenancyUnit setConsumer(java.lang.String consumer)
consumer
- consumer or null
for nonepublic java.lang.String getCreateTime()
null
for nonepublic TenancyUnit setCreateTime(java.lang.String createTime)
createTime
- createTime or null
for nonepublic java.lang.String getName()
null
for nonepublic TenancyUnit setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.String getService()
null
for nonepublic TenancyUnit setService(java.lang.String service)
service
- service or null
for nonepublic java.util.List<TenantResource> getTenantResources()
null
for nonepublic TenancyUnit setTenantResources(java.util.List<TenantResource> tenantResources)
tenantResources
- tenantResources or null
for nonepublic TenancyUnit set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public TenancyUnit clone()
clone
in class com.google.api.client.json.GenericJson