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

box / box-java-sdk-gen / #296

25 Jun 2025 10:12AM UTC coverage: 35.677% (-0.05%) from 35.723%
#296

Pull #348

github

web-flow
Merge d48b178e0 into d8480ee6c
Pull Request #348: chore: Update .codegen.json with commit hash of codegen and openapi spec

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

11820 existing lines in 631 files now uncovered.

16946 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

39.58
/src/main/java/com/box/sdkgen/managers/groups/UpdateGroupByIdRequestBody.java
1
package com.box.sdkgen.managers.groups;
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.annotation.JsonProperty;
8
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
9
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
10
import java.util.Objects;
11

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

15
  protected String name;
16

17
  protected String provenance;
18

19
  @JsonProperty("external_sync_identifier")
20
  protected String externalSyncIdentifier;
21

22
  protected String description;
23

24
  @JsonDeserialize(
25
      using =
26
          UpdateGroupByIdRequestBodyInvitabilityLevelField
27
              .UpdateGroupByIdRequestBodyInvitabilityLevelFieldDeserializer.class)
28
  @JsonSerialize(
29
      using =
30
          UpdateGroupByIdRequestBodyInvitabilityLevelField
31
              .UpdateGroupByIdRequestBodyInvitabilityLevelFieldSerializer.class)
32
  @JsonProperty("invitability_level")
33
  protected EnumWrapper<UpdateGroupByIdRequestBodyInvitabilityLevelField> invitabilityLevel;
34

35
  @JsonDeserialize(
36
      using =
37
          UpdateGroupByIdRequestBodyMemberViewabilityLevelField
38
              .UpdateGroupByIdRequestBodyMemberViewabilityLevelFieldDeserializer.class)
39
  @JsonSerialize(
40
      using =
41
          UpdateGroupByIdRequestBodyMemberViewabilityLevelField
42
              .UpdateGroupByIdRequestBodyMemberViewabilityLevelFieldSerializer.class)
43
  @JsonProperty("member_viewability_level")
44
  protected EnumWrapper<UpdateGroupByIdRequestBodyMemberViewabilityLevelField>
45
      memberViewabilityLevel;
46

47
  public UpdateGroupByIdRequestBody() {
UNCOV
48
    super();
×
UNCOV
49
  }
×
50

51
  protected UpdateGroupByIdRequestBody(Builder builder) {
52
    super();
1✔
53
    this.name = builder.name;
1✔
54
    this.provenance = builder.provenance;
1✔
55
    this.externalSyncIdentifier = builder.externalSyncIdentifier;
1✔
56
    this.description = builder.description;
1✔
57
    this.invitabilityLevel = builder.invitabilityLevel;
1✔
58
    this.memberViewabilityLevel = builder.memberViewabilityLevel;
1✔
59
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
1✔
60
  }
1✔
61

62
  public String getName() {
63
    return name;
1✔
64
  }
65

66
  public String getProvenance() {
67
    return provenance;
1✔
68
  }
69

70
  public String getExternalSyncIdentifier() {
71
    return externalSyncIdentifier;
1✔
72
  }
73

74
  public String getDescription() {
75
    return description;
1✔
76
  }
77

78
  public EnumWrapper<UpdateGroupByIdRequestBodyInvitabilityLevelField> getInvitabilityLevel() {
79
    return invitabilityLevel;
1✔
80
  }
81

82
  public EnumWrapper<UpdateGroupByIdRequestBodyMemberViewabilityLevelField>
83
      getMemberViewabilityLevel() {
84
    return memberViewabilityLevel;
1✔
85
  }
86

87
  @Override
88
  public boolean equals(Object o) {
89
    if (this == o) {
×
UNCOV
90
      return true;
×
91
    }
92
    if (o == null || getClass() != o.getClass()) {
×
93
      return false;
×
94
    }
95
    UpdateGroupByIdRequestBody casted = (UpdateGroupByIdRequestBody) o;
×
96
    return Objects.equals(name, casted.name)
×
97
        && Objects.equals(provenance, casted.provenance)
×
UNCOV
98
        && Objects.equals(externalSyncIdentifier, casted.externalSyncIdentifier)
×
UNCOV
99
        && Objects.equals(description, casted.description)
×
UNCOV
100
        && Objects.equals(invitabilityLevel, casted.invitabilityLevel)
×
UNCOV
101
        && Objects.equals(memberViewabilityLevel, casted.memberViewabilityLevel);
×
102
  }
103

104
  @Override
105
  public int hashCode() {
UNCOV
106
    return Objects.hash(
×
107
        name,
108
        provenance,
109
        externalSyncIdentifier,
110
        description,
111
        invitabilityLevel,
112
        memberViewabilityLevel);
113
  }
114

115
  @Override
116
  public String toString() {
UNCOV
117
    return "UpdateGroupByIdRequestBody{"
×
118
        + "name='"
119
        + name
120
        + '\''
121
        + ", "
122
        + "provenance='"
123
        + provenance
124
        + '\''
125
        + ", "
126
        + "externalSyncIdentifier='"
127
        + externalSyncIdentifier
128
        + '\''
129
        + ", "
130
        + "description='"
131
        + description
132
        + '\''
133
        + ", "
134
        + "invitabilityLevel='"
135
        + invitabilityLevel
136
        + '\''
137
        + ", "
138
        + "memberViewabilityLevel='"
139
        + memberViewabilityLevel
140
        + '\''
141
        + "}";
142
  }
143

144
  public static class Builder extends NullableFieldTracker {
1✔
145

146
    protected String name;
147

148
    protected String provenance;
149

150
    protected String externalSyncIdentifier;
151

152
    protected String description;
153

154
    protected EnumWrapper<UpdateGroupByIdRequestBodyInvitabilityLevelField> invitabilityLevel;
155

156
    protected EnumWrapper<UpdateGroupByIdRequestBodyMemberViewabilityLevelField>
157
        memberViewabilityLevel;
158

159
    public Builder name(String name) {
160
      this.name = name;
1✔
161
      return this;
1✔
162
    }
163

164
    public Builder provenance(String provenance) {
UNCOV
165
      this.provenance = provenance;
×
166
      return this;
×
167
    }
168

169
    public Builder externalSyncIdentifier(String externalSyncIdentifier) {
UNCOV
170
      this.externalSyncIdentifier = externalSyncIdentifier;
×
171
      return this;
×
172
    }
173

174
    public Builder description(String description) {
UNCOV
175
      this.description = description;
×
UNCOV
176
      return this;
×
177
    }
178

179
    public Builder invitabilityLevel(
180
        UpdateGroupByIdRequestBodyInvitabilityLevelField invitabilityLevel) {
UNCOV
181
      this.invitabilityLevel =
×
182
          new EnumWrapper<UpdateGroupByIdRequestBodyInvitabilityLevelField>(invitabilityLevel);
UNCOV
183
      return this;
×
184
    }
185

186
    public Builder invitabilityLevel(
187
        EnumWrapper<UpdateGroupByIdRequestBodyInvitabilityLevelField> invitabilityLevel) {
UNCOV
188
      this.invitabilityLevel = invitabilityLevel;
×
UNCOV
189
      return this;
×
190
    }
191

192
    public Builder memberViewabilityLevel(
193
        UpdateGroupByIdRequestBodyMemberViewabilityLevelField memberViewabilityLevel) {
UNCOV
194
      this.memberViewabilityLevel =
×
195
          new EnumWrapper<UpdateGroupByIdRequestBodyMemberViewabilityLevelField>(
196
              memberViewabilityLevel);
UNCOV
197
      return this;
×
198
    }
199

200
    public Builder memberViewabilityLevel(
201
        EnumWrapper<UpdateGroupByIdRequestBodyMemberViewabilityLevelField> memberViewabilityLevel) {
UNCOV
202
      this.memberViewabilityLevel = memberViewabilityLevel;
×
UNCOV
203
      return this;
×
204
    }
205

206
    public UpdateGroupByIdRequestBody build() {
207
      return new UpdateGroupByIdRequestBody(this);
1✔
208
    }
209
  }
210
}
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