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

box / box-java-sdk / #5076

07 Oct 2025 12:35PM UTC coverage: 37.132% (+0.007%) from 37.125%
#5076

push

github

web-flow
test: Change `Event.additionalDetails` field assertion in events test (box/box-codegen#858) (#1491)

18454 of 49699 relevant lines covered (37.13%)

0.37 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
  /**
10
   * The URL, and optional password, for the shared link of this item.
11
   *
12
   * <p>This header can be used to access items that have not been explicitly shared with a user.
13
   *
14
   * <p>Use the format `shared_link=[link]` or if a password is required then use
15
   * `shared_link=[link]&amp;shared_link_password=[password]`.
16
   *
17
   * <p>This header can be used on the file or folder shared, as well as on any files or folders
18
   * nested within the item.
19
   */
20
  public String boxapi;
21

22
  /** Extra headers that will be included in the HTTP request. */
23
  public Map<String, String> extraHeaders;
24

25
  public GetWebLinkByIdHeaders() {
1✔
26
    this.extraHeaders = mapOf();
1✔
27
  }
1✔
28

29
  protected GetWebLinkByIdHeaders(Builder builder) {
×
30
    this.boxapi = builder.boxapi;
×
31
    this.extraHeaders = builder.extraHeaders;
×
32
  }
×
33

34
  public String getBoxapi() {
35
    return boxapi;
1✔
36
  }
37

38
  public Map<String, String> getExtraHeaders() {
39
    return extraHeaders;
1✔
40
  }
41

42
  public static class Builder {
43

44
    protected String boxapi;
45

46
    protected Map<String, String> extraHeaders;
47

48
    public Builder() {
×
49
      this.extraHeaders = mapOf();
×
50
    }
×
51

52
    public Builder boxapi(String boxapi) {
53
      this.boxapi = boxapi;
×
54
      return this;
×
55
    }
56

57
    public Builder extraHeaders(Map<String, String> extraHeaders) {
58
      this.extraHeaders = extraHeaders;
×
59
      return this;
×
60
    }
61

62
    public GetWebLinkByIdHeaders build() {
63
      return new GetWebLinkByIdHeaders(this);
×
64
    }
65
  }
66
}
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