• 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/FileFullRepresentationsEntriesField.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 FileFullRepresentationsEntriesField extends SerializableObject {
7

8
  protected FileFullRepresentationsEntriesContentField content;
9

10
  protected FileFullRepresentationsEntriesInfoField info;
11

12
  protected FileFullRepresentationsEntriesPropertiesField properties;
13

14
  protected String representation;
15

16
  protected FileFullRepresentationsEntriesStatusField status;
17

18
  public FileFullRepresentationsEntriesField() {
19
    super();
×
20
  }
×
21

22
  protected FileFullRepresentationsEntriesField(Builder builder) {
UNCOV
23
    super();
×
24
    this.content = builder.content;
×
25
    this.info = builder.info;
×
26
    this.properties = builder.properties;
×
27
    this.representation = builder.representation;
×
28
    this.status = builder.status;
×
29
  }
×
30

31
  public FileFullRepresentationsEntriesContentField getContent() {
32
    return content;
×
33
  }
34

35
  public FileFullRepresentationsEntriesInfoField getInfo() {
36
    return info;
×
37
  }
38

39
  public FileFullRepresentationsEntriesPropertiesField getProperties() {
40
    return properties;
×
41
  }
42

43
  public String getRepresentation() {
44
    return representation;
×
45
  }
46

47
  public FileFullRepresentationsEntriesStatusField getStatus() {
48
    return status;
×
49
  }
50

51
  @Override
52
  public boolean equals(Object o) {
53
    if (this == o) {
×
54
      return true;
×
55
    }
56
    if (o == null || getClass() != o.getClass()) {
×
57
      return false;
×
58
    }
59
    FileFullRepresentationsEntriesField casted = (FileFullRepresentationsEntriesField) o;
×
60
    return Objects.equals(content, casted.content)
×
61
        && Objects.equals(info, casted.info)
×
62
        && Objects.equals(properties, casted.properties)
×
63
        && Objects.equals(representation, casted.representation)
×
64
        && Objects.equals(status, casted.status);
×
65
  }
66

67
  @Override
68
  public int hashCode() {
69
    return Objects.hash(content, info, properties, representation, status);
×
70
  }
71

72
  @Override
73
  public String toString() {
74
    return "FileFullRepresentationsEntriesField{"
×
75
        + "content='"
76
        + content
77
        + '\''
78
        + ", "
79
        + "info='"
80
        + info
81
        + '\''
82
        + ", "
83
        + "properties='"
84
        + properties
85
        + '\''
86
        + ", "
87
        + "representation='"
88
        + representation
89
        + '\''
90
        + ", "
91
        + "status='"
92
        + status
93
        + '\''
94
        + "}";
95
  }
96

NEW
97
  public static class Builder {
×
98

99
    protected FileFullRepresentationsEntriesContentField content;
100

101
    protected FileFullRepresentationsEntriesInfoField info;
102

103
    protected FileFullRepresentationsEntriesPropertiesField properties;
104

105
    protected String representation;
106

107
    protected FileFullRepresentationsEntriesStatusField status;
108

109
    public Builder content(FileFullRepresentationsEntriesContentField content) {
UNCOV
110
      this.content = content;
×
111
      return this;
×
112
    }
113

114
    public Builder info(FileFullRepresentationsEntriesInfoField info) {
UNCOV
115
      this.info = info;
×
116
      return this;
×
117
    }
118

119
    public Builder properties(FileFullRepresentationsEntriesPropertiesField properties) {
UNCOV
120
      this.properties = properties;
×
121
      return this;
×
122
    }
123

124
    public Builder representation(String representation) {
125
      this.representation = representation;
×
126
      return this;
×
127
    }
128

129
    public Builder status(FileFullRepresentationsEntriesStatusField status) {
UNCOV
130
      this.status = status;
×
131
      return this;
×
132
    }
133

134
    public FileFullRepresentationsEntriesField build() {
135
      return new FileFullRepresentationsEntriesField(this);
×
136
    }
137
  }
138
}
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