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

box / box-java-sdk / #6243

10 Feb 2026 05:27PM UTC coverage: 18.192% (-17.5%) from 35.714%
#6243

push

github

web-flow
fix(boxsdkgen): Move assigning default values from builder constructor to `build()` method (box/box-codegen#922) (#1712)

0 of 1677 new or added lines in 569 files covered. (0.0%)

2147 existing lines in 545 files now uncovered.

7388 of 40611 relevant lines covered (18.19%)

0.21 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/com/box/sdkgen/managers/shieldlists/GetShieldListByIdV2025R0Headers.java
1
package com.box.sdkgen.managers.shieldlists;
2

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

5
import com.box.sdkgen.parameters.v2025r0.boxversionheaderv2025r0.BoxVersionHeaderV2025R0;
6
import com.box.sdkgen.serialization.json.EnumWrapper;
7
import java.util.Map;
8

9
public class GetShieldListByIdV2025R0Headers {
10

11
  /** Version header. */
12
  public EnumWrapper<BoxVersionHeaderV2025R0> boxVersion;
13

14
  /** Extra headers that will be included in the HTTP request. */
15
  public Map<String, String> extraHeaders;
16

17
  public GetShieldListByIdV2025R0Headers() {
×
18
    this.boxVersion = new EnumWrapper<BoxVersionHeaderV2025R0>(BoxVersionHeaderV2025R0._2025_0);
×
19
    this.extraHeaders = mapOf();
×
20
  }
×
21

22
  protected GetShieldListByIdV2025R0Headers(Builder builder) {
×
23
    this.boxVersion = builder.boxVersion;
×
24
    this.extraHeaders = builder.extraHeaders;
×
25
  }
×
26

27
  public EnumWrapper<BoxVersionHeaderV2025R0> getBoxVersion() {
28
    return boxVersion;
×
29
  }
30

31
  public Map<String, String> getExtraHeaders() {
32
    return extraHeaders;
×
33
  }
34

35
  public static class Builder {
36

37
    protected EnumWrapper<BoxVersionHeaderV2025R0> boxVersion;
38

39
    protected Map<String, String> extraHeaders;
40

NEW
41
    public Builder() {}
×
42

43
    public Builder boxVersion(BoxVersionHeaderV2025R0 boxVersion) {
UNCOV
44
      this.boxVersion = new EnumWrapper<BoxVersionHeaderV2025R0>(boxVersion);
×
UNCOV
45
      return this;
×
46
    }
47

48
    public Builder boxVersion(EnumWrapper<BoxVersionHeaderV2025R0> boxVersion) {
UNCOV
49
      this.boxVersion = boxVersion;
×
UNCOV
50
      return this;
×
51
    }
52

53
    public Builder extraHeaders(Map<String, String> extraHeaders) {
UNCOV
54
      this.extraHeaders = extraHeaders;
×
UNCOV
55
      return this;
×
56
    }
57

58
    public GetShieldListByIdV2025R0Headers build() {
NEW
59
      if (this.boxVersion == null) {
×
NEW
60
        this.boxVersion = new EnumWrapper<BoxVersionHeaderV2025R0>(BoxVersionHeaderV2025R0._2025_0);
×
61
      }
NEW
62
      if (this.extraHeaders == null) {
×
NEW
63
        this.extraHeaders = mapOf();
×
64
      }
65
      return new GetShieldListByIdV2025R0Headers(this);
×
66
    }
67
  }
68
}
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