@@ -32,6 +32,9 @@ public class TesTask {
32
32
@ JsonProperty ("description" )
33
33
private String description ;
34
34
35
+ @ JsonProperty ("callback_url" )
36
+ private String callbackUrl ;
37
+
35
38
@ JsonProperty ("inputs" )
36
39
@ Valid
37
40
private List <TesInput > inputs = null ;
@@ -144,6 +147,26 @@ public void setDescription(String description) {
144
147
this .description = description ;
145
148
}
146
149
150
+ public TesTask callbackUrl (String callbackUrl ) {
151
+ this .callbackUrl = callbackUrl ;
152
+ return this ;
153
+ }
154
+
155
+ /**
156
+ * Optional user-provided callback URL.
157
+ * @return callbackUrl
158
+ */
159
+ @ ApiModelProperty (value = "Optional user-provided callback URL." )
160
+
161
+
162
+ public String getCallbackUrl () {
163
+ return callbackUrl ;
164
+ }
165
+
166
+ public void setCallbackUrl (String callbackUrl ) {
167
+ this .callbackUrl = callbackUrl ;
168
+ }
169
+
147
170
public TesTask inputs (List <TesInput > inputs ) {
148
171
this .inputs = inputs ;
149
172
return this ;
@@ -372,6 +395,7 @@ public boolean equals(Object o) {
372
395
Objects .equals (this .state , tesTask .state ) &&
373
396
Objects .equals (this .name , tesTask .name ) &&
374
397
Objects .equals (this .description , tesTask .description ) &&
398
+ Objects .equals (this .callbackUrl , tesTask .callbackUrl ) &&
375
399
Objects .equals (this .inputs , tesTask .inputs ) &&
376
400
Objects .equals (this .outputs , tesTask .outputs ) &&
377
401
Objects .equals (this .resources , tesTask .resources ) &&
@@ -384,7 +408,7 @@ public boolean equals(Object o) {
384
408
385
409
@ Override
386
410
public int hashCode () {
387
- return Objects .hash (id , state , name , description , inputs , outputs , resources , executors , volumes , tags , logs , creationTime );
411
+ return Objects .hash (id , state , name , description , callbackUrl , inputs , outputs , resources , executors , volumes , tags , logs , creationTime );
388
412
}
389
413
390
414
@ Override
@@ -396,6 +420,7 @@ public String toString() {
396
420
sb .append (" state: " ).append (toIndentedString (state )).append ("\n " );
397
421
sb .append (" name: " ).append (toIndentedString (name )).append ("\n " );
398
422
sb .append (" description: " ).append (toIndentedString (description )).append ("\n " );
423
+ sb .append (" callbackUrl: " ).append (toIndentedString (callbackUrl )).append ("\n " );
399
424
sb .append (" inputs: " ).append (toIndentedString (inputs )).append ("\n " );
400
425
sb .append (" outputs: " ).append (toIndentedString (outputs )).append ("\n " );
401
426
sb .append (" resources: " ).append (toIndentedString (resources )).append ("\n " );
0 commit comments