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

box / box-java-sdk / #6786

29 Apr 2026 03:28PM UTC coverage: 12.53% (-0.1%) from 12.64%
#6786

Pull #1814

github

web-flow
Merge 5bd0d2fb5 into cf0d67fa2
Pull Request #1814: test(boxsdkgen): Add tests for automate api (box/box-codegen#943)

0 of 542 new or added lines in 19 files covered. (0.0%)

18 existing lines in 9 files now uncovered.

8368 of 66786 relevant lines covered (12.53%)

0.13 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/automateworkflows/GetAutomateWorkflowsV2026R0Headers.java
1
package com.box.sdkgen.managers.automateworkflows;
2

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

5
import com.box.sdkgen.parameters.v2026r0.boxversionheaderv2026r0.BoxVersionHeaderV2026R0;
6
import com.box.sdkgen.serialization.json.EnumWrapper;
7
import java.util.Map;
8

9
public class GetAutomateWorkflowsV2026R0Headers {
10

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

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

NEW
17
  public GetAutomateWorkflowsV2026R0Headers() {
×
NEW
18
    this.boxVersion = new EnumWrapper<BoxVersionHeaderV2026R0>(BoxVersionHeaderV2026R0._2026_0);
×
NEW
19
    this.extraHeaders = mapOf();
×
NEW
20
  }
×
21

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

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

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

35
  public static class Builder {
36

37
    protected EnumWrapper<BoxVersionHeaderV2026R0> boxVersion;
38

39
    protected Map<String, String> extraHeaders;
40

NEW
41
    public Builder() {}
×
42

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

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

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

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