• 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

29.41
/src/main/java/com/box/sdkgen/managers/weblinks/GetWebLinkByIdHeaders.java
1
package com.box.sdkgen.managers.weblinks;
2

3
import static com.box.sdkgen.internal.utils.UtilsManager.mapOf;
4

5
import java.util.Map;
6

7
public class GetWebLinkByIdHeaders {
8

9
  public String boxapi;
10

11
  public Map<String, String> extraHeaders;
12

13
  public GetWebLinkByIdHeaders() {
1✔
14
    this.extraHeaders = mapOf();
1✔
15
  }
1✔
16

NEW
17
  protected GetWebLinkByIdHeaders(Builder builder) {
×
18
    this.boxapi = builder.boxapi;
×
19
    this.extraHeaders = builder.extraHeaders;
×
20
  }
×
21

22
  public String getBoxapi() {
23
    return boxapi;
1✔
24
  }
25

26
  public Map<String, String> getExtraHeaders() {
27
    return extraHeaders;
1✔
28
  }
29

30
  public static class Builder {
31

32
    protected String boxapi;
33

34
    protected Map<String, String> extraHeaders;
35

NEW
36
    public Builder() {
×
37
      this.extraHeaders = mapOf();
×
38
    }
×
39

40
    public Builder boxapi(String boxapi) {
41
      this.boxapi = boxapi;
×
42
      return this;
×
43
    }
44

45
    public Builder extraHeaders(Map<String, String> extraHeaders) {
46
      this.extraHeaders = extraHeaders;
×
47
      return this;
×
48
    }
49

50
    public GetWebLinkByIdHeaders build() {
51
      return new GetWebLinkByIdHeaders(this);
×
52
    }
53
  }
54
}
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