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

box / box-java-sdk-gen / #290

24 Jun 2025 01:20PM UTC coverage: 35.757% (+0.1%) from 35.632%
#290

Pull #347

github

web-flow
Merge 2c100d09c into d8480ee6c
Pull Request #347: feat: Add Webhook Validation In Java (box/box-codegen#745)

68 of 82 new or added lines in 2 files covered. (82.93%)

11777 existing lines in 624 files now uncovered.

16984 of 47499 relevant lines covered (35.76%)

0.36 hits per line

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

50.0
/src/main/java/com/box/sdkgen/managers/fileversions/UpdateFileVersionByIdRequestBody.java
1
package com.box.sdkgen.managers.fileversions;
2

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

10
@JsonFilter("nullablePropertyFilter")
11
public class UpdateFileVersionByIdRequestBody extends SerializableObject {
12

13
  @JsonProperty("trashed_at")
14
  @Nullable
15
  protected String trashedAt;
16

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

21
  protected UpdateFileVersionByIdRequestBody(Builder builder) {
22
    super();
1✔
23
    this.trashedAt = builder.trashedAt;
1✔
24
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
1✔
25
  }
1✔
26

27
  public String getTrashedAt() {
28
    return trashedAt;
1✔
29
  }
30

31
  @Override
32
  public boolean equals(Object o) {
33
    if (this == o) {
×
34
      return true;
×
35
    }
UNCOV
36
    if (o == null || getClass() != o.getClass()) {
×
UNCOV
37
      return false;
×
38
    }
39
    UpdateFileVersionByIdRequestBody casted = (UpdateFileVersionByIdRequestBody) o;
×
UNCOV
40
    return Objects.equals(trashedAt, casted.trashedAt);
×
41
  }
42

43
  @Override
44
  public int hashCode() {
UNCOV
45
    return Objects.hash(trashedAt);
×
46
  }
47

48
  @Override
49
  public String toString() {
UNCOV
50
    return "UpdateFileVersionByIdRequestBody{" + "trashedAt='" + trashedAt + '\'' + "}";
×
51
  }
52

53
  public static class Builder extends NullableFieldTracker {
1✔
54

55
    protected String trashedAt;
56

57
    public Builder trashedAt(String trashedAt) {
58
      this.trashedAt = trashedAt;
1✔
59
      this.markNullableFieldAsSet("trashed_at");
1✔
60
      return this;
1✔
61
    }
62

63
    public UpdateFileVersionByIdRequestBody build() {
64
      return new UpdateFileVersionByIdRequestBody(this);
1✔
65
    }
66
  }
67
}
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