public class RuleSetsApi
extends java.lang.Object
| Constructor and Description |
|---|
RuleSetsApi() |
RuleSetsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRuleCriteria(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
RuleCriteria ruleCriteria)
Add Rule Criteria
Allows user to add rule criteria
|
com.squareup.okhttp.Call |
addRuleCriteriaAsync(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
RuleCriteria ruleCriteria,
ApiCallback<java.lang.Void> callback)
Add Rule Criteria (asynchronously)
Allows user to add rule criteria
|
com.squareup.okhttp.Call |
addRuleCriteriaCall(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
RuleCriteria ruleCriteria,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for addRuleCriteria
|
ApiResponse<java.lang.Void> |
addRuleCriteriaWithHttpInfo(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
RuleCriteria ruleCriteria)
Add Rule Criteria
Allows user to add rule criteria
|
RuleSet |
cloneRuleSet(java.lang.Integer rulesetId,
RuleSet ruleSet)
Clone Rule Set
Allows user to clone a rule set
|
com.squareup.okhttp.Call |
cloneRuleSetAsync(java.lang.Integer rulesetId,
RuleSet ruleSet,
ApiCallback<RuleSet> callback)
Clone Rule Set (asynchronously)
Allows user to clone a rule set
|
com.squareup.okhttp.Call |
cloneRuleSetCall(java.lang.Integer rulesetId,
RuleSet ruleSet,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for cloneRuleSet
|
ApiResponse<RuleSet> |
cloneRuleSetWithHttpInfo(java.lang.Integer rulesetId,
RuleSet ruleSet)
Clone Rule Set
Allows user to clone a rule set
|
Rule |
createRule(java.lang.Integer rulesetId,
CreateRule rule)
Create Rule
Allows user to create a Rule
|
com.squareup.okhttp.Call |
createRuleAsync(java.lang.Integer rulesetId,
CreateRule rule,
ApiCallback<Rule> callback)
Create Rule (asynchronously)
Allows user to create a Rule
|
com.squareup.okhttp.Call |
createRuleCall(java.lang.Integer rulesetId,
CreateRule rule,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createRule
|
RuleSet |
createRuleSet(RuleSet ruleSet)
Create Rule Set
Creates a rule set
|
com.squareup.okhttp.Call |
createRuleSetAsync(RuleSet ruleSet,
ApiCallback<RuleSet> callback)
Create Rule Set (asynchronously)
Creates a rule set
|
com.squareup.okhttp.Call |
createRuleSetCall(RuleSet ruleSet,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createRuleSet
|
ApiResponse<RuleSet> |
createRuleSetWithHttpInfo(RuleSet ruleSet)
Create Rule Set
Creates a rule set
|
ApiResponse<Rule> |
createRuleWithHttpInfo(java.lang.Integer rulesetId,
CreateRule rule)
Create Rule
Allows user to create a Rule
|
void |
deleteRule(java.lang.Integer rulesetId,
java.lang.Integer ruleId)
Delete Rule
Allows user to delete a rule
|
com.squareup.okhttp.Call |
deleteRuleAsync(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
ApiCallback<java.lang.Void> callback)
Delete Rule (asynchronously)
Allows user to delete a rule
|
com.squareup.okhttp.Call |
deleteRuleCall(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteRule
|
void |
deleteRuleCriteria(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
RuleCriteria ruleCriteria)
Delete Rule Criteria
Allows user to delete rule criteria
|
com.squareup.okhttp.Call |
deleteRuleCriteriaAsync(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
RuleCriteria ruleCriteria,
ApiCallback<java.lang.Void> callback)
Delete Rule Criteria (asynchronously)
Allows user to delete rule criteria
|
com.squareup.okhttp.Call |
deleteRuleCriteriaCall(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
RuleCriteria ruleCriteria,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteRuleCriteria
|
ApiResponse<java.lang.Void> |
deleteRuleCriteriaWithHttpInfo(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
RuleCriteria ruleCriteria)
Delete Rule Criteria
Allows user to delete rule criteria
|
RuleSetDeleteResponse |
deleteRuleSet(java.lang.Integer rulesetId,
java.lang.Boolean force)
Delete Rule Set
Allows user to delete a rule set
|
com.squareup.okhttp.Call |
deleteRuleSetAsync(java.lang.Integer rulesetId,
java.lang.Boolean force,
ApiCallback<RuleSetDeleteResponse> callback)
Delete Rule Set (asynchronously)
Allows user to delete a rule set
|
com.squareup.okhttp.Call |
deleteRuleSetCall(java.lang.Integer rulesetId,
java.lang.Boolean force,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteRuleSet
|
ApiResponse<RuleSetDeleteResponse> |
deleteRuleSetWithHttpInfo(java.lang.Integer rulesetId,
java.lang.Boolean force)
Delete Rule Set
Allows user to delete a rule set
|
ApiResponse<java.lang.Void> |
deleteRuleWithHttpInfo(java.lang.Integer rulesetId,
java.lang.Integer ruleId)
Delete Rule
Allows user to delete a rule
|
java.io.File |
exportRuleSet(java.lang.Integer rulesetId)
Export Rule Set
Allows user to export a rule set as an XML file
|
com.squareup.okhttp.Call |
exportRuleSetAsync(java.lang.Integer rulesetId,
ApiCallback<java.io.File> callback)
Export Rule Set (asynchronously)
Allows user to export a rule set as an XML file
|
com.squareup.okhttp.Call |
exportRuleSetCall(java.lang.Integer rulesetId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for exportRuleSet
|
ApiResponse<java.io.File> |
exportRuleSetWithHttpInfo(java.lang.Integer rulesetId)
Export Rule Set
Allows user to export a rule set as an XML file
|
java.util.List<RuleSet> |
getAllRuleSets()
Get Rule Sets
Provides a list of rule sets
|
com.squareup.okhttp.Call |
getAllRuleSetsAsync(ApiCallback<java.util.List<RuleSet>> callback)
Get Rule Sets (asynchronously)
Provides a list of rule sets
|
com.squareup.okhttp.Call |
getAllRuleSetsCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAllRuleSets
|
ApiResponse<java.util.List<RuleSet>> |
getAllRuleSetsWithHttpInfo()
Get Rule Sets
Provides a list of rule sets
|
ApiClient |
getApiClient() |
Rule |
getRuleData(java.lang.Integer rulesetId,
java.lang.Integer ruleId)
Get Rule Data
Allows user to view a specific rule's data
|
com.squareup.okhttp.Call |
getRuleDataAsync(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
ApiCallback<Rule> callback)
Get Rule Data (asynchronously)
Allows user to view a specific rule's data
|
com.squareup.okhttp.Call |
getRuleDataCall(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getRuleData
|
ApiResponse<Rule> |
getRuleDataWithHttpInfo(java.lang.Integer rulesetId,
java.lang.Integer ruleId)
Get Rule Data
Allows user to view a specific rule's data
|
RuleSetContents |
getRuleSetContents(java.lang.Integer rulesetId)
Get Rule Set Contents
Returns an object representing the contents of a rule set
|
com.squareup.okhttp.Call |
getRuleSetContentsAsync(java.lang.Integer rulesetId,
ApiCallback<RuleSetContents> callback)
Get Rule Set Contents (asynchronously)
Returns an object representing the contents of a rule set
|
com.squareup.okhttp.Call |
getRuleSetContentsCall(java.lang.Integer rulesetId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getRuleSetContents
|
ApiResponse<RuleSetContents> |
getRuleSetContentsWithHttpInfo(java.lang.Integer rulesetId)
Get Rule Set Contents
Returns an object representing the contents of a rule set
|
ModifyRuleResponse |
modifyRuleData(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
CreateRule rule)
Modify Rule Descriptor
Allows user to modify a specific rule's data
|
com.squareup.okhttp.Call |
modifyRuleDataAsync(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
CreateRule rule,
ApiCallback<ModifyRuleResponse> callback)
Modify Rule Descriptor (asynchronously)
Allows user to modify a specific rule's data
|
com.squareup.okhttp.Call |
modifyRuleDataCall(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
CreateRule rule,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for modifyRuleData
|
ApiResponse<ModifyRuleResponse> |
modifyRuleDataWithHttpInfo(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
CreateRule rule)
Modify Rule Descriptor
Allows user to modify a specific rule's data
|
RuleSet |
renameRuleSet(java.lang.Integer rulesetId,
RuleSet ruleSet)
Rename Rule Set
Allows user to rename a rule set
|
com.squareup.okhttp.Call |
renameRuleSetAsync(java.lang.Integer rulesetId,
RuleSet ruleSet,
ApiCallback<RuleSet> callback)
Rename Rule Set (asynchronously)
Allows user to rename a rule set
|
com.squareup.okhttp.Call |
renameRuleSetCall(java.lang.Integer rulesetId,
RuleSet ruleSet,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for renameRuleSet
|
ApiResponse<RuleSet> |
renameRuleSetWithHttpInfo(java.lang.Integer rulesetId,
RuleSet ruleSet)
Rename Rule Set
Allows user to rename a rule set
|
void |
setApiClient(ApiClient apiClient) |
RuleSet |
updateRuleSet(java.io.File ruleSetXml,
java.lang.Integer rulesetId)
Update Rule Set
Update rule set using an XML file
|
com.squareup.okhttp.Call |
updateRuleSetAsync(java.io.File ruleSetXml,
java.lang.Integer rulesetId,
ApiCallback<RuleSet> callback)
Update Rule Set (asynchronously)
Update rule set using an XML file
|
com.squareup.okhttp.Call |
updateRuleSetCall(java.io.File ruleSetXml,
java.lang.Integer rulesetId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateRuleSet
|
ApiResponse<RuleSet> |
updateRuleSetWithHttpInfo(java.io.File ruleSetXml,
java.lang.Integer rulesetId)
Update Rule Set
Update rule set using an XML file
|
RuleSet |
uploadRuleSet(java.io.File ruleSetXml)
Import Rule Set
Import rule set using an XML file
|
com.squareup.okhttp.Call |
uploadRuleSetAsync(java.io.File ruleSetXml,
ApiCallback<RuleSet> callback)
Import Rule Set (asynchronously)
Import rule set using an XML file
|
com.squareup.okhttp.Call |
uploadRuleSetCall(java.io.File ruleSetXml,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for uploadRuleSet
|
ApiResponse<RuleSet> |
uploadRuleSetWithHttpInfo(java.io.File ruleSetXml)
Import Rule Set
Import rule set using an XML file
|
public RuleSetsApi()
public RuleSetsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call addRuleCriteriaCall(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
RuleCriteria ruleCriteria,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
rulesetId - (required)ruleId - (required)ruleCriteria - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void addRuleCriteria(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
RuleCriteria ruleCriteria)
throws ApiException
rulesetId - (required)ruleId - (required)ruleCriteria - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> addRuleCriteriaWithHttpInfo(java.lang.Integer rulesetId, java.lang.Integer ruleId, RuleCriteria ruleCriteria) throws ApiException
rulesetId - (required)ruleId - (required)ruleCriteria - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call addRuleCriteriaAsync(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
RuleCriteria ruleCriteria,
ApiCallback<java.lang.Void> callback)
throws ApiException
rulesetId - (required)ruleId - (required)ruleCriteria - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call cloneRuleSetCall(java.lang.Integer rulesetId,
RuleSet ruleSet,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
rulesetId - (required)ruleSet - The values for `id` and `canEdit` will be ignored, only `name` is required (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic RuleSet cloneRuleSet(java.lang.Integer rulesetId, RuleSet ruleSet) throws ApiException
rulesetId - (required)ruleSet - The values for `id` and `canEdit` will be ignored, only `name` is required (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RuleSet> cloneRuleSetWithHttpInfo(java.lang.Integer rulesetId, RuleSet ruleSet) throws ApiException
rulesetId - (required)ruleSet - The values for `id` and `canEdit` will be ignored, only `name` is required (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call cloneRuleSetAsync(java.lang.Integer rulesetId,
RuleSet ruleSet,
ApiCallback<RuleSet> callback)
throws ApiException
rulesetId - (required)ruleSet - The values for `id` and `canEdit` will be ignored, only `name` is required (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call createRuleCall(java.lang.Integer rulesetId,
CreateRule rule,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
rulesetId - (required)rule - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Rule createRule(java.lang.Integer rulesetId, CreateRule rule) throws ApiException
rulesetId - (required)rule - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Rule> createRuleWithHttpInfo(java.lang.Integer rulesetId, CreateRule rule) throws ApiException
rulesetId - (required)rule - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createRuleAsync(java.lang.Integer rulesetId,
CreateRule rule,
ApiCallback<Rule> callback)
throws ApiException
rulesetId - (required)rule - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call createRuleSetCall(RuleSet ruleSet, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
ruleSet - The values for `id` and `canEdit` will be ignored, only `name` is required (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic RuleSet createRuleSet(RuleSet ruleSet) throws ApiException
ruleSet - The values for `id` and `canEdit` will be ignored, only `name` is required (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RuleSet> createRuleSetWithHttpInfo(RuleSet ruleSet) throws ApiException
ruleSet - The values for `id` and `canEdit` will be ignored, only `name` is required (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createRuleSetAsync(RuleSet ruleSet, ApiCallback<RuleSet> callback) throws ApiException
ruleSet - The values for `id` and `canEdit` will be ignored, only `name` is required (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call deleteRuleCall(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
rulesetId - (required)ruleId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteRule(java.lang.Integer rulesetId,
java.lang.Integer ruleId)
throws ApiException
rulesetId - (required)ruleId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> deleteRuleWithHttpInfo(java.lang.Integer rulesetId, java.lang.Integer ruleId) throws ApiException
rulesetId - (required)ruleId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteRuleAsync(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
ApiCallback<java.lang.Void> callback)
throws ApiException
rulesetId - (required)ruleId - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call deleteRuleCriteriaCall(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
RuleCriteria ruleCriteria,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
rulesetId - (required)ruleId - (required)ruleCriteria - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteRuleCriteria(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
RuleCriteria ruleCriteria)
throws ApiException
rulesetId - (required)ruleId - (required)ruleCriteria - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> deleteRuleCriteriaWithHttpInfo(java.lang.Integer rulesetId, java.lang.Integer ruleId, RuleCriteria ruleCriteria) throws ApiException
rulesetId - (required)ruleId - (required)ruleCriteria - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteRuleCriteriaAsync(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
RuleCriteria ruleCriteria,
ApiCallback<java.lang.Void> callback)
throws ApiException
rulesetId - (required)ruleId - (required)ruleCriteria - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call deleteRuleSetCall(java.lang.Integer rulesetId,
java.lang.Boolean force,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
rulesetId - (required)force - Set to true to force delete the rule set (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic RuleSetDeleteResponse deleteRuleSet(java.lang.Integer rulesetId, java.lang.Boolean force) throws ApiException
rulesetId - (required)force - Set to true to force delete the rule set (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RuleSetDeleteResponse> deleteRuleSetWithHttpInfo(java.lang.Integer rulesetId, java.lang.Boolean force) throws ApiException
rulesetId - (required)force - Set to true to force delete the rule set (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteRuleSetAsync(java.lang.Integer rulesetId,
java.lang.Boolean force,
ApiCallback<RuleSetDeleteResponse> callback)
throws ApiException
rulesetId - (required)force - Set to true to force delete the rule set (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call exportRuleSetCall(java.lang.Integer rulesetId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
rulesetId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic java.io.File exportRuleSet(java.lang.Integer rulesetId)
throws ApiException
rulesetId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.io.File> exportRuleSetWithHttpInfo(java.lang.Integer rulesetId) throws ApiException
rulesetId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call exportRuleSetAsync(java.lang.Integer rulesetId,
ApiCallback<java.io.File> callback)
throws ApiException
rulesetId - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getAllRuleSetsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic java.util.List<RuleSet> getAllRuleSets() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.util.List<RuleSet>> getAllRuleSetsWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAllRuleSetsAsync(ApiCallback<java.util.List<RuleSet>> callback) throws ApiException
callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getRuleDataCall(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
rulesetId - (required)ruleId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Rule getRuleData(java.lang.Integer rulesetId, java.lang.Integer ruleId) throws ApiException
rulesetId - (required)ruleId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Rule> getRuleDataWithHttpInfo(java.lang.Integer rulesetId, java.lang.Integer ruleId) throws ApiException
rulesetId - (required)ruleId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getRuleDataAsync(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
ApiCallback<Rule> callback)
throws ApiException
rulesetId - (required)ruleId - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getRuleSetContentsCall(java.lang.Integer rulesetId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
rulesetId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic RuleSetContents getRuleSetContents(java.lang.Integer rulesetId) throws ApiException
rulesetId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RuleSetContents> getRuleSetContentsWithHttpInfo(java.lang.Integer rulesetId) throws ApiException
rulesetId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getRuleSetContentsAsync(java.lang.Integer rulesetId,
ApiCallback<RuleSetContents> callback)
throws ApiException
rulesetId - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call modifyRuleDataCall(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
CreateRule rule,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
rulesetId - (required)ruleId - (required)rule - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ModifyRuleResponse modifyRuleData(java.lang.Integer rulesetId, java.lang.Integer ruleId, CreateRule rule) throws ApiException
rulesetId - (required)ruleId - (required)rule - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ModifyRuleResponse> modifyRuleDataWithHttpInfo(java.lang.Integer rulesetId, java.lang.Integer ruleId, CreateRule rule) throws ApiException
rulesetId - (required)ruleId - (required)rule - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call modifyRuleDataAsync(java.lang.Integer rulesetId,
java.lang.Integer ruleId,
CreateRule rule,
ApiCallback<ModifyRuleResponse> callback)
throws ApiException
rulesetId - (required)ruleId - (required)rule - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call renameRuleSetCall(java.lang.Integer rulesetId,
RuleSet ruleSet,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
rulesetId - (required)ruleSet - The values for `id` and `canEdit` will be ignored, only `name` is required (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic RuleSet renameRuleSet(java.lang.Integer rulesetId, RuleSet ruleSet) throws ApiException
rulesetId - (required)ruleSet - The values for `id` and `canEdit` will be ignored, only `name` is required (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RuleSet> renameRuleSetWithHttpInfo(java.lang.Integer rulesetId, RuleSet ruleSet) throws ApiException
rulesetId - (required)ruleSet - The values for `id` and `canEdit` will be ignored, only `name` is required (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call renameRuleSetAsync(java.lang.Integer rulesetId,
RuleSet ruleSet,
ApiCallback<RuleSet> callback)
throws ApiException
rulesetId - (required)ruleSet - The values for `id` and `canEdit` will be ignored, only `name` is required (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call updateRuleSetCall(java.io.File ruleSetXml,
java.lang.Integer rulesetId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
ruleSetXml - The xml file to be uploaded (required)rulesetId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic RuleSet updateRuleSet(java.io.File ruleSetXml, java.lang.Integer rulesetId) throws ApiException
ruleSetXml - The xml file to be uploaded (required)rulesetId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RuleSet> updateRuleSetWithHttpInfo(java.io.File ruleSetXml, java.lang.Integer rulesetId) throws ApiException
ruleSetXml - The xml file to be uploaded (required)rulesetId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateRuleSetAsync(java.io.File ruleSetXml,
java.lang.Integer rulesetId,
ApiCallback<RuleSet> callback)
throws ApiException
ruleSetXml - The xml file to be uploaded (required)rulesetId - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call uploadRuleSetCall(java.io.File ruleSetXml,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
ruleSetXml - The xml file to be uploaded (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic RuleSet uploadRuleSet(java.io.File ruleSetXml) throws ApiException
ruleSetXml - The xml file to be uploaded (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RuleSet> uploadRuleSetWithHttpInfo(java.io.File ruleSetXml) throws ApiException
ruleSetXml - The xml file to be uploaded (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call uploadRuleSetAsync(java.io.File ruleSetXml,
ApiCallback<RuleSet> callback)
throws ApiException
ruleSetXml - The xml file to be uploaded (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object