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

box / box-java-sdk / #7215

10 Jun 2026 01:32PM UTC coverage: 12.425% (-0.04%) from 12.469%
#7215

Pull #1882

github

web-flow
Merge b738555d5 into 4554701c0
Pull Request #1882: feat(boxsdkgen): Add new parameters to ai extract structured method (box/box-openapi#604)

0 of 237 new or added lines in 11 files covered. (0.0%)

73 existing lines in 1 file now uncovered.

8374 of 67394 relevant lines covered (12.43%)

0.12 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/aioptionsrules/AiOptionsRules.java
1
package com.box.sdkgen.schemas.aioptionsrules;
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.List;
8
import java.util.Objects;
9

10
/**
11
 * An object for a `taxonomy` type template field containing configuration for taxonomy options.
12
 * Required if using `taxonomy` type field.
13
 */
14
@JsonFilter("nullablePropertyFilter")
15
public class AiOptionsRules extends SerializableObject {
16

17
  /**
18
   * Indicates whether the field is a multi-select field. If true, the field can have multiple
19
   * values.
20
   */
21
  @JsonProperty("multi_select")
22
  protected Boolean multiSelect;
23

24
  /**
25
   * The selectable levels for the field. This is used to limit the levels of the taxonomy that can
26
   * be selected.
27
   */
28
  @JsonProperty("selectable_levels")
29
  protected List<Long> selectableLevels;
30

31
  public AiOptionsRules() {
NEW
32
    super();
×
NEW
33
  }
×
34

35
  protected AiOptionsRules(Builder builder) {
NEW
36
    super();
×
NEW
37
    this.multiSelect = builder.multiSelect;
×
NEW
38
    this.selectableLevels = builder.selectableLevels;
×
NEW
39
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
NEW
40
  }
×
41

42
  public Boolean getMultiSelect() {
NEW
43
    return multiSelect;
×
44
  }
45

46
  public List<Long> getSelectableLevels() {
NEW
47
    return selectableLevels;
×
48
  }
49

50
  @Override
51
  public boolean equals(Object o) {
NEW
52
    if (this == o) {
×
NEW
53
      return true;
×
54
    }
NEW
55
    if (o == null || getClass() != o.getClass()) {
×
NEW
56
      return false;
×
57
    }
NEW
58
    AiOptionsRules casted = (AiOptionsRules) o;
×
NEW
59
    return Objects.equals(multiSelect, casted.multiSelect)
×
NEW
60
        && Objects.equals(selectableLevels, casted.selectableLevels);
×
61
  }
62

63
  @Override
64
  public int hashCode() {
NEW
65
    return Objects.hash(multiSelect, selectableLevels);
×
66
  }
67

68
  @Override
69
  public String toString() {
NEW
70
    return "AiOptionsRules{"
×
71
        + "multiSelect='"
72
        + multiSelect
73
        + '\''
74
        + ", "
75
        + "selectableLevels='"
76
        + selectableLevels
77
        + '\''
78
        + "}";
79
  }
80

NEW
81
  public static class Builder extends NullableFieldTracker {
×
82

83
    protected Boolean multiSelect;
84

85
    protected List<Long> selectableLevels;
86

87
    public Builder multiSelect(Boolean multiSelect) {
NEW
88
      this.multiSelect = multiSelect;
×
NEW
89
      return this;
×
90
    }
91

92
    public Builder selectableLevels(List<Long> selectableLevels) {
NEW
93
      this.selectableLevels = selectableLevels;
×
NEW
94
      return this;
×
95
    }
96

97
    public AiOptionsRules build() {
NEW
98
      return new AiOptionsRules(this);
×
99
    }
100
  }
101
}
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