• 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

28.57
/src/main/java/com/box/sdkgen/managers/shieldlists/UpdateShieldListByIdV2025R0Headers.java
1
package com.box.sdkgen.managers.shieldlists;
2

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

5
import com.box.sdkgen.parameters.v2025r0.boxversionheaderv2025r0.BoxVersionHeaderV2025R0;
6
import com.box.sdkgen.serialization.json.EnumWrapper;
7
import java.util.Map;
8

9
public class UpdateShieldListByIdV2025R0Headers {
10

11
  /** Version header. */
12
  public EnumWrapper<BoxVersionHeaderV2025R0> boxVersion;
13

14
  /** Extra headers that will be included in the HTTP request. */
15
  public Map<String, String> extraHeaders;
16

17
  public UpdateShieldListByIdV2025R0Headers() {
1✔
18
    this.boxVersion = new EnumWrapper<BoxVersionHeaderV2025R0>(BoxVersionHeaderV2025R0._2025_0);
1✔
19
    this.extraHeaders = mapOf();
1✔
20
  }
1✔
21

22
  protected UpdateShieldListByIdV2025R0Headers(Builder builder) {
×
23
    this.boxVersion = builder.boxVersion;
×
24
    this.extraHeaders = builder.extraHeaders;
×
25
  }
×
26

27
  public EnumWrapper<BoxVersionHeaderV2025R0> getBoxVersion() {
28
    return boxVersion;
1✔
29
  }
30

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

35
  public static class Builder {
36

37
    protected EnumWrapper<BoxVersionHeaderV2025R0> boxVersion;
38

39
    protected Map<String, String> extraHeaders;
40

41
    public Builder() {
×
42
      this.boxVersion = new EnumWrapper<BoxVersionHeaderV2025R0>(BoxVersionHeaderV2025R0._2025_0);
×
43
      this.extraHeaders = mapOf();
×
44
    }
×
45

46
    public Builder boxVersion(BoxVersionHeaderV2025R0 boxVersion) {
47
      this.boxVersion = new EnumWrapper<BoxVersionHeaderV2025R0>(boxVersion);
×
48
      return this;
×
49
    }
50

51
    public Builder boxVersion(EnumWrapper<BoxVersionHeaderV2025R0> boxVersion) {
52
      this.boxVersion = boxVersion;
×
53
      return this;
×
54
    }
55

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

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