Class AuditEventPageRequest
java.lang.Object
com.gooddata.sdk.common.collections.CustomPageRequest
com.gooddata.sdk.service.auditevent.AuditEventPageRequest
- All Implemented Interfaces:
com.gooddata.sdk.common.collections.PageRequest
public final class AuditEventPageRequest
extends com.gooddata.sdk.common.collections.CustomPageRequest
Class to encapsulate time filtering and paging parameters
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AuditEventPageRequest() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object o)static AuditEventPageRequestcopy(AuditEventPageRequest source)Copy constructorbooleanequals(java.lang.Object o)java.time.ZonedDateTimegetFrom()java.time.ZonedDateTimegetTo()java.lang.StringgetType()inthashCode()voidsetFrom(java.time.ZonedDateTime from)Specify lower bound of intervalvoidsetTo(java.time.ZonedDateTime to)Specify upper bound of intervalvoidsetType(java.lang.String type)Specify event type for filtering purposesjava.lang.StringtoString()com.gooddata.sdk.common.util.MutableUriupdateWithPageParams(com.gooddata.sdk.common.util.MutableUri builder)AuditEventPageRequestwithIncrementedLimit()Copy this request parameters and increment request parameter limit.
-
Constructor Details
-
AuditEventPageRequest
public AuditEventPageRequest()
-
-
Method Details
-
getFrom
public java.time.ZonedDateTime getFrom() -
setFrom
public void setFrom(java.time.ZonedDateTime from)Specify lower bound of interval -
getTo
public java.time.ZonedDateTime getTo() -
setTo
public void setTo(java.time.ZonedDateTime to)Specify upper bound of interval -
getType
public java.lang.String getType() -
setType
public void setType(java.lang.String type)Specify event type for filtering purposes- Parameters:
type- event type
-
copy
Copy constructor- Parameters:
source- source object (not null) to create copy of- Returns:
- new instance, which fields has same value as fields of
source
-
withIncrementedLimit
Copy this request parameters and increment request parameter limit. If Limit is negative, than sanitized limit is taken and incremented.- Returns:
- new instance with incremented limit
-
updateWithPageParams
public com.gooddata.sdk.common.util.MutableUri updateWithPageParams(com.gooddata.sdk.common.util.MutableUri builder)- Specified by:
updateWithPageParamsin interfacecom.gooddata.sdk.common.collections.PageRequest- Overrides:
updateWithPageParamsin classcom.gooddata.sdk.common.collections.CustomPageRequest
-
canEqual
protected boolean canEqual(java.lang.Object o)- Overrides:
canEqualin classcom.gooddata.sdk.common.collections.CustomPageRequest
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classcom.gooddata.sdk.common.collections.CustomPageRequest
-
hashCode
public int hashCode()- Overrides:
hashCodein classcom.gooddata.sdk.common.collections.CustomPageRequest
-
toString
public java.lang.String toString()- Overrides:
toStringin classcom.gooddata.sdk.common.collections.CustomPageRequest
-