• 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

8.7
/src/main/java/com/box/sdkgen/schemas/templatesignerinput/TemplateSignerInputDimensionsField.java
1
package com.box.sdkgen.schemas.templatesignerinput;
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 TemplateSignerInputDimensionsField extends SerializableObject {
10

11
  /** Relative width to the page the input is on, ranging from 0 to 1. */
12
  protected Double width;
13

14
  /** Relative height to the page the input is on, ranging from 0 to 1. */
15
  protected Double height;
16

17
  public TemplateSignerInputDimensionsField() {
18
    super();
1✔
19
  }
1✔
20

21
  protected TemplateSignerInputDimensionsField(Builder builder) {
22
    super();
×
23
    this.width = builder.width;
×
24
    this.height = builder.height;
×
25
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
26
  }
×
27

28
  public Double getWidth() {
29
    return width;
×
30
  }
31

32
  public Double getHeight() {
33
    return height;
×
34
  }
35

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

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

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

66
  public static class Builder extends NullableFieldTracker {
×
67

68
    protected Double width;
69

70
    protected Double height;
71

72
    public Builder width(Double width) {
73
      this.width = width;
×
74
      return this;
×
75
    }
76

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

82
    public TemplateSignerInputDimensionsField build() {
83
      return new TemplateSignerInputDimensionsField(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