File tree Expand file tree Collapse file tree 1 file changed +27
-3
lines changed
com.developer.nefarious.zjoule.plugin/src/com/developer/nefarious/zjoule/plugin/models Expand file tree Collapse file tree 1 file changed +27
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public class ResourceGroup {
21
21
22
22
/** A list of labels associated with the resource group. */
23
23
@ SerializedName ("labels" )
24
- private List <String > labels ;
24
+ private List <Label > labels ;
25
25
26
26
/** The unique identifier of the resource group. */
27
27
@ SerializedName ("resourceGroupId" )
@@ -66,7 +66,7 @@ public void setCreatedAt(final String createdAt) {
66
66
*
67
67
* @return a {@link List} of labels as {@link String}.
68
68
*/
69
- public List <String > getLabels () {
69
+ public List <Label > getLabels () {
70
70
return labels ;
71
71
}
72
72
@@ -75,7 +75,7 @@ public List<String> getLabels() {
75
75
*
76
76
* @param labels a {@link List} of labels to set.
77
77
*/
78
- public void setLabels (final List <String > labels ) {
78
+ public void setLabels (final List <Label > labels ) {
79
79
this .labels = labels ;
80
80
}
81
81
@@ -169,3 +169,27 @@ public void setZoneId(final String zoneId) {
169
169
this .zoneId = zoneId ;
170
170
}
171
171
}
172
+
173
+ class Label {
174
+
175
+ private String key ;
176
+
177
+ private String value ;
178
+
179
+ public String getKey () {
180
+ return key ;
181
+ }
182
+
183
+ public void setKey (final String key ) {
184
+ this .key = key ;
185
+ }
186
+
187
+ public String getValue () {
188
+ return value ;
189
+ }
190
+
191
+ public void setValue (final String value ) {
192
+ this .value = value ;
193
+ }
194
+
195
+ }
You can’t perform that action at this time.
0 commit comments