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

box / box-java-sdk-gen / #194

12 Jun 2025 08:30AM UTC coverage: 35.732% (+0.1%) from 35.619%
#194

push

github

web-flow
test: Remove predefined dates from events integration test (box/box-codegen#740) (#329)

1 of 2 new or added lines in 1 file covered. (50.0%)

1156 existing lines in 311 files now uncovered.

16212 of 45371 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/uploads/UploadFileVersionHeaders.java
1
package com.box.sdkgen.managers.uploads;
2

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

5
import java.util.Map;
6

7
public class UploadFileVersionHeaders {
8

9
  public String ifMatch;
10

11
  public String contentMd5;
12

13
  public Map<String, String> extraHeaders;
14

15
  public UploadFileVersionHeaders() {
1✔
16
    this.extraHeaders = mapOf();
1✔
17
  }
1✔
18

19
  protected UploadFileVersionHeaders(UploadFileVersionHeadersBuilder builder) {
×
20
    this.ifMatch = builder.ifMatch;
×
21
    this.contentMd5 = builder.contentMd5;
×
22
    this.extraHeaders = builder.extraHeaders;
×
23
  }
×
24

25
  public String getIfMatch() {
26
    return ifMatch;
1✔
27
  }
28

29
  public String getContentMd5() {
30
    return contentMd5;
1✔
31
  }
32

33
  public Map<String, String> getExtraHeaders() {
34
    return extraHeaders;
1✔
35
  }
36

37
  public static class UploadFileVersionHeadersBuilder {
38

39
    protected String ifMatch;
40

41
    protected String contentMd5;
42

43
    protected Map<String, String> extraHeaders;
44

UNCOV
45
    public UploadFileVersionHeadersBuilder() {
×
46
      this.extraHeaders = mapOf();
×
47
    }
×
48

49
    public UploadFileVersionHeadersBuilder ifMatch(String ifMatch) {
UNCOV
50
      this.ifMatch = ifMatch;
×
51
      return this;
×
52
    }
53

54
    public UploadFileVersionHeadersBuilder contentMd5(String contentMd5) {
UNCOV
55
      this.contentMd5 = contentMd5;
×
56
      return this;
×
57
    }
58

59
    public UploadFileVersionHeadersBuilder extraHeaders(Map<String, String> extraHeaders) {
UNCOV
60
      this.extraHeaders = extraHeaders;
×
61
      return this;
×
62
    }
63

64
    public UploadFileVersionHeaders build() {
UNCOV
65
      return new UploadFileVersionHeaders(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