Skip to content

Commit 645df61

Browse files
authored
Merge pull request #170 from lidengke/master
add service meta field in Health.Service
2 parents f82b8f8 + db63ab1 commit 645df61

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/main/java/com/ecwid/consul/v1/health/model/HealthService.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ public static class Service {
129129
@SerializedName("Address")
130130
private String address;
131131

132+
@SerializedName("Meta")
133+
private Map<String, String> meta;
134+
132135
@SerializedName("Port")
133136
private Integer port;
134137

@@ -173,6 +176,14 @@ public void setAddress(String address) {
173176
this.address = address;
174177
}
175178

179+
public Map<String, String> getMeta() {
180+
return meta;
181+
}
182+
183+
public void setMeta(Map<String, String> meta) {
184+
this.meta = meta;
185+
}
186+
176187
public Integer getPort() {
177188
return port;
178189
}

0 commit comments

Comments
 (0)