• 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

33.33
/src/main/java/com/box/sdkgen/managers/chunkeduploads/CreateFileUploadSessionCommitRequestBody.java
1
package com.box.sdkgen.managers.chunkeduploads;
2

3
import com.box.sdkgen.internal.SerializableObject;
4
import com.box.sdkgen.schemas.uploadpart.UploadPart;
5
import com.fasterxml.jackson.annotation.JsonFilter;
6
import com.fasterxml.jackson.annotation.JsonProperty;
7
import java.util.List;
8
import java.util.Objects;
9

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

13
  protected final List<UploadPart> parts;
14

15
  public CreateFileUploadSessionCommitRequestBody(@JsonProperty("parts") List<UploadPart> parts) {
16
    super();
1✔
17
    this.parts = parts;
1✔
18
  }
1✔
19

20
  public List<UploadPart> getParts() {
21
    return parts;
1✔
22
  }
23

24
  @Override
25
  public boolean equals(Object o) {
UNCOV
26
    if (this == o) {
×
27
      return true;
×
28
    }
UNCOV
29
    if (o == null || getClass() != o.getClass()) {
×
30
      return false;
×
31
    }
UNCOV
32
    CreateFileUploadSessionCommitRequestBody casted = (CreateFileUploadSessionCommitRequestBody) o;
×
UNCOV
33
    return Objects.equals(parts, casted.parts);
×
34
  }
35

36
  @Override
37
  public int hashCode() {
UNCOV
38
    return Objects.hash(parts);
×
39
  }
40

41
  @Override
42
  public String toString() {
UNCOV
43
    return "CreateFileUploadSessionCommitRequestBody{" + "parts='" + parts + '\'' + "}";
×
44
  }
45
}
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