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

box / box-java-sdk-gen / #294

24 Jun 2025 01:20PM UTC coverage: 35.662% (+0.03%) from 35.632%
#294

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%)

11791 existing lines in 624 files now uncovered.

16939 of 47499 relevant lines covered (35.66%)

0.36 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/conflicterror/ConflictErrorContextInfoField.java
1
package com.box.sdkgen.schemas.conflicterror;
2

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

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

13
  protected List<FileConflict> conflicts;
14

15
  public ConflictErrorContextInfoField() {
UNCOV
16
    super();
×
17
  }
×
18

19
  protected ConflictErrorContextInfoField(Builder builder) {
UNCOV
20
    super();
×
UNCOV
21
    this.conflicts = builder.conflicts;
×
22
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
UNCOV
23
  }
×
24

25
  public List<FileConflict> getConflicts() {
UNCOV
26
    return conflicts;
×
27
  }
28

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

41
  @Override
42
  public int hashCode() {
UNCOV
43
    return Objects.hash(conflicts);
×
44
  }
45

46
  @Override
47
  public String toString() {
UNCOV
48
    return "ConflictErrorContextInfoField{" + "conflicts='" + conflicts + '\'' + "}";
×
49
  }
50

UNCOV
51
  public static class Builder extends NullableFieldTracker {
×
52

53
    protected List<FileConflict> conflicts;
54

55
    public Builder conflicts(List<FileConflict> conflicts) {
UNCOV
56
      this.conflicts = conflicts;
×
57
      return this;
×
58
    }
59

60
    public ConflictErrorContextInfoField build() {
UNCOV
61
      return new ConflictErrorContextInfoField(this);
×
62
    }
63
  }
64
}
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