public final class GetServiceIdentityResponse
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 Usage 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 |
---|
GetServiceIdentityResponse() |
Modifier and Type | Method and Description |
---|---|
GetServiceIdentityResponse |
clone() |
ServiceIdentity |
getIdentity()
Service identity that service producer can use to access consumer resources.
|
java.lang.String |
getState()
Service identity state.
|
GetServiceIdentityResponse |
set(java.lang.String fieldName,
java.lang.Object value) |
GetServiceIdentityResponse |
setIdentity(ServiceIdentity identity)
Service identity that service producer can use to access consumer resources.
|
GetServiceIdentityResponse |
setState(java.lang.String state)
Service identity state.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public ServiceIdentity getIdentity()
null
for nonepublic GetServiceIdentityResponse setIdentity(ServiceIdentity identity)
identity
- identity or null
for nonepublic java.lang.String getState()
null
for nonepublic GetServiceIdentityResponse setState(java.lang.String state)
state
- state or null
for nonepublic GetServiceIdentityResponse set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public GetServiceIdentityResponse clone()
clone
in class com.google.api.client.json.GenericJson