Class EternalFarmClient


  • public class EternalFarmClient
    extends java.lang.Object
    • 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
      • 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
      • 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
      • 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
      • 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