Package net.eternalfarm.client
Class EternalFarmClient
- java.lang.Object
-
- net.eternalfarm.client.EternalFarmClient
-
public class EternalFarmClient extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EternalFarmClient.EternalFarmClientBuilder
-
Method Summary
-
-
-
Method Detail
-
getAccountPage
public PageResult<EFAccount> getAccountPage(int page, int perPage) throws java.io.IOException
- Throws:
java.io.IOException
-
getAccountPage
public PageResult<EFAccount> getAccountPage(int page, int perPage, java.util.Map<java.lang.String,java.lang.String> filters) throws java.io.IOException
- Throws:
java.io.IOException
-
getAccount
public GetResult<EFAccount> getAccount(int id) throws java.io.IOException
- Throws:
java.io.IOException
-
createAccount
public CreateResult<EFAccount> createAccount(EFAccount account) throws java.io.IOException
- Throws:
java.io.IOException
-
updateAccount
public UpdateResult<EFAccount> updateAccount(EFAccount account) throws java.io.IOException
- Throws:
java.io.IOException
-
deleteAccount
public DeleteResult<EFAccount> deleteAccount(EFAccount account) throws java.io.IOException
- Throws:
java.io.IOException
-
getNextTutorialAccount
public GetResult<EFAccount> getNextTutorialAccount(java.util.Map<java.lang.String,java.lang.String> filters) throws java.io.IOException
- Throws:
java.io.IOException
-
getNextCheckAccounts
public PageResult<EFAccount> getNextCheckAccounts(int perPage, java.util.Map<java.lang.String,java.lang.String> filters) throws java.io.IOException
- Throws:
java.io.IOException
-
getAccountCategoryPage
public PageResult<EFAccountCategory> getAccountCategoryPage(int page, int perPage) throws java.io.IOException
- Throws:
java.io.IOException
-
getAccountCategoryPage
public PageResult<EFAccountCategory> getAccountCategoryPage(int page, int perPage, java.util.Map<java.lang.String,java.lang.String> filters) throws java.io.IOException
- Throws:
java.io.IOException
-
getAccountCategory
public GetResult<EFAccountCategory> getAccountCategory(int id) throws java.io.IOException
- Throws:
java.io.IOException
-
createAccountCategory
public CreateResult<EFAccountCategory> createAccountCategory(EFAccountCategory accountCategory) throws java.io.IOException
- Throws:
java.io.IOException
-
updateAccountCategory
public UpdateResult<EFAccountCategory> updateAccountCategory(EFAccountCategory accountCategory) throws java.io.IOException
- Throws:
java.io.IOException
-
deleteAccountCategory
public DeleteResult<EFAccountCategory> deleteAccountCategory(EFAccountCategory accountCategory) throws java.io.IOException
- Throws:
java.io.IOException
-
getClientPage
public PageResult<EFClient> getClientPage(int page, int perPage) throws java.io.IOException
- Throws:
java.io.IOException
-
getClientPage
public PageResult<EFClient> getClientPage(int page, int perPage, java.util.Map<java.lang.String,java.lang.String> filters) throws java.io.IOException
- Throws:
java.io.IOException
-
getClient
public GetResult<EFClient> getClient(int id) throws java.io.IOException
- Throws:
java.io.IOException
-
createClient
public CreateResult<EFClient> createClient(EFClient client) throws java.io.IOException
- Throws:
java.io.IOException
-
updateClient
public UpdateResult<EFClient> updateClient(EFClient client) throws java.io.IOException
- Throws:
java.io.IOException
-
deleteClient
public DeleteResult<EFClient> deleteClient(EFClient client) throws java.io.IOException
- Throws:
java.io.IOException
-
getAgentPage
public PageResult<EFAgent> getAgentPage(int page, int perPage) throws java.io.IOException
- Throws:
java.io.IOException
-
getAgentPage
public PageResult<EFAgent> getAgentPage(int page, int perPage, java.util.Map<java.lang.String,java.lang.String> filters) throws java.io.IOException
- Throws:
java.io.IOException
-
getAgent
public GetResult<EFAgent> getAgent(int id) throws java.io.IOException
- Throws:
java.io.IOException
-
createAgent
public CreateResult<EFAgent> createAgent(EFAgent agent) throws java.io.IOException
- Throws:
java.io.IOException
-
updateAgent
public UpdateResult<EFAgent> updateAgent(EFAgent agent) throws java.io.IOException
- Throws:
java.io.IOException
-
deleteAgent
public DeleteResult<EFAgent> deleteAgent(EFAgent agent) throws java.io.IOException
- Throws:
java.io.IOException
-
getProxyPage
public PageResult<EFProxy> getProxyPage(int page, int perPage) throws java.io.IOException
- Throws:
java.io.IOException
-
getProxyPage
public PageResult<EFProxy> getProxyPage(int page, int perPage, java.util.Map<java.lang.String,java.lang.String> filters) throws java.io.IOException
- Throws:
java.io.IOException
-
getProxy
public GetResult<EFProxy> getProxy(int id) throws java.io.IOException
- Throws:
java.io.IOException
-
createProxy
public CreateResult<EFProxy> createProxy(EFProxy proxy) throws java.io.IOException
- Throws:
java.io.IOException
-
updateProxy
public UpdateResult<EFProxy> updateProxy(EFProxy proxy) throws java.io.IOException
- Throws:
java.io.IOException
-
deleteProxy
public DeleteResult<EFProxy> deleteProxy(EFProxy proxy) throws java.io.IOException
- Throws:
java.io.IOException
-
getProxyCategoryPage
public PageResult<EFProxyCategory> getProxyCategoryPage(int page, int perPage) throws java.io.IOException
- Throws:
java.io.IOException
-
getProxyCategoryPage
public PageResult<EFProxyCategory> getProxyCategoryPage(int page, int perPage, java.util.Map<java.lang.String,java.lang.String> filters) throws java.io.IOException
- Throws:
java.io.IOException
-
getProxyCategory
public GetResult<EFProxyCategory> getProxyCategory(int id) throws java.io.IOException
- Throws:
java.io.IOException
-
createProxyCategory
public CreateResult<EFProxyCategory> createProxyCategory(EFProxyCategory proxyCategory) throws java.io.IOException
- Throws:
java.io.IOException
-
updateProxyCategory
public UpdateResult<EFProxyCategory> updateProxyCategory(EFProxyCategory proxyCategory) throws java.io.IOException
- Throws:
java.io.IOException
-
deleteAccount
public DeleteResult<EFProxyCategory> deleteAccount(EFProxyCategory proxy) throws java.io.IOException
- Throws:
java.io.IOException
-
getTaskPage
public PageResult<EFTask> getTaskPage(int page, int perPage) throws java.io.IOException
- Throws:
java.io.IOException
-
getTaskPage
public PageResult<EFTask> getTaskPage(int page, int perPage, java.util.Map<java.lang.String,java.lang.String> filters) throws java.io.IOException
- Throws:
java.io.IOException
-
getTask
public GetResult<EFTask> getTask(int id) throws java.io.IOException
- Throws:
java.io.IOException
-
createTask
public CreateResult<EFTask> createTask(EFTask task) throws java.io.IOException
- Throws:
java.io.IOException
-
updateTask
public UpdateResult<EFTask> updateTask(EFTask task) throws java.io.IOException
- Throws:
java.io.IOException
-
deleteTask
public DeleteResult<EFTask> deleteTask(EFTask task) throws java.io.IOException
- Throws:
java.io.IOException
-
startTaskResult
public StartTaskResult startTaskResult(EFTask task, int agentId, int accountId) throws java.io.IOException
- Throws:
java.io.IOException
-
stopTaskResult
public StopTaskResult stopTaskResult(EFTask task, int agentId, int accountId) throws java.io.IOException
- Throws:
java.io.IOException
-
getPrimeLinkRequestPage
public PageResult<EFPrimeLinkRequest> getPrimeLinkRequestPage(int page, int perPage) throws java.io.IOException
- Throws:
java.io.IOException
-
getPrimeLinkRequestPage
public PageResult<EFPrimeLinkRequest> getPrimeLinkRequestPage(int page, int perPage, java.util.Map<java.lang.String,java.lang.String> filters) throws java.io.IOException
- Throws:
java.io.IOException
-
getPrimeLinkRequest
public GetResult<EFPrimeLinkRequest> getPrimeLinkRequest(int id) throws java.io.IOException
- Throws:
java.io.IOException
-
createPrimeLinkRequest
public CreateResult<EFPrimeLinkRequest> createPrimeLinkRequest(EFPrimeLinkRequest primeLinkRequest) throws java.io.IOException
- Throws:
java.io.IOException
-
updatePrimeLinkRequest
public UpdateResult<EFPrimeLinkRequest> updatePrimeLinkRequest(EFPrimeLinkRequest primeLinkRequest) throws java.io.IOException
- Throws:
java.io.IOException
-
deletePrimeLinkRequest
public DeleteResult<EFPrimeLinkRequest> deletePrimeLinkRequest(EFPrimeLinkRequest primeLinkRequest) throws java.io.IOException
- Throws:
java.io.IOException
-
builder
public static EternalFarmClient.EternalFarmClientBuilder builder()
-
-