• 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

0.0
/src/main/java/com/box/sdkgen/schemas/aistudioagentbasicgentool/AiStudioAgentBasicGenTool.java
1
package com.box.sdkgen.schemas.aistudioagentbasicgentool;
2

3
import com.box.sdkgen.schemas.aiagentbasicgentool.AiAgentBasicGenTool;
4
import com.box.sdkgen.schemas.aiagentlongtexttooltextgen.AiAgentLongTextToolTextGenEmbeddingsField;
5
import com.box.sdkgen.schemas.aillmendpointparams.AiLlmEndpointParams;
6
import com.fasterxml.jackson.annotation.JsonFilter;
7
import com.fasterxml.jackson.annotation.JsonProperty;
8
import java.util.Objects;
9

10
@JsonFilter("nullablePropertyFilter")
11
public class AiStudioAgentBasicGenTool extends AiAgentBasicGenTool {
12

13
  @JsonProperty("is_custom_instructions_included")
14
  protected Boolean isCustomInstructionsIncluded;
15

16
  public AiStudioAgentBasicGenTool() {
UNCOV
17
    super();
×
UNCOV
18
  }
×
19

20
  protected AiStudioAgentBasicGenTool(Builder builder) {
21
    super(builder);
×
UNCOV
22
    this.isCustomInstructionsIncluded = builder.isCustomInstructionsIncluded;
×
UNCOV
23
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
24
  }
×
25

26
  public Boolean getIsCustomInstructionsIncluded() {
UNCOV
27
    return isCustomInstructionsIncluded;
×
28
  }
29

30
  @Override
31
  public boolean equals(Object o) {
32
    if (this == o) {
×
33
      return true;
×
34
    }
35
    if (o == null || getClass() != o.getClass()) {
×
36
      return false;
×
37
    }
38
    AiStudioAgentBasicGenTool casted = (AiStudioAgentBasicGenTool) o;
×
39
    return Objects.equals(model, casted.model)
×
40
        && Objects.equals(numTokensForCompletion, casted.numTokensForCompletion)
×
41
        && Objects.equals(llmEndpointParams, casted.llmEndpointParams)
×
42
        && Objects.equals(systemMessage, casted.systemMessage)
×
43
        && Objects.equals(promptTemplate, casted.promptTemplate)
×
UNCOV
44
        && Objects.equals(embeddings, casted.embeddings)
×
UNCOV
45
        && Objects.equals(contentTemplate, casted.contentTemplate)
×
UNCOV
46
        && Objects.equals(isCustomInstructionsIncluded, casted.isCustomInstructionsIncluded);
×
47
  }
48

49
  @Override
50
  public int hashCode() {
UNCOV
51
    return Objects.hash(
×
52
        model,
53
        numTokensForCompletion,
54
        llmEndpointParams,
55
        systemMessage,
56
        promptTemplate,
57
        embeddings,
58
        contentTemplate,
59
        isCustomInstructionsIncluded);
60
  }
61

62
  @Override
63
  public String toString() {
UNCOV
64
    return "AiStudioAgentBasicGenTool{"
×
65
        + "model='"
66
        + model
67
        + '\''
68
        + ", "
69
        + "numTokensForCompletion='"
70
        + numTokensForCompletion
71
        + '\''
72
        + ", "
73
        + "llmEndpointParams='"
74
        + llmEndpointParams
75
        + '\''
76
        + ", "
77
        + "systemMessage='"
78
        + systemMessage
79
        + '\''
80
        + ", "
81
        + "promptTemplate='"
82
        + promptTemplate
83
        + '\''
84
        + ", "
85
        + "embeddings='"
86
        + embeddings
87
        + '\''
88
        + ", "
89
        + "contentTemplate='"
90
        + contentTemplate
91
        + '\''
92
        + ", "
93
        + "isCustomInstructionsIncluded='"
94
        + isCustomInstructionsIncluded
95
        + '\''
96
        + "}";
97
  }
98

UNCOV
99
  public static class Builder extends AiAgentBasicGenTool.Builder {
×
100

101
    protected Boolean isCustomInstructionsIncluded;
102

103
    public Builder isCustomInstructionsIncluded(Boolean isCustomInstructionsIncluded) {
UNCOV
104
      this.isCustomInstructionsIncluded = isCustomInstructionsIncluded;
×
UNCOV
105
      return this;
×
106
    }
107

108
    @Override
109
    public Builder model(String model) {
UNCOV
110
      this.model = model;
×
UNCOV
111
      return this;
×
112
    }
113

114
    @Override
115
    public Builder numTokensForCompletion(Long numTokensForCompletion) {
UNCOV
116
      this.numTokensForCompletion = numTokensForCompletion;
×
UNCOV
117
      return this;
×
118
    }
119

120
    @Override
121
    public Builder llmEndpointParams(AiLlmEndpointParams llmEndpointParams) {
UNCOV
122
      this.llmEndpointParams = llmEndpointParams;
×
UNCOV
123
      return this;
×
124
    }
125

126
    @Override
127
    public Builder systemMessage(String systemMessage) {
UNCOV
128
      this.systemMessage = systemMessage;
×
UNCOV
129
      return this;
×
130
    }
131

132
    @Override
133
    public Builder promptTemplate(String promptTemplate) {
UNCOV
134
      this.promptTemplate = promptTemplate;
×
UNCOV
135
      return this;
×
136
    }
137

138
    @Override
139
    public Builder embeddings(AiAgentLongTextToolTextGenEmbeddingsField embeddings) {
UNCOV
140
      this.embeddings = embeddings;
×
UNCOV
141
      return this;
×
142
    }
143

144
    @Override
145
    public Builder contentTemplate(String contentTemplate) {
UNCOV
146
      this.contentTemplate = contentTemplate;
×
UNCOV
147
      return this;
×
148
    }
149

150
    public AiStudioAgentBasicGenTool build() {
UNCOV
151
      return new AiStudioAgentBasicGenTool(this);
×
152
    }
153
  }
154
}
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