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

box / box-java-sdk-gen / #541

05 Sep 2025 02:31PM UTC coverage: 7.451% (-29.2%) from 36.66%
#541

push

other

web-flow
chore: release version 0.8.1 (#437)

1 of 1 new or added line in 1 file covered. (100.0%)

14652 existing lines in 1191 files now uncovered.

3737 of 50151 relevant lines covered (7.45%)

0.07 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/aiagenttextgen/AiAgentTextGen.java
1
package com.box.sdkgen.schemas.aiagenttextgen;
2

3
import com.box.sdkgen.internal.NullableFieldTracker;
4
import com.box.sdkgen.internal.SerializableObject;
5
import com.box.sdkgen.schemas.aiagentbasicgentool.AiAgentBasicGenTool;
6
import com.box.sdkgen.serialization.json.EnumWrapper;
7
import com.fasterxml.jackson.annotation.JsonFilter;
8
import com.fasterxml.jackson.annotation.JsonProperty;
9
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
10
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
11
import java.util.Objects;
12

13
@JsonFilter("nullablePropertyFilter")
14
public class AiAgentTextGen extends SerializableObject {
15

16
  @JsonDeserialize(using = AiAgentTextGenTypeField.AiAgentTextGenTypeFieldDeserializer.class)
17
  @JsonSerialize(using = AiAgentTextGenTypeField.AiAgentTextGenTypeFieldSerializer.class)
18
  protected EnumWrapper<AiAgentTextGenTypeField> type;
19

20
  @JsonProperty("basic_gen")
21
  protected AiAgentBasicGenTool basicGen;
22

23
  public AiAgentTextGen() {
UNCOV
24
    super();
×
UNCOV
25
    this.type = new EnumWrapper<AiAgentTextGenTypeField>(AiAgentTextGenTypeField.AI_AGENT_TEXT_GEN);
×
UNCOV
26
  }
×
27

28
  protected AiAgentTextGen(Builder builder) {
29
    super();
×
30
    this.type = builder.type;
×
31
    this.basicGen = builder.basicGen;
×
32
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
33
  }
×
34

35
  public EnumWrapper<AiAgentTextGenTypeField> getType() {
UNCOV
36
    return type;
×
37
  }
38

39
  public AiAgentBasicGenTool getBasicGen() {
UNCOV
40
    return basicGen;
×
41
  }
42

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

55
  @Override
56
  public int hashCode() {
57
    return Objects.hash(type, basicGen);
×
58
  }
59

60
  @Override
61
  public String toString() {
62
    return "AiAgentTextGen{" + "type='" + type + '\'' + ", " + "basicGen='" + basicGen + '\'' + "}";
×
63
  }
64

65
  public static class Builder extends NullableFieldTracker {
66

67
    protected EnumWrapper<AiAgentTextGenTypeField> type;
68

69
    protected AiAgentBasicGenTool basicGen;
70

71
    public Builder() {
72
      super();
×
73
      this.type =
×
74
          new EnumWrapper<AiAgentTextGenTypeField>(AiAgentTextGenTypeField.AI_AGENT_TEXT_GEN);
75
    }
×
76

77
    public Builder type(AiAgentTextGenTypeField type) {
78
      this.type = new EnumWrapper<AiAgentTextGenTypeField>(type);
×
79
      return this;
×
80
    }
81

82
    public Builder type(EnumWrapper<AiAgentTextGenTypeField> type) {
83
      this.type = type;
×
84
      return this;
×
85
    }
86

87
    public Builder basicGen(AiAgentBasicGenTool basicGen) {
88
      this.basicGen = basicGen;
×
89
      return this;
×
90
    }
91

92
    public AiAgentTextGen build() {
93
      return new AiAgentTextGen(this);
×
94
    }
95
  }
96
}
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