public class DevicesReportRequest extends java.lang.Object implements Request<DevicesReport>
UrbanAirshipClientRequest.HttpMethodCONTENT_ENCODING_GZIP, CONTENT_TYPE_JSON, CONTENT_TYPE_TEXT_CSV, UA_VERSION_CSV, UA_VERSION_JSON| Modifier and Type | Method and Description |
|---|---|
boolean |
bearerTokenAuthRequired() |
boolean |
canUseBearerTokenAuth() |
ContentType |
getContentType() |
Request.HttpMethod |
getHttpMethod() |
java.lang.String |
getRequestBody() |
java.util.Map<java.lang.String,java.lang.String> |
getRequestHeaders() |
ResponseParser<DevicesReport> |
getResponseParser() |
java.net.URI |
getUri(java.net.URI baseUri) |
static DevicesReportRequest |
newRequest()
Create a Devices Report request.
|
DevicesReportRequest |
setDate(DateTime date)
Sets if the date is specified
|
public static DevicesReportRequest newRequest()
public DevicesReportRequest setDate(DateTime date)
date - DateTime object (is optional)public ContentType getContentType()
getContentType in interface Request<DevicesReport>public Request.HttpMethod getHttpMethod()
getHttpMethod in interface Request<DevicesReport>public java.lang.String getRequestBody()
getRequestBody in interface Request<DevicesReport>public java.util.Map<java.lang.String,java.lang.String> getRequestHeaders()
getRequestHeaders in interface Request<DevicesReport>public java.net.URI getUri(java.net.URI baseUri)
getUri in interface Request<DevicesReport>public ResponseParser<DevicesReport> getResponseParser()
getResponseParser in interface Request<DevicesReport>public boolean bearerTokenAuthRequired()
bearerTokenAuthRequired in interface Request<DevicesReport>public boolean canUseBearerTokenAuth()
canUseBearerTokenAuth in interface Request<DevicesReport>