• 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

18.18
/src/main/java/com/box/sdkgen/managers/termsofservices/GetTermsOfServiceQueryParams.java
1
package com.box.sdkgen.managers.termsofservices;
2

3
import com.box.sdkgen.serialization.json.EnumWrapper;
4

5
public class GetTermsOfServiceQueryParams {
6

7
  public EnumWrapper<GetTermsOfServiceQueryParamsTosTypeField> tosType;
8

9
  public GetTermsOfServiceQueryParams() {}
1✔
10

NEW
11
  protected GetTermsOfServiceQueryParams(Builder builder) {
×
12
    this.tosType = builder.tosType;
×
13
  }
×
14

15
  public EnumWrapper<GetTermsOfServiceQueryParamsTosTypeField> getTosType() {
16
    return tosType;
1✔
17
  }
18

NEW
19
  public static class Builder {
×
20

21
    protected EnumWrapper<GetTermsOfServiceQueryParamsTosTypeField> tosType;
22

23
    public Builder tosType(GetTermsOfServiceQueryParamsTosTypeField tosType) {
UNCOV
24
      this.tosType = new EnumWrapper<GetTermsOfServiceQueryParamsTosTypeField>(tosType);
×
25
      return this;
×
26
    }
27

28
    public Builder tosType(EnumWrapper<GetTermsOfServiceQueryParamsTosTypeField> tosType) {
UNCOV
29
      this.tosType = tosType;
×
30
      return this;
×
31
    }
32

33
    public GetTermsOfServiceQueryParams build() {
34
      return new GetTermsOfServiceQueryParams(this);
×
35
    }
36
  }
37
}
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