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

box / box-java-sdk / #5076

07 Oct 2025 12:35PM UTC coverage: 37.132% (+0.007%) from 37.125%
#5076

push

github

web-flow
test: Change `Event.additionalDetails` field assertion in events test (box/box-codegen#858) (#1491)

18454 of 49699 relevant lines covered (37.13%)

0.37 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

17.39
/src/main/java/com/box/sdkgen/schemas/aiagentlongtexttool/AiAgentLongTextToolEmbeddingsField.java
1
package com.box.sdkgen.schemas.aiagentlongtexttool;
2

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

8
@JsonFilter("nullablePropertyFilter")
9
public class AiAgentLongTextToolEmbeddingsField extends SerializableObject {
10

11
  /** The model used for the AI agent for calculating embeddings. */
12
  protected String model;
13

14
  protected AiAgentLongTextToolEmbeddingsStrategyField strategy;
15

16
  public AiAgentLongTextToolEmbeddingsField() {
17
    super();
1✔
18
  }
1✔
19

20
  protected AiAgentLongTextToolEmbeddingsField(Builder builder) {
21
    super();
×
22
    this.model = builder.model;
×
23
    this.strategy = builder.strategy;
×
24
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
25
  }
×
26

27
  public String getModel() {
28
    return model;
1✔
29
  }
30

31
  public AiAgentLongTextToolEmbeddingsStrategyField getStrategy() {
32
    return strategy;
1✔
33
  }
34

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

47
  @Override
48
  public int hashCode() {
49
    return Objects.hash(model, strategy);
×
50
  }
51

52
  @Override
53
  public String toString() {
54
    return "AiAgentLongTextToolEmbeddingsField{"
×
55
        + "model='"
56
        + model
57
        + '\''
58
        + ", "
59
        + "strategy='"
60
        + strategy
61
        + '\''
62
        + "}";
63
  }
64

65
  public static class Builder extends NullableFieldTracker {
×
66

67
    protected String model;
68

69
    protected AiAgentLongTextToolEmbeddingsStrategyField strategy;
70

71
    public Builder model(String model) {
72
      this.model = model;
×
73
      return this;
×
74
    }
75

76
    public Builder strategy(AiAgentLongTextToolEmbeddingsStrategyField strategy) {
77
      this.strategy = strategy;
×
78
      return this;
×
79
    }
80

81
    public AiAgentLongTextToolEmbeddingsField build() {
82
      return new AiAgentLongTextToolEmbeddingsField(this);
×
83
    }
84
  }
85
}
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