Package com.sparkpost.resources
Class ResourceSubAccountCrud
java.lang.Object
com.sparkpost.resources.ResourceSubAccountCrud
public class ResourceSubAccountCrud extends Object
-
Constructor Summary
Constructors Constructor Description ResourceSubAccountCrud() -
Method Summary
Modifier and Type Method Description static SubaccountCreateResponsecreate(IRestConnection conn, SubaccountInfo subaccountInfo)static SubaccountCreateResponseget(IRestConnection conn, int subaccountId)static List<SubaccountCreateResponse>list(IRestConnection conn)
-
Constructor Details
-
ResourceSubAccountCrud
public ResourceSubAccountCrud()
-
-
Method Details
-
create
public static SubaccountCreateResponse create(IRestConnection conn, SubaccountInfo subaccountInfo) throws SparkPostException- Throws:
SparkPostException
-
get
public static SubaccountCreateResponse get(IRestConnection conn, int subaccountId) throws SparkPostException- Throws:
SparkPostException
-
list
- Throws:
SparkPostException
-