• 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

47.37
/src/main/java/com/box/sdkgen/managers/comments/UpdateCommentByIdRequestBody.java
1
package com.box.sdkgen.managers.comments;
2

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

8
@JsonFilter("nullablePropertyFilter")
9
public class UpdateCommentByIdRequestBody extends SerializableObject {
10

11
  /** The text of the comment to update. */
12
  protected String message;
13

14
  public UpdateCommentByIdRequestBody() {
15
    super();
×
16
  }
×
17

18
  protected UpdateCommentByIdRequestBody(Builder builder) {
19
    super();
1✔
20
    this.message = builder.message;
1✔
21
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
1✔
22
  }
1✔
23

24
  public String getMessage() {
25
    return message;
1✔
26
  }
27

28
  @Override
29
  public boolean equals(Object o) {
30
    if (this == o) {
×
31
      return true;
×
32
    }
33
    if (o == null || getClass() != o.getClass()) {
×
34
      return false;
×
35
    }
36
    UpdateCommentByIdRequestBody casted = (UpdateCommentByIdRequestBody) o;
×
37
    return Objects.equals(message, casted.message);
×
38
  }
39

40
  @Override
41
  public int hashCode() {
42
    return Objects.hash(message);
×
43
  }
44

45
  @Override
46
  public String toString() {
47
    return "UpdateCommentByIdRequestBody{" + "message='" + message + '\'' + "}";
×
48
  }
49

50
  public static class Builder extends NullableFieldTracker {
1✔
51

52
    protected String message;
53

54
    public Builder message(String message) {
55
      this.message = message;
1✔
56
      return this;
1✔
57
    }
58

59
    public UpdateCommentByIdRequestBody build() {
60
      return new UpdateCommentByIdRequestBody(this);
1✔
61
    }
62
  }
63
}
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