Class AuditEventPageRequest

  • All Implemented Interfaces:
    com.gooddata.collections.Page

    public final class AuditEventPageRequest
    extends com.gooddata.collections.PageRequest
    Class to encapsulate time filtering and paging parameters
    • Constructor Detail

      • AuditEventPageRequest

        public AuditEventPageRequest()
    • Method Detail

      • getFrom

        public org.joda.time.DateTime getFrom()
      • setFrom

        public void setFrom​(org.joda.time.DateTime from)
        Specify lower bound of interval
      • getTo

        public org.joda.time.DateTime getTo()
      • setTo

        public void setTo​(org.joda.time.DateTime to)
        Specify upper bound of interval
      • getType

        public String getType()
      • setType

        public void setType​(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 org.springframework.web.util.UriComponentsBuilder updateWithPageParams​(org.springframework.web.util.UriComponentsBuilder builder)
        Specified by:
        updateWithPageParams in interface com.gooddata.collections.Page
        Overrides:
        updateWithPageParams in class com.gooddata.collections.PageRequest
      • canEqual

        protected boolean canEqual​(Object o)
        Overrides:
        canEqual in class com.gooddata.collections.PageRequest
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.gooddata.collections.PageRequest
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.gooddata.collections.PageRequest
      • toString

        public String toString()
        Overrides:
        toString in class com.gooddata.collections.PageRequest