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

com.easypost.model.ApiKeys Maven / Gradle / Ivy

There is a newer version: 5.5.0
Show newest version
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);
    }

}






© 2015 - 2024 Weber Informatics LLC | Privacy Policy