• 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/UpdateArchiveByIdV2025R0RequestBody.java
1
package com.box.sdkgen.managers.archives;
2

3
import com.box.sdkgen.internal.NullableFieldTracker;
4
import com.box.sdkgen.internal.SerializableObject;
5
import com.fasterxml.jackson.annotation.JsonFilter;
6
import java.util.Objects;
7

8
@JsonFilter("nullablePropertyFilter")
9
public class UpdateArchiveByIdV2025R0RequestBody extends SerializableObject {
10

11
  /** The name of the archive. */
12
  protected String name;
13

14
  /** The description of the archive. */
15
  protected String description;
16

17
  public UpdateArchiveByIdV2025R0RequestBody() {
NEW
18
    super();
×
NEW
19
  }
×
20

21
  protected UpdateArchiveByIdV2025R0RequestBody(Builder builder) {
NEW
22
    super();
×
NEW
23
    this.name = builder.name;
×
NEW
24
    this.description = builder.description;
×
NEW
25
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
NEW
26
  }
×
27

28
  public String getName() {
NEW
29
    return name;
×
30
  }
31

32
  public String getDescription() {
NEW
33
    return description;
×
34
  }
35

36
  @Override
37
  public boolean equals(Object o) {
NEW
38
    if (this == o) {
×
NEW
39
      return true;
×
40
    }
NEW
41
    if (o == null || getClass() != o.getClass()) {
×
NEW
42
      return false;
×
43
    }
NEW
44
    UpdateArchiveByIdV2025R0RequestBody casted = (UpdateArchiveByIdV2025R0RequestBody) o;
×
NEW
45
    return Objects.equals(name, casted.name) && Objects.equals(description, casted.description);
×
46
  }
47

48
  @Override
49
  public int hashCode() {
NEW
50
    return Objects.hash(name, description);
×
51
  }
52

53
  @Override
54
  public String toString() {
NEW
55
    return "UpdateArchiveByIdV2025R0RequestBody{"
×
56
        + "name='"
57
        + name
58
        + '\''
59
        + ", "
60
        + "description='"
61
        + description
62
        + '\''
63
        + "}";
64
  }
65

NEW
66
  public static class Builder extends NullableFieldTracker {
×
67

68
    protected String name;
69

70
    protected String description;
71

72
    public Builder name(String name) {
NEW
73
      this.name = name;
×
NEW
74
      return this;
×
75
    }
76

77
    public Builder description(String description) {
NEW
78
      this.description = description;
×
NEW
79
      return this;
×
80
    }
81

82
    public UpdateArchiveByIdV2025R0RequestBody build() {
NEW
83
      return new UpdateArchiveByIdV2025R0RequestBody(this);
×
84
    }
85
  }
86
}
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