• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

box / box-java-sdk / #5076

07 Oct 2025 12:35PM UTC coverage: 37.132% (+0.007%) from 37.125%
#5076

push

github

web-flow
test: Change `Event.additionalDetails` field assertion in events test (box/box-codegen#858) (#1491)

18454 of 49699 relevant lines covered (37.13%)

0.37 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/com/box/sdkgen/managers/weblinks/UpdateWebLinkByIdRequestBodyParentField.java
1
package com.box.sdkgen.managers.weblinks;
2

3
import com.box.sdkgen.internal.NullableFieldTracker;
4
import com.box.sdkgen.internal.SerializableObject;
5
import com.fasterxml.jackson.annotation.JsonFilter;
6
import com.fasterxml.jackson.annotation.JsonProperty;
7
import java.util.Objects;
8

9
@JsonFilter("nullablePropertyFilter")
10
public class UpdateWebLinkByIdRequestBodyParentField extends SerializableObject {
11

12
  /** The ID of parent item. */
13
  protected String id;
14

15
  /**
16
   * The input for `user_id` is optional. Moving to non-root folder is not allowed when `user_id` is
17
   * present. Parent folder id should be zero when `user_id` is provided.
18
   */
19
  @JsonProperty("user_id")
20
  protected String userId;
21

22
  public UpdateWebLinkByIdRequestBodyParentField() {
23
    super();
×
24
  }
×
25

26
  protected UpdateWebLinkByIdRequestBodyParentField(Builder builder) {
27
    super();
×
28
    this.id = builder.id;
×
29
    this.userId = builder.userId;
×
30
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
31
  }
×
32

33
  public String getId() {
34
    return id;
×
35
  }
36

37
  public String getUserId() {
38
    return userId;
×
39
  }
40

41
  @Override
42
  public boolean equals(Object o) {
43
    if (this == o) {
×
44
      return true;
×
45
    }
46
    if (o == null || getClass() != o.getClass()) {
×
47
      return false;
×
48
    }
49
    UpdateWebLinkByIdRequestBodyParentField casted = (UpdateWebLinkByIdRequestBodyParentField) o;
×
50
    return Objects.equals(id, casted.id) && Objects.equals(userId, casted.userId);
×
51
  }
52

53
  @Override
54
  public int hashCode() {
55
    return Objects.hash(id, userId);
×
56
  }
57

58
  @Override
59
  public String toString() {
60
    return "UpdateWebLinkByIdRequestBodyParentField{"
×
61
        + "id='"
62
        + id
63
        + '\''
64
        + ", "
65
        + "userId='"
66
        + userId
67
        + '\''
68
        + "}";
69
  }
70

71
  public static class Builder extends NullableFieldTracker {
×
72

73
    protected String id;
74

75
    protected String userId;
76

77
    public Builder id(String id) {
78
      this.id = id;
×
79
      return this;
×
80
    }
81

82
    public Builder userId(String userId) {
83
      this.userId = userId;
×
84
      return this;
×
85
    }
86

87
    public UpdateWebLinkByIdRequestBodyParentField build() {
88
      return new UpdateWebLinkByIdRequestBodyParentField(this);
×
89
    }
90
  }
91
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc