File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
src/main/java/com/ecwid/consul/v1/agent/model Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,12 @@ public static class Check {
25
25
@ SerializedName ("HTTP" )
26
26
private String http ;
27
27
28
+ @ SerializedName ("Method" )
29
+ private String method ;
30
+
31
+ @ SerializedName ("Header" )
32
+ private Map <String , List <String >> header ;
33
+
28
34
@ SerializedName ("TCP" )
29
35
private String tcp ;
30
36
@@ -72,6 +78,22 @@ public void setHttp(String http) {
72
78
this .http = http ;
73
79
}
74
80
81
+ public String getMethod () {
82
+ return method ;
83
+ }
84
+
85
+ public void setMethod (String method ) {
86
+ this .method = method ;
87
+ }
88
+
89
+ public Map <String , List <String >> getHeader () {
90
+ return header ;
91
+ }
92
+
93
+ public void setHeader (Map <String , List <String >> header ) {
94
+ this .header = header ;
95
+ }
96
+
75
97
public String getTcp () {
76
98
return tcp ;
77
99
}
@@ -119,6 +141,8 @@ public String toString() {
119
141
", interval='" + interval + '\'' +
120
142
", ttl='" + ttl + '\'' +
121
143
", http='" + http + '\'' +
144
+ ", method='" + method + '\'' +
145
+ ", header=" + header +
122
146
", tcp='" + tcp + '\'' +
123
147
", timeout='" + timeout + '\'' +
124
148
", deregisterCriticalServiceAfter='" + deregisterCriticalServiceAfter + '\'' +
You can’t perform that action at this time.
0 commit comments