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

box / box-java-sdk-gen / #246

23 Jun 2025 12:23PM UTC coverage: 35.729% (+0.01%) from 35.719%
#246

Pull #343

github

web-flow
Merge ee8babc34 into 8c4ecda2f
Pull Request #343: test: Hubs API integration tests (box/box-codegen#727)

446 of 1240 new or added lines in 43 files covered. (35.97%)

4 existing lines in 2 files now uncovered.

16616 of 46506 relevant lines covered (35.73%)

0.36 hits per line

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

28.57
/src/main/java/com/box/sdkgen/managers/hubs/GetHubByIdV2025R0Headers.java
1
package com.box.sdkgen.managers.hubs;
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 GetHubByIdV2025R0Headers {
10

11
  public EnumWrapper<BoxVersionHeaderV2025R0> boxVersion;
12

13
  public Map<String, String> extraHeaders;
14

15
  public GetHubByIdV2025R0Headers() {
1✔
16
    this.boxVersion = new EnumWrapper<BoxVersionHeaderV2025R0>(BoxVersionHeaderV2025R0._2025_0);
1✔
17
    this.extraHeaders = mapOf();
1✔
18
  }
1✔
19

NEW
20
  protected GetHubByIdV2025R0Headers(Builder builder) {
×
NEW
21
    this.boxVersion = builder.boxVersion;
×
NEW
22
    this.extraHeaders = builder.extraHeaders;
×
NEW
23
  }
×
24

25
  public EnumWrapper<BoxVersionHeaderV2025R0> getBoxVersion() {
26
    return boxVersion;
1✔
27
  }
28

29
  public Map<String, String> getExtraHeaders() {
30
    return extraHeaders;
1✔
31
  }
32

33
  public static class Builder {
34

35
    protected EnumWrapper<BoxVersionHeaderV2025R0> boxVersion;
36

37
    protected Map<String, String> extraHeaders;
38

NEW
39
    public Builder() {
×
NEW
40
      this.boxVersion = new EnumWrapper<BoxVersionHeaderV2025R0>(BoxVersionHeaderV2025R0._2025_0);
×
NEW
41
      this.extraHeaders = mapOf();
×
NEW
42
    }
×
43

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

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

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

59
    public GetHubByIdV2025R0Headers build() {
NEW
60
      return new GetHubByIdV2025R0Headers(this);
×
61
    }
62
  }
63
}
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