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

box / box-java-sdk-gen / #294

24 Jun 2025 01:20PM UTC coverage: 35.662% (+0.03%) from 35.632%
#294

Pull #347

github

web-flow
Merge 2c100d09c into d8480ee6c
Pull Request #347: feat: Add Webhook Validation In Java (box/box-codegen#745)

68 of 82 new or added lines in 2 files covered. (82.93%)

11791 existing lines in 624 files now uncovered.

16939 of 47499 relevant lines covered (35.66%)

0.36 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
  protected String id;
13

14
  @JsonProperty("user_id")
15
  protected String userId;
16

17
  public UpdateWebLinkByIdRequestBodyParentField() {
UNCOV
18
    super();
×
19
  }
×
20

21
  protected UpdateWebLinkByIdRequestBodyParentField(Builder builder) {
22
    super();
×
UNCOV
23
    this.id = builder.id;
×
UNCOV
24
    this.userId = builder.userId;
×
25
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
UNCOV
26
  }
×
27

28
  public String getId() {
29
    return id;
×
30
  }
31

32
  public String getUserId() {
UNCOV
33
    return userId;
×
34
  }
35

36
  @Override
37
  public boolean equals(Object o) {
38
    if (this == o) {
×
UNCOV
39
      return true;
×
40
    }
41
    if (o == null || getClass() != o.getClass()) {
×
UNCOV
42
      return false;
×
43
    }
UNCOV
44
    UpdateWebLinkByIdRequestBodyParentField casted = (UpdateWebLinkByIdRequestBodyParentField) o;
×
UNCOV
45
    return Objects.equals(id, casted.id) && Objects.equals(userId, casted.userId);
×
46
  }
47

48
  @Override
49
  public int hashCode() {
UNCOV
50
    return Objects.hash(id, userId);
×
51
  }
52

53
  @Override
54
  public String toString() {
UNCOV
55
    return "UpdateWebLinkByIdRequestBodyParentField{"
×
56
        + "id='"
57
        + id
58
        + '\''
59
        + ", "
60
        + "userId='"
61
        + userId
62
        + '\''
63
        + "}";
64
  }
65

UNCOV
66
  public static class Builder extends NullableFieldTracker {
×
67

68
    protected String id;
69

70
    protected String userId;
71

72
    public Builder id(String id) {
UNCOV
73
      this.id = id;
×
74
      return this;
×
75
    }
76

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

82
    public UpdateWebLinkByIdRequestBodyParentField build() {
UNCOV
83
      return new UpdateWebLinkByIdRequestBodyParentField(this);
×
84
    }
85
  }
86
}
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