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

box / box-java-sdk / #5538

06 Nov 2025 12:18PM UTC coverage: 13.292% (-0.02%) from 13.315%
#5538

Pull #1552

github

web-flow
Merge 158cb9946 into 7fe53b9a9
Pull Request #1552: docs(boxsdkgen): Modify Archive API (box/box-openapi#563)

0 of 115 new or added lines in 7 files covered. (0.0%)

1 existing line in 1 file now uncovered.

8368 of 62957 relevant lines covered (13.29%)

0.13 hits per line

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

0.0
/src/main/java/com/box/sdkgen/managers/archives/UpdateArchiveByIdV2025R0Headers.java
1
package com.box.sdkgen.managers.archives;
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 UpdateArchiveByIdV2025R0Headers {
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

NEW
17
  public UpdateArchiveByIdV2025R0Headers() {
×
NEW
18
    this.boxVersion = new EnumWrapper<BoxVersionHeaderV2025R0>(BoxVersionHeaderV2025R0._2025_0);
×
NEW
19
    this.extraHeaders = mapOf();
×
NEW
20
  }
×
21

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

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

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

35
  public static class Builder {
36

37
    protected EnumWrapper<BoxVersionHeaderV2025R0> boxVersion;
38

39
    protected Map<String, String> extraHeaders;
40

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

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

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

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

61
    public UpdateArchiveByIdV2025R0Headers build() {
NEW
62
      return new UpdateArchiveByIdV2025R0Headers(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

© 2025 Coveralls, Inc