Class RecipientSetMemberQuery

java.lang.Object
com.mxraven.admin.client.RecipientSetMemberQuery

public final class RecipientSetMemberQuery extends Object
Typed filter builder for RecipientSetMembersClient.query().
  • Method Details

    • search

      public RecipientSetMemberQuery search(String query)
      Sets the q search filter for set members.
      Parameters:
      query - search text; null or blank is ignored
      Returns:
      this query
      Throws:
      IllegalArgumentException - if the query is non-blank and shorter than 3 characters
    • addedFrom

      public RecipientSetMemberQuery addedFrom(String addedFrom)
      Sets the inclusive lower bound as an ISO-8601 timestamp.
      Parameters:
      addedFrom - inclusive lower bound as an ISO-8601 timestamp
      Returns:
      this query
    • addedTo

      public RecipientSetMemberQuery addedTo(String addedTo)
      Sets the exclusive upper bound as an ISO-8601 timestamp.
      Parameters:
      addedTo - exclusive upper bound as an ISO-8601 timestamp
      Returns:
      this query
    • pageSize

      public RecipientSetMemberQuery pageSize(int pageSize)
      Sets the maximum number of members per page.
      Parameters:
      pageSize - number of items per page, between 1 and 500
      Returns:
      this query
      Throws:
      IllegalArgumentException - if pageSize is outside the range 1 to 500
    • pageToken

      public RecipientSetMemberQuery pageToken(String pageToken)
      Sets the opaque page token to continue from.
      Parameters:
      pageToken - opaque page token; null is ignored
      Returns:
      this query
    • list

      public Paged<RecipientSetMember> list() throws IOException
      Lists members matching the configured filters.
      Returns:
      a lazily paginated collection of set members
      Throws:
      IOException - if the request fails or is interrupted