77import com .box .sdkgen .schemas .v2025r0 .hubitemreferencev2025r0 .HubItemReferenceV2025R0 ;
88import com .box .sdkgen .schemas .v2025r0 .weblinkreferencev2025r0 .WeblinkReferenceV2025R0 ;
99import com .fasterxml .jackson .annotation .JsonFilter ;
10+ import com .fasterxml .jackson .annotation .JsonProperty ;
1011import java .util .Objects ;
1112
1213/** Result of a Box Hub item operation. */
@@ -18,6 +19,10 @@ public class HubItemOperationResultV2025R0 extends SerializableObject {
1819
1920 protected HubItemReferenceV2025R0 item ;
2021
22+ /** The ID of the parent block the item was added to. */
23+ @ JsonProperty ("parent_id" )
24+ protected String parentId ;
25+
2126 /** The HTTP status code of the operation. */
2227 protected Long status ;
2328
@@ -32,6 +37,7 @@ protected HubItemOperationResultV2025R0(Builder builder) {
3237 super ();
3338 this .action = builder .action ;
3439 this .item = builder .item ;
40+ this .parentId = builder .parentId ;
3541 this .status = builder .status ;
3642 this .error = builder .error ;
3743 markNullableFieldsAsSet (builder .getExplicitlySetNullableFields ());
@@ -45,6 +51,10 @@ public HubItemReferenceV2025R0 getItem() {
4551 return item ;
4652 }
4753
54+ public String getParentId () {
55+ return parentId ;
56+ }
57+
4858 public Long getStatus () {
4959 return status ;
5060 }
@@ -64,13 +74,14 @@ public boolean equals(Object o) {
6474 HubItemOperationResultV2025R0 casted = (HubItemOperationResultV2025R0 ) o ;
6575 return Objects .equals (action , casted .action )
6676 && Objects .equals (item , casted .item )
77+ && Objects .equals (parentId , casted .parentId )
6778 && Objects .equals (status , casted .status )
6879 && Objects .equals (error , casted .error );
6980 }
7081
7182 @ Override
7283 public int hashCode () {
73- return Objects .hash (action , item , status , error );
84+ return Objects .hash (action , item , parentId , status , error );
7485 }
7586
7687 @ Override
@@ -84,6 +95,10 @@ public String toString() {
8495 + item
8596 + '\''
8697 + ", "
98+ + "parentId='"
99+ + parentId
100+ + '\''
101+ + ", "
87102 + "status='"
88103 + status
89104 + '\''
@@ -100,6 +115,8 @@ public static class Builder extends NullableFieldTracker {
100115
101116 protected HubItemReferenceV2025R0 item ;
102117
118+ protected String parentId ;
119+
103120 protected Long status ;
104121
105122 protected String error ;
@@ -129,6 +146,11 @@ public Builder item(HubItemReferenceV2025R0 item) {
129146 return this ;
130147 }
131148
149+ public Builder parentId (String parentId ) {
150+ this .parentId = parentId ;
151+ return this ;
152+ }
153+
132154 public Builder status (Long status ) {
133155 this .status = status ;
134156 return this ;
0 commit comments