@ProviderType public class TestandtargetCallOptions extends Object
| Constructor and Description |
|---|
TestandtargetCallOptions() |
public TestandtargetCallOptions withCallMethod(TestandtargetHttpClient.TestandtargetMethodType callMethod)
callMethod - the HTTP method (GET, POST etc)public TestandtargetCallOptions withClientCode(String clientCode)
clientCode - the client codepublic TestandtargetCallOptions withLocation(String location)
location - the API location to invoke (e.g. /rest/v1/campaign or /rest/v5/segmentspublic TestandtargetCallOptions withSolution(TestandtargetHttpClient.TestandtargetSolution solution)
solution - the Adobe Target solution to use (Target or Target Recommendation)public TestandtargetCallOptions withParameters(TestandtargetHttpParameters httpParameters)
httpParameters - the additional HTTP parameterspublic TestandtargetCallOptions withApiVersion(String apiVersion)
apiVersion - the API version to invoke. If null is supplied then the v1 version is used.public TestandtargetHttpClient.TestandtargetMethodType getCallMethod()
TestandtargetHttpClient.TestandtargetMethodType object representing the methodpublic String getClientCode()
String object representing the client codepublic String getLocation()
String object representing the location (e.g. campaign/23.jsonpublic TestandtargetHttpClient.TestandtargetSolution getSolution()
TestandtargetHttpClient.TestandtargetSolution object representing the methodpublic TestandtargetHttpParameters getHttpParameters()
TestandtargetHttpParameters object representing the additional HTTP parameters.Copyright © 2010 - 2020 Adobe. All Rights Reserved