• 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

47.83
/src/main/java/com/box/sdkgen/managers/folders/UpdateFolderByIdRequestBodyParentField.java
1
package com.box.sdkgen.managers.folders;
2

3
import com.box.sdkgen.internal.NullableFieldTracker;
4
import com.box.sdkgen.internal.SerializableObject;
5
import com.fasterxml.jackson.annotation.JsonFilter;
6
import com.fasterxml.jackson.annotation.JsonProperty;
7
import java.util.Objects;
8

9
@JsonFilter("nullablePropertyFilter")
10
public class UpdateFolderByIdRequestBodyParentField extends SerializableObject {
11

12
  protected String id;
13

14
  @JsonProperty("user_id")
15
  protected String userId;
16

17
  public UpdateFolderByIdRequestBodyParentField() {
UNCOV
18
    super();
×
UNCOV
19
  }
×
20

21
  protected UpdateFolderByIdRequestBodyParentField(Builder builder) {
22
    super();
1✔
23
    this.id = builder.id;
1✔
24
    this.userId = builder.userId;
1✔
25
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
1✔
26
  }
1✔
27

28
  public String getId() {
29
    return id;
1✔
30
  }
31

32
  public String getUserId() {
33
    return userId;
1✔
34
  }
35

36
  @Override
37
  public boolean equals(Object o) {
38
    if (this == o) {
×
UNCOV
39
      return true;
×
40
    }
41
    if (o == null || getClass() != o.getClass()) {
×
UNCOV
42
      return false;
×
43
    }
UNCOV
44
    UpdateFolderByIdRequestBodyParentField casted = (UpdateFolderByIdRequestBodyParentField) o;
×
UNCOV
45
    return Objects.equals(id, casted.id) && Objects.equals(userId, casted.userId);
×
46
  }
47

48
  @Override
49
  public int hashCode() {
UNCOV
50
    return Objects.hash(id, userId);
×
51
  }
52

53
  @Override
54
  public String toString() {
UNCOV
55
    return "UpdateFolderByIdRequestBodyParentField{"
×
56
        + "id='"
57
        + id
58
        + '\''
59
        + ", "
60
        + "userId='"
61
        + userId
62
        + '\''
63
        + "}";
64
  }
65

66
  public static class Builder extends NullableFieldTracker {
1✔
67

68
    protected String id;
69

70
    protected String userId;
71

72
    public Builder id(String id) {
73
      this.id = id;
1✔
74
      return this;
1✔
75
    }
76

77
    public Builder userId(String userId) {
UNCOV
78
      this.userId = userId;
×
UNCOV
79
      return this;
×
80
    }
81

82
    public UpdateFolderByIdRequestBodyParentField build() {
83
      return new UpdateFolderByIdRequestBodyParentField(this);
1✔
84
    }
85
  }
86
}
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