TestandtargetCallOptions.java
2.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* aQute.bnd.annotation.ProviderType
*/
package com.day.cq.analytics.testandtarget;
import aQute.bnd.annotation.ProviderType;
import com.day.cq.analytics.testandtarget.TestandtargetHttpClient;
import com.day.cq.analytics.testandtarget.TestandtargetHttpParameters;
@ProviderType
public class TestandtargetCallOptions {
private TestandtargetHttpClient.TestandtargetMethodType callMethod = TestandtargetHttpClient.TestandtargetMethodType.GET;
private String clientCode;
private String location;
private TestandtargetHttpClient.TestandtargetSolution solution = TestandtargetHttpClient.TestandtargetSolution.TARGET;
private TestandtargetHttpParameters httpParameters;
private String apiVersion;
public TestandtargetCallOptions withCallMethod(TestandtargetHttpClient.TestandtargetMethodType callMethod) {
this.callMethod = callMethod;
return this;
}
public TestandtargetCallOptions withClientCode(String clientCode) {
this.clientCode = clientCode;
return this;
}
public TestandtargetCallOptions withLocation(String location) {
this.location = location;
return this;
}
public TestandtargetCallOptions withSolution(TestandtargetHttpClient.TestandtargetSolution solution) {
this.solution = solution;
return this;
}
public TestandtargetCallOptions withParameters(TestandtargetHttpParameters httpParameters) {
this.httpParameters = httpParameters;
return this;
}
public TestandtargetCallOptions withApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
return this;
}
public TestandtargetHttpClient.TestandtargetMethodType getCallMethod() {
return this.callMethod;
}
public String getClientCode() {
return this.clientCode;
}
public String getLocation() {
return this.location;
}
public TestandtargetHttpClient.TestandtargetSolution getSolution() {
return this.solution;
}
public TestandtargetHttpParameters getHttpParameters() {
return this.httpParameters;
}
public String getApiVersion() {
return this.apiVersion;
}
}