• 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/integrationmappingsteams/IntegrationMappingsTeams.java
1
package com.box.sdkgen.schemas.integrationmappingsteams;
2

3
import com.box.sdkgen.internal.SerializableObject;
4
import com.box.sdkgen.schemas.integrationmappingteams.IntegrationMappingTeams;
5
import java.util.List;
6
import java.util.Objects;
7

8
public class IntegrationMappingsTeams extends SerializableObject {
9

10
  protected List<IntegrationMappingTeams> entries;
11

12
  public IntegrationMappingsTeams() {
13
    super();
×
14
  }
×
15

16
  protected IntegrationMappingsTeams(Builder builder) {
17
    super();
×
18
    this.entries = builder.entries;
×
19
  }
×
20

21
  public List<IntegrationMappingTeams> getEntries() {
22
    return entries;
×
23
  }
24

25
  @Override
26
  public boolean equals(Object o) {
27
    if (this == o) {
×
28
      return true;
×
29
    }
30
    if (o == null || getClass() != o.getClass()) {
×
31
      return false;
×
32
    }
33
    IntegrationMappingsTeams casted = (IntegrationMappingsTeams) o;
×
34
    return Objects.equals(entries, casted.entries);
×
35
  }
36

37
  @Override
38
  public int hashCode() {
39
    return Objects.hash(entries);
×
40
  }
41

42
  @Override
43
  public String toString() {
44
    return "IntegrationMappingsTeams{" + "entries='" + entries + '\'' + "}";
×
45
  }
46

NEW
47
  public static class Builder {
×
48

49
    protected List<IntegrationMappingTeams> entries;
50

51
    public Builder entries(List<IntegrationMappingTeams> entries) {
52
      this.entries = entries;
×
53
      return this;
×
54
    }
55

56
    public IntegrationMappingsTeams build() {
57
      return new IntegrationMappingsTeams(this);
×
58
    }
59
  }
60
}
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