All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.withabound.models.users.UserParams Maven / Gradle / Ivy

Go to download

The Abound Java SDK provides convenient access to the Abound API from applications written in Java.

The newest version!
package com.withabound.models.users;

import com.withabound.resources.base.AboundQueryParameters;
import java.util.HashMap;
import java.util.Map;
import lombok.Builder;
import lombok.Getter;

@Builder
@Getter
public class UserParams extends AboundQueryParameters {
  /**
   * An identifier used to request a specific page of results. Responses are limited to a maximum of
   * 100 records.
   */
  private String page;

  /**
   * A customer-specific unique identifier associated to an Abound record. Allows developers to
   * forego making their own tables every time they integrate and/or add an application.
   */
  private String foreignId;

  @Override
  public Map asMap() {
    final Map queryParams = new HashMap<>();

    queryParams.put("page", page);
    queryParams.put("foreignId", foreignId);

    return queryParams;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy