• 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

6.9
/src/main/java/com/box/sdkgen/schemas/aiagentinfo/AiAgentInfoModelsField.java
1
package com.box.sdkgen.schemas.aiagentinfo;
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 AiAgentInfoModelsField extends SerializableObject {
11

12
  /** The name of the model used for the request. */
13
  protected String name;
14

15
  /** The provider that owns the model used for the request. */
16
  protected String provider;
17

18
  /** The supported purpose utilized by the model used for the request. */
19
  @JsonProperty("supported_purpose")
20
  protected String supportedPurpose;
21

22
  public AiAgentInfoModelsField() {
23
    super();
1✔
24
  }
1✔
25

26
  protected AiAgentInfoModelsField(Builder builder) {
27
    super();
×
28
    this.name = builder.name;
×
29
    this.provider = builder.provider;
×
30
    this.supportedPurpose = builder.supportedPurpose;
×
31
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
32
  }
×
33

34
  public String getName() {
35
    return name;
×
36
  }
37

38
  public String getProvider() {
39
    return provider;
×
40
  }
41

42
  public String getSupportedPurpose() {
43
    return supportedPurpose;
×
44
  }
45

46
  @Override
47
  public boolean equals(Object o) {
48
    if (this == o) {
×
49
      return true;
×
50
    }
51
    if (o == null || getClass() != o.getClass()) {
×
52
      return false;
×
53
    }
54
    AiAgentInfoModelsField casted = (AiAgentInfoModelsField) o;
×
55
    return Objects.equals(name, casted.name)
×
56
        && Objects.equals(provider, casted.provider)
×
57
        && Objects.equals(supportedPurpose, casted.supportedPurpose);
×
58
  }
59

60
  @Override
61
  public int hashCode() {
62
    return Objects.hash(name, provider, supportedPurpose);
×
63
  }
64

65
  @Override
66
  public String toString() {
67
    return "AiAgentInfoModelsField{"
×
68
        + "name='"
69
        + name
70
        + '\''
71
        + ", "
72
        + "provider='"
73
        + provider
74
        + '\''
75
        + ", "
76
        + "supportedPurpose='"
77
        + supportedPurpose
78
        + '\''
79
        + "}";
80
  }
81

82
  public static class Builder extends NullableFieldTracker {
×
83

84
    protected String name;
85

86
    protected String provider;
87

88
    protected String supportedPurpose;
89

90
    public Builder name(String name) {
91
      this.name = name;
×
92
      return this;
×
93
    }
94

95
    public Builder provider(String provider) {
96
      this.provider = provider;
×
97
      return this;
×
98
    }
99

100
    public Builder supportedPurpose(String supportedPurpose) {
101
      this.supportedPurpose = supportedPurpose;
×
102
      return this;
×
103
    }
104

105
    public AiAgentInfoModelsField build() {
106
      return new AiAgentInfoModelsField(this);
×
107
    }
108
  }
109
}
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