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

box / box-java-sdk-gen / #181

03 Jun 2025 09:42AM UTC coverage: 34.779% (-0.9%) from 35.631%
#181

Pull #326

github

web-flow
Merge b909d9ac7 into 28f2ec7f8
Pull Request #326: chore: Release Java SDK to Maven Central (box/box-codegen#735)

15779 of 45369 relevant lines covered (34.78%)

0.35 hits per line

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

76.0
/src/main/java/com/box/sdkgen/managers/files/GetFileByIdHeaders.java
1
package com.box.sdkgen.managers.files;
2

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

5
import java.util.Map;
6

7
public class GetFileByIdHeaders {
8

9
  public String ifNoneMatch;
10

11
  public String boxapi;
12

13
  public String xRepHints;
14

15
  public Map<String, String> extraHeaders;
16

17
  public GetFileByIdHeaders() {
1✔
18
    this.extraHeaders = mapOf();
1✔
19
  }
1✔
20

21
  protected GetFileByIdHeaders(GetFileByIdHeadersBuilder builder) {
1✔
22
    this.ifNoneMatch = builder.ifNoneMatch;
1✔
23
    this.boxapi = builder.boxapi;
1✔
24
    this.xRepHints = builder.xRepHints;
1✔
25
    this.extraHeaders = builder.extraHeaders;
1✔
26
  }
1✔
27

28
  public String getIfNoneMatch() {
29
    return ifNoneMatch;
1✔
30
  }
31

32
  public String getBoxapi() {
33
    return boxapi;
1✔
34
  }
35

36
  public String getXRepHints() {
37
    return xRepHints;
1✔
38
  }
39

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

44
  public static class GetFileByIdHeadersBuilder {
45

46
    protected String ifNoneMatch;
47

48
    protected String boxapi;
49

50
    protected String xRepHints;
51

52
    protected Map<String, String> extraHeaders;
53

54
    public GetFileByIdHeadersBuilder() {
1✔
55
      this.extraHeaders = mapOf();
1✔
56
    }
1✔
57

58
    public GetFileByIdHeadersBuilder ifNoneMatch(String ifNoneMatch) {
59
      this.ifNoneMatch = ifNoneMatch;
×
60
      return this;
×
61
    }
62

63
    public GetFileByIdHeadersBuilder boxapi(String boxapi) {
64
      this.boxapi = boxapi;
×
65
      return this;
×
66
    }
67

68
    public GetFileByIdHeadersBuilder xRepHints(String xRepHints) {
69
      this.xRepHints = xRepHints;
×
70
      return this;
×
71
    }
72

73
    public GetFileByIdHeadersBuilder extraHeaders(Map<String, String> extraHeaders) {
74
      this.extraHeaders = extraHeaders;
1✔
75
      return this;
1✔
76
    }
77

78
    public GetFileByIdHeaders build() {
79
      return new GetFileByIdHeaders(this);
1✔
80
    }
81
  }
82
}
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