• 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

23.08
/src/main/java/com/box/sdkgen/managers/downloads/GetDownloadFileUrlQueryParams.java
1
package com.box.sdkgen.managers.downloads;
2

3
public class GetDownloadFileUrlQueryParams {
4

5
  /** The file version to download. */
6
  public String version;
7

8
  /**
9
   * An optional access token that can be used to pre-authenticate this request, which means that a
10
   * download link can be shared with a browser or a third party service without them needing to
11
   * know how to handle the authentication. When using this parameter, please make sure that the
12
   * access token is sufficiently scoped down to only allow read access to that file and no other
13
   * files or folders.
14
   */
15
  public String accessToken;
16

17
  public GetDownloadFileUrlQueryParams() {}
1✔
18

19
  protected GetDownloadFileUrlQueryParams(Builder builder) {
×
20
    this.version = builder.version;
×
21
    this.accessToken = builder.accessToken;
×
22
  }
×
23

24
  public String getVersion() {
25
    return version;
1✔
26
  }
27

28
  public String getAccessToken() {
29
    return accessToken;
1✔
30
  }
31

32
  public static class Builder {
×
33

34
    protected String version;
35

36
    protected String accessToken;
37

38
    public Builder version(String version) {
39
      this.version = version;
×
40
      return this;
×
41
    }
42

43
    public Builder accessToken(String accessToken) {
44
      this.accessToken = accessToken;
×
45
      return this;
×
46
    }
47

48
    public GetDownloadFileUrlQueryParams build() {
49
      return new GetDownloadFileUrlQueryParams(this);
×
50
    }
51
  }
52
}
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