• 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/files/DeleteFileByIdHeaders.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 DeleteFileByIdHeaders {
8

9
  /**
10
   * Ensures this item hasn't recently changed before making changes.
11
   *
12
   * <p>Pass in the item's last observed `etag` value into this header and the endpoint will fail
13
   * with a `412 Precondition Failed` if it has changed since.
14
   */
15
  public String ifMatch;
16

17
  /** Extra headers that will be included in the HTTP request. */
18
  public Map<String, String> extraHeaders;
19

20
  public DeleteFileByIdHeaders() {
1✔
21
    this.extraHeaders = mapOf();
1✔
22
  }
1✔
23

24
  protected DeleteFileByIdHeaders(Builder builder) {
×
25
    this.ifMatch = builder.ifMatch;
×
26
    this.extraHeaders = builder.extraHeaders;
×
27
  }
×
28

29
  public String getIfMatch() {
30
    return ifMatch;
1✔
31
  }
32

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

37
  public static class Builder {
38

39
    protected String ifMatch;
40

41
    protected Map<String, String> extraHeaders;
42

43
    public Builder() {
×
44
      this.extraHeaders = mapOf();
×
45
    }
×
46

47
    public Builder ifMatch(String ifMatch) {
48
      this.ifMatch = ifMatch;
×
49
      return this;
×
50
    }
51

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

57
    public DeleteFileByIdHeaders build() {
58
      return new DeleteFileByIdHeaders(this);
×
59
    }
60
  }
61
}
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