2525 DORADeploymentRequestAttributes .JSON_PROPERTY_ID ,
2626 DORADeploymentRequestAttributes .JSON_PROPERTY_SERVICE ,
2727 DORADeploymentRequestAttributes .JSON_PROPERTY_STARTED_AT ,
28+ DORADeploymentRequestAttributes .JSON_PROPERTY_TEAM ,
2829 DORADeploymentRequestAttributes .JSON_PROPERTY_VERSION
2930})
3031@ jakarta .annotation .Generated (
@@ -49,6 +50,9 @@ public class DORADeploymentRequestAttributes {
4950 public static final String JSON_PROPERTY_STARTED_AT = "started_at" ;
5051 private Long startedAt ;
5152
53+ public static final String JSON_PROPERTY_TEAM = "team" ;
54+ private String team ;
55+
5256 public static final String JSON_PROPERTY_VERSION = "version" ;
5357 private String version ;
5458
@@ -190,6 +194,28 @@ public void setStartedAt(Long startedAt) {
190194 this .startedAt = startedAt ;
191195 }
192196
197+ public DORADeploymentRequestAttributes team (String team ) {
198+ this .team = team ;
199+ return this ;
200+ }
201+
202+ /**
203+ * Name of the team owning the deployed service. If not provided, this is automatically populated
204+ * with the team associated with the service in the Service Catalog.
205+ *
206+ * @return team
207+ */
208+ @ jakarta .annotation .Nullable
209+ @ JsonProperty (JSON_PROPERTY_TEAM )
210+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
211+ public String getTeam () {
212+ return team ;
213+ }
214+
215+ public void setTeam (String team ) {
216+ this .team = team ;
217+ }
218+
193219 public DORADeploymentRequestAttributes version (String version ) {
194220 this .version = version ;
195221 return this ;
@@ -276,6 +302,7 @@ public boolean equals(Object o) {
276302 && Objects .equals (this .id , doraDeploymentRequestAttributes .id )
277303 && Objects .equals (this .service , doraDeploymentRequestAttributes .service )
278304 && Objects .equals (this .startedAt , doraDeploymentRequestAttributes .startedAt )
305+ && Objects .equals (this .team , doraDeploymentRequestAttributes .team )
279306 && Objects .equals (this .version , doraDeploymentRequestAttributes .version )
280307 && Objects .equals (
281308 this .additionalProperties , doraDeploymentRequestAttributes .additionalProperties );
@@ -284,7 +311,7 @@ public boolean equals(Object o) {
284311 @ Override
285312 public int hashCode () {
286313 return Objects .hash (
287- env , finishedAt , git , id , service , startedAt , version , additionalProperties );
314+ env , finishedAt , git , id , service , startedAt , team , version , additionalProperties );
288315 }
289316
290317 @ Override
@@ -297,6 +324,7 @@ public String toString() {
297324 sb .append (" id: " ).append (toIndentedString (id )).append ("\n " );
298325 sb .append (" service: " ).append (toIndentedString (service )).append ("\n " );
299326 sb .append (" startedAt: " ).append (toIndentedString (startedAt )).append ("\n " );
327+ sb .append (" team: " ).append (toIndentedString (team )).append ("\n " );
300328 sb .append (" version: " ).append (toIndentedString (version )).append ("\n " );
301329 sb .append (" additionalProperties: " )
302330 .append (toIndentedString (additionalProperties ))
0 commit comments