public class GetCotEventRequest
extends java.lang.Object
implements android.os.Parcelable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COT_MATCHER |
static android.os.Parcelable.Creator<GetCotEventRequest> |
CREATOR |
| Modifier | Constructor and Description |
|---|---|
protected |
GetCotEventRequest(android.os.Parcel in) |
|
GetCotEventRequest(java.lang.String baseUrl,
java.lang.String uid,
java.lang.String matcher,
java.lang.String tag,
int notificationId) |
| Modifier and Type | Method and Description |
|---|---|
Request |
createGetCotEvent() |
int |
describeContents() |
static GetCotEventRequest |
fromJSON(org.json.JSONObject json) |
java.lang.String |
getBaseUrl() |
java.lang.String |
getMatcher() |
int |
getNotificationId() |
java.lang.String |
getTag() |
java.lang.String |
getUID() |
boolean |
isValid() |
org.json.JSONObject |
toJSON() |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final java.lang.String COT_MATCHER
public static final android.os.Parcelable.Creator<GetCotEventRequest> CREATOR
public GetCotEventRequest(java.lang.String baseUrl,
java.lang.String uid,
java.lang.String matcher,
java.lang.String tag,
int notificationId)
protected GetCotEventRequest(android.os.Parcel in)
public boolean isValid()
public java.lang.String getBaseUrl()
public java.lang.String getUID()
public java.lang.String getMatcher()
public java.lang.String getTag()
public int getNotificationId()
public java.lang.String toString()
toString in class java.lang.Objectpublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelablepublic int describeContents()
describeContents in interface android.os.Parcelablepublic org.json.JSONObject toJSON()
throws org.json.JSONException
org.json.JSONExceptionpublic static GetCotEventRequest fromJSON(org.json.JSONObject json) throws org.json.JSONException
org.json.JSONExceptionpublic Request createGetCotEvent()
throws org.json.JSONException
org.json.JSONException