public class EventContextDataType
extends java.lang.Object
implements java.io.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(java.lang.Object obj) |
java.lang.String |
getCity()
The user's city.
|
java.lang.String |
getCountry()
The user's country.
|
java.lang.String |
getDeviceName()
The user's device name.
|
java.lang.String |
getIpAddress()
The source IP address of your user's device.
|
java.lang.String |
getTimezone()
The user's time zone.
|
int |
hashCode() |
void |
setCity(java.lang.String city)
The user's city.
|
void |
setCountry(java.lang.String country)
The user's country.
|
void |
setDeviceName(java.lang.String deviceName)
The user's device name.
|
void |
setIpAddress(java.lang.String ipAddress)
The source IP address of your user's device.
|
void |
setTimezone(java.lang.String timezone)
The user's time zone.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EventContextDataType |
withCity(java.lang.String city)
The user's city.
|
EventContextDataType |
withCountry(java.lang.String country)
The user's country.
|
EventContextDataType |
withDeviceName(java.lang.String deviceName)
The user's device name.
|
EventContextDataType |
withIpAddress(java.lang.String ipAddress)
The source IP address of your user's device.
|
EventContextDataType |
withTimezone(java.lang.String timezone)
The user's time zone.
|
public java.lang.String getIpAddress()
The source IP address of your user's device.
Constraints:
Length: 0 - 131072
The source IP address of your user's device.
public void setIpAddress(java.lang.String ipAddress)
The source IP address of your user's device.
Constraints:
Length: 0 - 131072
ipAddress - The source IP address of your user's device.
public EventContextDataType withIpAddress(java.lang.String ipAddress)
The source IP address of your user's device.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 131072
ipAddress - The source IP address of your user's device.
public java.lang.String getDeviceName()
The user's device name.
Constraints:
Length: 0 - 131072
The user's device name.
public void setDeviceName(java.lang.String deviceName)
The user's device name.
Constraints:
Length: 0 - 131072
deviceName - The user's device name.
public EventContextDataType withDeviceName(java.lang.String deviceName)
The user's device name.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 131072
deviceName - The user's device name.
public java.lang.String getTimezone()
The user's time zone.
Constraints:
Length: 0 - 131072
The user's time zone.
public void setTimezone(java.lang.String timezone)
The user's time zone.
Constraints:
Length: 0 - 131072
timezone - The user's time zone.
public EventContextDataType withTimezone(java.lang.String timezone)
The user's time zone.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 131072
timezone - The user's time zone.
public java.lang.String getCity()
The user's city.
Constraints:
Length: 0 - 131072
The user's city.
public void setCity(java.lang.String city)
The user's city.
Constraints:
Length: 0 - 131072
city - The user's city.
public EventContextDataType withCity(java.lang.String city)
The user's city.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 131072
city - The user's city.
public java.lang.String getCountry()
The user's country.
Constraints:
Length: 0 - 131072
The user's country.
public void setCountry(java.lang.String country)
The user's country.
Constraints:
Length: 0 - 131072
country - The user's country.
public EventContextDataType withCountry(java.lang.String country)
The user's country.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 131072
country - The user's country.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object