• 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

8.0
/src/main/java/com/box/sdkgen/schemas/workflow/WorkflowFlowsTriggerScopeObjectField.java
1
package com.box.sdkgen.schemas.workflow;
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 WorkflowFlowsTriggerScopeObjectField extends SerializableObject {
13

14
  @JsonDeserialize(
15
      using =
16
          WorkflowFlowsTriggerScopeObjectTypeField
17
              .WorkflowFlowsTriggerScopeObjectTypeFieldDeserializer.class)
18
  @JsonSerialize(
19
      using =
20
          WorkflowFlowsTriggerScopeObjectTypeField
21
              .WorkflowFlowsTriggerScopeObjectTypeFieldSerializer.class)
22
  protected EnumWrapper<WorkflowFlowsTriggerScopeObjectTypeField> type;
23

24
  protected String id;
25

26
  public WorkflowFlowsTriggerScopeObjectField() {
27
    super();
1✔
28
  }
1✔
29

30
  protected WorkflowFlowsTriggerScopeObjectField(Builder builder) {
31
    super();
×
UNCOV
32
    this.type = builder.type;
×
UNCOV
33
    this.id = builder.id;
×
34
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
UNCOV
35
  }
×
36

37
  public EnumWrapper<WorkflowFlowsTriggerScopeObjectTypeField> getType() {
38
    return type;
×
39
  }
40

41
  public String getId() {
UNCOV
42
    return id;
×
43
  }
44

45
  @Override
46
  public boolean equals(Object o) {
47
    if (this == o) {
×
UNCOV
48
      return true;
×
49
    }
50
    if (o == null || getClass() != o.getClass()) {
×
UNCOV
51
      return false;
×
52
    }
UNCOV
53
    WorkflowFlowsTriggerScopeObjectField casted = (WorkflowFlowsTriggerScopeObjectField) o;
×
UNCOV
54
    return Objects.equals(type, casted.type) && Objects.equals(id, casted.id);
×
55
  }
56

57
  @Override
58
  public int hashCode() {
UNCOV
59
    return Objects.hash(type, id);
×
60
  }
61

62
  @Override
63
  public String toString() {
UNCOV
64
    return "WorkflowFlowsTriggerScopeObjectField{"
×
65
        + "type='"
66
        + type
67
        + '\''
68
        + ", "
69
        + "id='"
70
        + id
71
        + '\''
72
        + "}";
73
  }
74

UNCOV
75
  public static class Builder extends NullableFieldTracker {
×
76

77
    protected EnumWrapper<WorkflowFlowsTriggerScopeObjectTypeField> type;
78

79
    protected String id;
80

81
    public Builder type(WorkflowFlowsTriggerScopeObjectTypeField type) {
UNCOV
82
      this.type = new EnumWrapper<WorkflowFlowsTriggerScopeObjectTypeField>(type);
×
83
      return this;
×
84
    }
85

86
    public Builder type(EnumWrapper<WorkflowFlowsTriggerScopeObjectTypeField> type) {
UNCOV
87
      this.type = type;
×
88
      return this;
×
89
    }
90

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

96
    public WorkflowFlowsTriggerScopeObjectField build() {
UNCOV
97
      return new WorkflowFlowsTriggerScopeObjectField(this);
×
98
    }
99
  }
100
}
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