Class 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

      • Fields inherited from class com.gooddata.sdk.common.collections.CustomPageRequest

        DEFAULT_LIMIT
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(java.lang.Object o)  
      static AuditEventPageRequest copy​(AuditEventPageRequest source)
      Copy constructor
      boolean equals​(java.lang.Object o)  
      java.time.ZonedDateTime getFrom()  
      java.time.ZonedDateTime getTo()  
      java.lang.String getType()  
      int hashCode()  
      void setFrom​(java.time.ZonedDateTime from)
      Specify lower bound of interval
      void setTo​(java.time.ZonedDateTime to)
      Specify upper bound of interval
      void setType​(java.lang.String type)
      Specify event type for filtering purposes
      java.lang.String toString()  
      com.gooddata.sdk.common.util.MutableUri updateWithPageParams​(com.gooddata.sdk.common.util.MutableUri builder)  
      AuditEventPageRequest withIncrementedLimit()
      Copy this request parameters and increment request parameter limit.
      • Methods inherited from class com.gooddata.sdk.common.collections.CustomPageRequest

        getLimit, getOffset, getPageUri, getSanitizedLimit, getSanitizedLimit, setLimit, setOffset
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AuditEventPageRequest

        public AuditEventPageRequest()
    • Method Detail

      • 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

        public static AuditEventPageRequest copy​(AuditEventPageRequest source)
        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

        public AuditEventPageRequest 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:
        updateWithPageParams in interface com.gooddata.sdk.common.collections.PageRequest
        Overrides:
        updateWithPageParams in class com.gooddata.sdk.common.collections.CustomPageRequest
      • canEqual

        protected boolean canEqual​(java.lang.Object o)
        Overrides:
        canEqual in class com.gooddata.sdk.common.collections.CustomPageRequest
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class com.gooddata.sdk.common.collections.CustomPageRequest
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.gooddata.sdk.common.collections.CustomPageRequest
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class com.gooddata.sdk.common.collections.CustomPageRequest