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

box / box-java-sdk-gen / #301

26 Jun 2025 03:33PM UTC coverage: 35.681% (-0.04%) from 35.723%
#301

push

github

web-flow
feat: Add webhook validation(box/box-codegen#745) (#347)

Co-authored-by: box-sdk-build <box-sdk-build@box.com>

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

11818 existing lines in 631 files now uncovered.

16948 of 47499 relevant lines covered (35.68%)

0.36 hits per line

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

10.0
/src/main/java/com/box/sdkgen/schemas/integrationmappings/IntegrationMappings.java
1
package com.box.sdkgen.schemas.integrationmappings;
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.box.sdkgen.schemas.integrationmapping.IntegrationMapping;
7
import com.fasterxml.jackson.annotation.JsonFilter;
8
import com.fasterxml.jackson.annotation.JsonProperty;
9
import java.util.List;
10
import java.util.Objects;
11

12
@JsonFilter("nullablePropertyFilter")
13
public class IntegrationMappings extends SerializableObject {
14

15
  protected Long limit;
16

17
  @JsonProperty("next_marker")
18
  @Nullable
19
  protected String nextMarker;
20

21
  protected List<IntegrationMapping> entries;
22

23
  public IntegrationMappings() {
24
    super();
1✔
25
  }
1✔
26

27
  protected IntegrationMappings(Builder builder) {
UNCOV
28
    super();
×
UNCOV
29
    this.limit = builder.limit;
×
30
    this.nextMarker = builder.nextMarker;
×
UNCOV
31
    this.entries = builder.entries;
×
UNCOV
32
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
UNCOV
33
  }
×
34

35
  public Long getLimit() {
UNCOV
36
    return limit;
×
37
  }
38

39
  public String getNextMarker() {
UNCOV
40
    return nextMarker;
×
41
  }
42

43
  public List<IntegrationMapping> getEntries() {
44
    return entries;
1✔
45
  }
46

47
  @Override
48
  public boolean equals(Object o) {
49
    if (this == o) {
×
50
      return true;
×
51
    }
52
    if (o == null || getClass() != o.getClass()) {
×
UNCOV
53
      return false;
×
54
    }
UNCOV
55
    IntegrationMappings casted = (IntegrationMappings) o;
×
UNCOV
56
    return Objects.equals(limit, casted.limit)
×
57
        && Objects.equals(nextMarker, casted.nextMarker)
×
UNCOV
58
        && Objects.equals(entries, casted.entries);
×
59
  }
60

61
  @Override
62
  public int hashCode() {
UNCOV
63
    return Objects.hash(limit, nextMarker, entries);
×
64
  }
65

66
  @Override
67
  public String toString() {
UNCOV
68
    return "IntegrationMappings{"
×
69
        + "limit='"
70
        + limit
71
        + '\''
72
        + ", "
73
        + "nextMarker='"
74
        + nextMarker
75
        + '\''
76
        + ", "
77
        + "entries='"
78
        + entries
79
        + '\''
80
        + "}";
81
  }
82

UNCOV
83
  public static class Builder extends NullableFieldTracker {
×
84

85
    protected Long limit;
86

87
    protected String nextMarker;
88

89
    protected List<IntegrationMapping> entries;
90

91
    public Builder limit(Long limit) {
92
      this.limit = limit;
×
UNCOV
93
      return this;
×
94
    }
95

96
    public Builder nextMarker(String nextMarker) {
97
      this.nextMarker = nextMarker;
×
UNCOV
98
      this.markNullableFieldAsSet("next_marker");
×
UNCOV
99
      return this;
×
100
    }
101

102
    public Builder entries(List<IntegrationMapping> entries) {
UNCOV
103
      this.entries = entries;
×
UNCOV
104
      return this;
×
105
    }
106

107
    public IntegrationMappings build() {
UNCOV
108
      return new IntegrationMappings(this);
×
109
    }
110
  }
111
}
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