• 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/uploads/PreflightFileUploadCheckRequestBodyParentField.java
1
package com.box.sdkgen.managers.uploads;
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 PreflightFileUploadCheckRequestBodyParentField extends SerializableObject {
10

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

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

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

24
  public String getId() {
25
    return id;
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
    PreflightFileUploadCheckRequestBodyParentField casted =
×
37
        (PreflightFileUploadCheckRequestBodyParentField) o;
38
    return Objects.equals(id, casted.id);
×
39
  }
40

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

46
  @Override
47
  public String toString() {
48
    return "PreflightFileUploadCheckRequestBodyParentField{" + "id='" + id + '\'' + "}";
×
49
  }
50

51
  public static class Builder extends NullableFieldTracker {
1✔
52

53
    protected String id;
54

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

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