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

box / box-java-sdk-gen / #296

25 Jun 2025 10:12AM UTC coverage: 35.677% (-0.05%) from 35.723%
#296

Pull #348

github

web-flow
Merge d48b178e0 into d8480ee6c
Pull Request #348: chore: Update .codegen.json with commit hash of codegen and openapi spec

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

11820 existing lines in 631 files now uncovered.

16946 of 47499 relevant lines covered (35.68%)

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

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

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

23
  public String getId() {
24
    return id;
1✔
25
  }
26

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

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

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

50
  public static class Builder extends NullableFieldTracker {
1✔
51

52
    protected String id;
53

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

59
    public PreflightFileUploadCheckRequestBodyParentField build() {
60
      return new PreflightFileUploadCheckRequestBodyParentField(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