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

3
import com.box.sdkgen.internal.NullableFieldTracker;
4
import com.box.sdkgen.internal.SerializableObject;
5
import com.box.sdkgen.serialization.json.EnumWrapper;
6
import com.fasterxml.jackson.annotation.JsonFilter;
7
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
8
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
9
import java.util.Objects;
10

11
@JsonFilter("nullablePropertyFilter")
12
public class GroupMembershipsOrderField extends SerializableObject {
13

14
  protected String by;
15

16
  @JsonDeserialize(
17
      using =
18
          GroupMembershipsOrderDirectionField.GroupMembershipsOrderDirectionFieldDeserializer.class)
19
  @JsonSerialize(
20
      using =
21
          GroupMembershipsOrderDirectionField.GroupMembershipsOrderDirectionFieldSerializer.class)
22
  protected EnumWrapper<GroupMembershipsOrderDirectionField> direction;
23

24
  public GroupMembershipsOrderField() {
UNCOV
25
    super();
×
26
  }
×
27

28
  protected GroupMembershipsOrderField(Builder builder) {
29
    super();
×
UNCOV
30
    this.by = builder.by;
×
UNCOV
31
    this.direction = builder.direction;
×
32
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
UNCOV
33
  }
×
34

35
  public String getBy() {
36
    return by;
×
37
  }
38

39
  public EnumWrapper<GroupMembershipsOrderDirectionField> getDirection() {
UNCOV
40
    return direction;
×
41
  }
42

43
  @Override
44
  public boolean equals(Object o) {
45
    if (this == o) {
×
UNCOV
46
      return true;
×
47
    }
48
    if (o == null || getClass() != o.getClass()) {
×
UNCOV
49
      return false;
×
50
    }
UNCOV
51
    GroupMembershipsOrderField casted = (GroupMembershipsOrderField) o;
×
UNCOV
52
    return Objects.equals(by, casted.by) && Objects.equals(direction, casted.direction);
×
53
  }
54

55
  @Override
56
  public int hashCode() {
UNCOV
57
    return Objects.hash(by, direction);
×
58
  }
59

60
  @Override
61
  public String toString() {
UNCOV
62
    return "GroupMembershipsOrderField{"
×
63
        + "by='"
64
        + by
65
        + '\''
66
        + ", "
67
        + "direction='"
68
        + direction
69
        + '\''
70
        + "}";
71
  }
72

UNCOV
73
  public static class Builder extends NullableFieldTracker {
×
74

75
    protected String by;
76

77
    protected EnumWrapper<GroupMembershipsOrderDirectionField> direction;
78

79
    public Builder by(String by) {
UNCOV
80
      this.by = by;
×
81
      return this;
×
82
    }
83

84
    public Builder direction(GroupMembershipsOrderDirectionField direction) {
UNCOV
85
      this.direction = new EnumWrapper<GroupMembershipsOrderDirectionField>(direction);
×
86
      return this;
×
87
    }
88

89
    public Builder direction(EnumWrapper<GroupMembershipsOrderDirectionField> direction) {
UNCOV
90
      this.direction = direction;
×
91
      return this;
×
92
    }
93

94
    public GroupMembershipsOrderField build() {
UNCOV
95
      return new GroupMembershipsOrderField(this);
×
96
    }
97
  }
98
}
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