Class UserResponse

All Implemented Interfaces:
AtlanResponseInterface, Serializable, Iterable<AtlanUser>

public class UserResponse extends ApiResource implements Iterable<AtlanUser>
See Also:
  • Constructor Details

    • UserResponse

      public UserResponse()
  • Method Details

    • getNextPage

      public UserResponse getNextPage() throws AtlanException
      Retrieve the next page of results from this response.
      Returns:
      next page of results from this response
      Throws:
      AtlanException - on any API interaction problem
    • iterator

      public Iterator<AtlanUser> iterator()
      Specified by:
      iterator in interface Iterable<AtlanUser>
    • stream

      public Stream<AtlanUser> stream()
      Stream the results (lazily) for processing without needing to manually manage paging.
      Returns:
      a lazily-loaded stream of results from the search
    • getClient

      public AtlanClient getClient()
      Connectivity to the Atlan tenant where the search was run.
    • getRequest

      public UserRequest getRequest()
      Request that produced this response.
    • getTotalRecord

      public Integer getTotalRecord()
      Total number of users.
    • getFilterRecord

      public Integer getFilterRecord()
      Filtered number of users.
    • getRecords

      public List<AtlanUser> getRecords()
      Details about each user in this page of the response.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class AtlanObject
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class AtlanObject
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AtlanObject
    • toString

      public String toString()
      Description copied from class: AtlanObject
      Overrides:
      toString in class ApiResource
    • setClient

      public void setClient(AtlanClient client)
      Connectivity to the Atlan tenant where the search was run.
    • setRequest

      public void setRequest(UserRequest request)
      Request that produced this response.