public final class Interaction
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 Search 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 |
---|
Interaction() |
Modifier and Type | Method and Description |
---|---|
Interaction |
clone() |
java.lang.String |
getInteractionTime()
The time when the user acted on the item.
|
Principal |
getPrincipal()
The user that acted on the item.
|
java.lang.String |
getType() |
Interaction |
set(java.lang.String fieldName,
java.lang.Object value) |
Interaction |
setInteractionTime(java.lang.String interactionTime)
The time when the user acted on the item.
|
Interaction |
setPrincipal(Principal principal)
The user that acted on the item.
|
Interaction |
setType(java.lang.String type) |
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 getInteractionTime()
null
for nonepublic Interaction setInteractionTime(java.lang.String interactionTime)
interactionTime
- interactionTime or null
for nonepublic Principal getPrincipal()
null
for nonepublic Interaction setPrincipal(Principal principal)
principal
- principal or null
for nonepublic java.lang.String getType()
null
for nonepublic Interaction setType(java.lang.String type)
type
- type or null
for nonepublic Interaction set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Interaction clone()
clone
in class com.google.api.client.json.GenericJson