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

box / box-java-sdk-gen / #226

20 Jun 2025 03:14PM UTC coverage: 35.609% (-0.2%) from 35.816%
#226

push

github

web-flow
feat: Shorten builder names in Java (box/box-codegen#742) (#334)

367 of 1570 new or added lines in 984 files covered. (23.38%)

674 existing lines in 370 files now uncovered.

16125 of 45284 relevant lines covered (35.61%)

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/schemas/filefull/FileFullRepresentationsEntriesPropertiesField.java
1
package com.box.sdkgen.schemas.filefull;
2

3
import com.box.sdkgen.internal.SerializableObject;
4
import java.util.Objects;
5

6
public class FileFullRepresentationsEntriesPropertiesField extends SerializableObject {
7

8
  protected String dimensions;
9

10
  protected String paged;
11

12
  protected String thumb;
13

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

18
  protected FileFullRepresentationsEntriesPropertiesField(Builder builder) {
UNCOV
19
    super();
×
20
    this.dimensions = builder.dimensions;
×
21
    this.paged = builder.paged;
×
22
    this.thumb = builder.thumb;
×
23
  }
×
24

25
  public String getDimensions() {
26
    return dimensions;
×
27
  }
28

29
  public String getPaged() {
30
    return paged;
×
31
  }
32

33
  public String getThumb() {
34
    return thumb;
×
35
  }
36

37
  @Override
38
  public boolean equals(Object o) {
39
    if (this == o) {
×
40
      return true;
×
41
    }
42
    if (o == null || getClass() != o.getClass()) {
×
43
      return false;
×
44
    }
45
    FileFullRepresentationsEntriesPropertiesField casted =
×
46
        (FileFullRepresentationsEntriesPropertiesField) o;
47
    return Objects.equals(dimensions, casted.dimensions)
×
48
        && Objects.equals(paged, casted.paged)
×
49
        && Objects.equals(thumb, casted.thumb);
×
50
  }
51

52
  @Override
53
  public int hashCode() {
54
    return Objects.hash(dimensions, paged, thumb);
×
55
  }
56

57
  @Override
58
  public String toString() {
59
    return "FileFullRepresentationsEntriesPropertiesField{"
×
60
        + "dimensions='"
61
        + dimensions
62
        + '\''
63
        + ", "
64
        + "paged='"
65
        + paged
66
        + '\''
67
        + ", "
68
        + "thumb='"
69
        + thumb
70
        + '\''
71
        + "}";
72
  }
73

NEW
74
  public static class Builder {
×
75

76
    protected String dimensions;
77

78
    protected String paged;
79

80
    protected String thumb;
81

82
    public Builder dimensions(String dimensions) {
83
      this.dimensions = dimensions;
×
84
      return this;
×
85
    }
86

87
    public Builder paged(String paged) {
88
      this.paged = paged;
×
89
      return this;
×
90
    }
91

92
    public Builder thumb(String thumb) {
93
      this.thumb = thumb;
×
94
      return this;
×
95
    }
96

97
    public FileFullRepresentationsEntriesPropertiesField build() {
98
      return new FileFullRepresentationsEntriesPropertiesField(this);
×
99
    }
100
  }
101
}
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