com.easypost.model.ApiKeys Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of easypost-api-client Show documentation
Show all versions of easypost-api-client Show documentation
EasyPost Java Client Library for the EasyPost Shipping API
package com.easypost.model;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import com.easypost.exception.EasyPostException;
import com.easypost.net.EasyPostResource;
public class ApiKeys extends EasyPostResource {
public String id;
List keys;
List children;
public String getId() { return id; }
public void setId(String id) { this.id = id; }
public List getKeys() { return keys; }
public void setKeys(List keys) { this.keys = keys; }
public List getChildren() { return children; }
public void setChildren(List children) { this.children = children; }
// all
public static ApiKeys all() throws EasyPostException {
return all(null);
}
public static ApiKeys all(String apiKey) throws EasyPostException {
return request(RequestMethod.GET, classURL(ApiKey.class), null, ApiKeys.class, apiKey);
}
}