@@ -65,6 +65,10 @@ public class HubV2025R0 extends HubBaseV2025R0 {
6565 @ JsonProperty ("can_shared_link_be_created" )
6666 protected Boolean canSharedLinkBeCreated ;
6767
68+ /** Indicates if a public shared link can be created for the Box Hub. */
69+ @ JsonProperty ("can_public_shared_link_be_created" )
70+ protected Boolean canPublicSharedLinkBeCreated ;
71+
6872 public HubV2025R0 (@ JsonProperty ("id" ) String id ) {
6973 super (id );
7074 }
@@ -82,6 +86,7 @@ protected HubV2025R0(Builder builder) {
8286 this .isCollaborationRestrictedToEnterprise = builder .isCollaborationRestrictedToEnterprise ;
8387 this .canNonOwnersInvite = builder .canNonOwnersInvite ;
8488 this .canSharedLinkBeCreated = builder .canSharedLinkBeCreated ;
89+ this .canPublicSharedLinkBeCreated = builder .canPublicSharedLinkBeCreated ;
8590 markNullableFieldsAsSet (builder .getExplicitlySetNullableFields ());
8691 }
8792
@@ -129,6 +134,10 @@ public Boolean getCanSharedLinkBeCreated() {
129134 return canSharedLinkBeCreated ;
130135 }
131136
137+ public Boolean getCanPublicSharedLinkBeCreated () {
138+ return canPublicSharedLinkBeCreated ;
139+ }
140+
132141 @ Override
133142 public boolean equals (Object o ) {
134143 if (this == o ) {
@@ -151,7 +160,8 @@ public boolean equals(Object o) {
151160 && Objects .equals (
152161 isCollaborationRestrictedToEnterprise , casted .isCollaborationRestrictedToEnterprise )
153162 && Objects .equals (canNonOwnersInvite , casted .canNonOwnersInvite )
154- && Objects .equals (canSharedLinkBeCreated , casted .canSharedLinkBeCreated );
163+ && Objects .equals (canSharedLinkBeCreated , casted .canSharedLinkBeCreated )
164+ && Objects .equals (canPublicSharedLinkBeCreated , casted .canPublicSharedLinkBeCreated );
155165 }
156166
157167 @ Override
@@ -169,7 +179,8 @@ public int hashCode() {
169179 isAiEnabled ,
170180 isCollaborationRestrictedToEnterprise ,
171181 canNonOwnersInvite ,
172- canSharedLinkBeCreated );
182+ canSharedLinkBeCreated ,
183+ canPublicSharedLinkBeCreated );
173184 }
174185
175186 @ Override
@@ -226,6 +237,10 @@ public String toString() {
226237 + "canSharedLinkBeCreated='"
227238 + canSharedLinkBeCreated
228239 + '\''
240+ + ", "
241+ + "canPublicSharedLinkBeCreated='"
242+ + canPublicSharedLinkBeCreated
243+ + '\''
229244 + "}" ;
230245 }
231246
@@ -253,6 +268,8 @@ public static class Builder extends HubBaseV2025R0.Builder {
253268
254269 protected Boolean canSharedLinkBeCreated ;
255270
271+ protected Boolean canPublicSharedLinkBeCreated ;
272+
256273 public Builder (String id ) {
257274 super (id );
258275 }
@@ -313,6 +330,11 @@ public Builder canSharedLinkBeCreated(Boolean canSharedLinkBeCreated) {
313330 return this ;
314331 }
315332
333+ public Builder canPublicSharedLinkBeCreated (Boolean canPublicSharedLinkBeCreated ) {
334+ this .canPublicSharedLinkBeCreated = canPublicSharedLinkBeCreated ;
335+ return this ;
336+ }
337+
316338 @ Override
317339 public Builder type (HubBaseV2025R0TypeField type ) {
318340 this .type = new EnumWrapper <HubBaseV2025R0TypeField >(type );
0 commit comments