• 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/schemas/v2025r0/archivev2025r0/ArchiveV2025R0OwnedByField.java
1
package com.box.sdkgen.schemas.v2025r0.archivev2025r0;
2

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

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

11
  /** The unique identifier that represents a user who owns the archive. */
12
  protected final String id;
13

14
  /** The value is always `user`. */
15
  protected final String type;
16

17
  public ArchiveV2025R0OwnedByField(
18
      @JsonProperty("id") String id, @JsonProperty("type") String type) {
NEW
19
    super();
×
NEW
20
    this.id = id;
×
NEW
21
    this.type = type;
×
NEW
22
  }
×
23

24
  public String getId() {
NEW
25
    return id;
×
26
  }
27

28
  public String getType() {
NEW
29
    return type;
×
30
  }
31

32
  @Override
33
  public boolean equals(Object o) {
NEW
34
    if (this == o) {
×
NEW
35
      return true;
×
36
    }
NEW
37
    if (o == null || getClass() != o.getClass()) {
×
NEW
38
      return false;
×
39
    }
NEW
40
    ArchiveV2025R0OwnedByField casted = (ArchiveV2025R0OwnedByField) o;
×
NEW
41
    return Objects.equals(id, casted.id) && Objects.equals(type, casted.type);
×
42
  }
43

44
  @Override
45
  public int hashCode() {
NEW
46
    return Objects.hash(id, type);
×
47
  }
48

49
  @Override
50
  public String toString() {
NEW
51
    return "ArchiveV2025R0OwnedByField{" + "id='" + id + '\'' + ", " + "type='" + type + '\'' + "}";
×
52
  }
53
}
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