public class EventContextDataType extends Object implements Serializable
Specifies the user context data captured at the time of an event request.
| Constructor and Description |
|---|
EventContextDataType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCity()
The user's city.
|
String |
getCountry()
The user's country.
|
String |
getDeviceName()
The user's device name.
|
String |
getIpAddress()
The user's IP address.
|
String |
getTimezone()
The user's time zone.
|
int |
hashCode() |
void |
setCity(String city)
The user's city.
|
void |
setCountry(String country)
The user's country.
|
void |
setDeviceName(String deviceName)
The user's device name.
|
void |
setIpAddress(String ipAddress)
The user's IP address.
|
void |
setTimezone(String timezone)
The user's time zone.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EventContextDataType |
withCity(String city)
The user's city.
|
EventContextDataType |
withCountry(String country)
The user's country.
|
EventContextDataType |
withDeviceName(String deviceName)
The user's device name.
|
EventContextDataType |
withIpAddress(String ipAddress)
The user's IP address.
|
EventContextDataType |
withTimezone(String timezone)
The user's time zone.
|
public String getIpAddress()
The user's IP address.
The user's IP address.
public void setIpAddress(String ipAddress)
The user's IP address.
ipAddress - The user's IP address.
public EventContextDataType withIpAddress(String ipAddress)
The user's IP address.
Returns a reference to this object so that method calls can be chained together.
ipAddress - The user's IP address.
public String getDeviceName()
The user's device name.
The user's device name.
public void setDeviceName(String deviceName)
The user's device name.
deviceName - The user's device name.
public EventContextDataType withDeviceName(String deviceName)
The user's device name.
Returns a reference to this object so that method calls can be chained together.
deviceName - The user's device name.
public String getTimezone()
The user's time zone.
The user's time zone.
public void setTimezone(String timezone)
The user's time zone.
timezone - The user's time zone.
public EventContextDataType withTimezone(String timezone)
The user's time zone.
Returns a reference to this object so that method calls can be chained together.
timezone - The user's time zone.
public String getCity()
The user's city.
The user's city.
public void setCity(String city)
The user's city.
city - The user's city.
public EventContextDataType withCity(String city)
The user's city.
Returns a reference to this object so that method calls can be chained together.
city - The user's city.
public String getCountry()
The user's country.
The user's country.
public void setCountry(String country)
The user's country.
country - The user's country.
public EventContextDataType withCountry(String country)
The user's country.
Returns a reference to this object so that method calls can be chained together.
country - The user's country.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.