public class ReportDefinition extends Object implements Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
This is base element for all type of reports [ONLINE and SCHEDULE]. Few elements explained below:
"reportType": This identifies which report user wants to generate. The report type enumeration includes:
[DEVICE_DETAIL,TRAFFIC_DETAIL,TRAFFIC_COST_SUMMARY,DEVICE_DAILY_TRAFFIC_USAGE,DEVICE_STATUS_ACTIVITY
,DEVICE_TRAFFIC_USAGE,DEVICE_SUMMARY,TRAFFIC_SUMMARY_TREND,COST_SUMMARY_TREND,DEVICE_SUMMARY_TREND]
"groupBy": This works as a normal group by clause. The generated report is grouped on user provided value (column name).
"onBehalfOf": This is used when Master Account is trying to generate a report for a child account (sub-account). Child account ID should be provided.
"product": It specifies product for which user wants to generate report. ANY value can be provided if user wishes not to specify any specific product.
Product enumeration includes: [CDMA, CDMACC, GLOBALSIM, COVERAGESIM, AERCLOUD, ANY]
"isReportPreview": This should be true for ONLINE and false for SCHEDULE reports.
"reportOnHierarchy": if true will return report for all the accounts in the hierarchy.
"allDevices": if true will return report for all devices ignoring any device filters.
"visibleToSubAccount": if true will return report should be visible to sub-account else false.
"reportGroup": This is obsolete and instead filters with report_group column should be used. This will be removed soon.
"columns": Future purpose.
Java class for ReportDefinition complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ReportDefinition"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="reportName" type="{http://service.aeris.com/reports/v1/basetype}ReportName"/> <element name="reportType" type="{http://service.aeris.com/reports/v1/basetype}ReportType"/> <element name="product" type="{http://service.aeris.com/reports/v1/basetype}Product"/> <element name="productId" type="{http://service.aeris.com/reports/v1/basetype}ProductID" minOccurs="0"/> <element name="email" type="{http://service.aeris.com/reports/v1/basetype}Email" minOccurs="0"/> <element name="createdBy" type="{http://service.aeris.com/reports/v1/basetype}CreatedBy" minOccurs="0"/> <element name="duration" type="{http://service.aeris.com/reports/v1/compositetype}ReportDuration" minOccurs="0"/> <element name="filters" type="{http://service.aeris.com/reports/v1/compositetype}Filter" maxOccurs="1000" minOccurs="0"/> <element name="groupBy" type="{http://service.aeris.com/reports/v1/basetype}ColumnName" minOccurs="0"/> <element name="sortBy" type="{http://service.aeris.com/reports/v1/compositetype}SortBy" minOccurs="0"/> <element name="reportGroup" type="{http://service.aeris.com/reports/v1/basetype}ReportGroup" minOccurs="0"/> <element name="reportOnHierarchy" type="{http://service.aeris.com/reports/v1/basetype}ReportOnHierarchy" minOccurs="0"/> <element name="allDevices" type="{http://service.aeris.com/reports/v1/basetype}AllDevices" minOccurs="0"/> <element name="onBehalfOf" type="{http://service.aeris.com/reports/v1/basetype}AccountId" minOccurs="0"/> <element name="visibleToSubAccount" type="{http://service.aeris.com/reports/v1/basetype}VisibleToSubAccount" minOccurs="0"/> <element name="isReportPreview" type="{http://service.aeris.com/reports/v1/basetype}IsReportPreview" minOccurs="0"/> <element name="outputRecordCount" type="{http://service.aeris.com/reports/v1/basetype}OutputRecordCount" minOccurs="0"/> <element name="schedule" type="{http://service.aeris.com/reports/v1/compositetype}ReportSchedule" minOccurs="0"/> <element name="columns" type="{http://service.aeris.com/reports/v1/basetype}ColumnName" maxOccurs="1000" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Boolean |
allDevices |
protected List<ColumnName> |
columns |
protected String |
createdBy |
protected ReportDuration |
duration |
protected String |
email |
protected List<Filter> |
filters |
protected ColumnName |
groupBy |
protected Boolean |
isReportPreview |
protected Long |
onBehalfOf |
protected Integer |
outputRecordCount |
protected Product |
product |
protected BigInteger |
productId |
protected Long |
reportGroup |
protected String |
reportName |
protected Boolean |
reportOnHierarchy |
protected ReportType |
reportType |
protected ReportSchedule |
schedule |
protected SortBy |
sortBy |
protected Boolean |
visibleToSubAccount |
Constructor and Description |
---|
ReportDefinition() |
Modifier and Type | Method and Description |
---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
List<ColumnName> |
getColumns()
Gets the value of the columns property.
|
String |
getCreatedBy()
Gets the value of the createdBy property.
|
ReportDuration |
getDuration()
Gets the value of the duration property.
|
String |
getEmail()
Gets the value of the email property.
|
List<Filter> |
getFilters()
Gets the value of the filters property.
|
ColumnName |
getGroupBy()
Gets the value of the groupBy property.
|
Long |
getOnBehalfOf()
Gets the value of the onBehalfOf property.
|
Integer |
getOutputRecordCount()
Gets the value of the outputRecordCount property.
|
Product |
getProduct()
Gets the value of the product property.
|
BigInteger |
getProductId()
Gets the value of the productId property.
|
Long |
getReportGroup()
Gets the value of the reportGroup property.
|
String |
getReportName()
Gets the value of the reportName property.
|
ReportType |
getReportType()
Gets the value of the reportType property.
|
ReportSchedule |
getSchedule()
Gets the value of the schedule property.
|
SortBy |
getSortBy()
Gets the value of the sortBy property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
Boolean |
isAllDevices()
Gets the value of the allDevices property.
|
Boolean |
isIsReportPreview()
Gets the value of the isReportPreview property.
|
Boolean |
isReportOnHierarchy()
Gets the value of the reportOnHierarchy property.
|
Boolean |
isVisibleToSubAccount()
Gets the value of the visibleToSubAccount property.
|
void |
setAllDevices(Boolean value)
Sets the value of the allDevices property.
|
void |
setCreatedBy(String value)
Sets the value of the createdBy property.
|
void |
setDuration(ReportDuration value)
Sets the value of the duration property.
|
void |
setEmail(String value)
Sets the value of the email property.
|
void |
setGroupBy(ColumnName value)
Sets the value of the groupBy property.
|
void |
setIsReportPreview(Boolean value)
Sets the value of the isReportPreview property.
|
void |
setOnBehalfOf(Long value)
Sets the value of the onBehalfOf property.
|
void |
setOutputRecordCount(Integer value)
Sets the value of the outputRecordCount property.
|
void |
setProduct(Product value)
Sets the value of the product property.
|
void |
setProductId(BigInteger value)
Sets the value of the productId property.
|
void |
setReportGroup(Long value)
Sets the value of the reportGroup property.
|
void |
setReportName(String value)
Sets the value of the reportName property.
|
void |
setReportOnHierarchy(Boolean value)
Sets the value of the reportOnHierarchy property.
|
void |
setReportType(ReportType value)
Sets the value of the reportType property.
|
void |
setSchedule(ReportSchedule value)
Sets the value of the schedule property.
|
void |
setSortBy(SortBy value)
Sets the value of the sortBy property.
|
void |
setVisibleToSubAccount(Boolean value)
Sets the value of the visibleToSubAccount property.
|
String |
toString() |
@NotNull protected String reportName
@NotNull protected ReportType reportType
@NotNull protected Product product
protected BigInteger productId
protected String email
protected String createdBy
protected ReportDuration duration
protected ColumnName groupBy
protected SortBy sortBy
@DecimalMax(value="4294967295") @DecimalMin(value="0") protected Long reportGroup
protected Boolean reportOnHierarchy
protected Boolean allDevices
protected Long onBehalfOf
protected Boolean visibleToSubAccount
protected Boolean isReportPreview
@Digits(integer=3, fraction=0) protected Integer outputRecordCount
protected ReportSchedule schedule
@Size(min=0, max=1000) protected List<ColumnName> columns
public String getReportName()
String
public void setReportName(String value)
value
- allowed object is
String
public ReportType getReportType()
ReportType
public void setReportType(ReportType value)
value
- allowed object is
ReportType
public Product getProduct()
Product
public void setProduct(Product value)
value
- allowed object is
Product
public BigInteger getProductId()
BigInteger
public void setProductId(BigInteger value)
value
- allowed object is
BigInteger
public String getEmail()
String
public void setEmail(String value)
value
- allowed object is
String
public String getCreatedBy()
String
public void setCreatedBy(String value)
value
- allowed object is
String
public ReportDuration getDuration()
ReportDuration
public void setDuration(ReportDuration value)
value
- allowed object is
ReportDuration
public List<Filter> getFilters()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the filters property.
For example, to add a new item, do as follows:
getFilters().add(newItem);
Objects of the following type(s) are allowed in the list
Filter
public ColumnName getGroupBy()
ColumnName
public void setGroupBy(ColumnName value)
value
- allowed object is
ColumnName
public SortBy getSortBy()
SortBy
public void setSortBy(SortBy value)
value
- allowed object is
SortBy
public Long getReportGroup()
Long
public void setReportGroup(Long value)
value
- allowed object is
Long
public Boolean isReportOnHierarchy()
String
public void setReportOnHierarchy(Boolean value)
value
- allowed object is
String
public Boolean isAllDevices()
String
public void setAllDevices(Boolean value)
value
- allowed object is
String
public Long getOnBehalfOf()
Long
public void setOnBehalfOf(Long value)
value
- allowed object is
Long
public Boolean isVisibleToSubAccount()
String
public void setVisibleToSubAccount(Boolean value)
value
- allowed object is
String
public Boolean isIsReportPreview()
String
public void setIsReportPreview(Boolean value)
value
- allowed object is
String
public Integer getOutputRecordCount()
Integer
public void setOutputRecordCount(Integer value)
value
- allowed object is
Integer
public ReportSchedule getSchedule()
ReportSchedule
public void setSchedule(ReportSchedule value)
value
- allowed object is
ReportSchedule
public List<ColumnName> getColumns()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the columns property.
For example, to add a new item, do as follows:
getColumns().add(newItem);
Objects of the following type(s) are allowed in the list
ColumnName
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append
in interface org.jvnet.jaxb2_commons.lang.ToString
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields
in interface org.jvnet.jaxb2_commons.lang.ToString
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
Copyright © 2022. All rights reserved.