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

box / box-java-sdk-gen / #96

09 May 2025 01:16PM UTC coverage: 35.312% (+0.1%) from 35.204%
#96

push

github

web-flow
fix: Fix conversion of `mdfilters` into query parameters (box/box-codegen#721) (#301)

5 of 7 new or added lines in 1 file covered. (71.43%)

287 existing lines in 27 files now uncovered.

15468 of 43804 relevant lines covered (35.31%)

0.35 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.JsonProperty;
7
import java.util.Objects;
8

9
public class AiStudioAgentBasicGenTool extends AiAgentBasicGenTool {
10

11
  @JsonProperty("is_custom_instructions_included")
12
  protected Boolean isCustomInstructionsIncluded;
13

14
  public AiStudioAgentBasicGenTool() {
15
    super();
×
16
  }
×
17

18
  protected AiStudioAgentBasicGenTool(AiStudioAgentBasicGenToolBuilder builder) {
19
    super(builder);
×
20
    this.isCustomInstructionsIncluded = builder.isCustomInstructionsIncluded;
×
21
  }
×
22

23
  public Boolean getIsCustomInstructionsIncluded() {
24
    return isCustomInstructionsIncluded;
×
25
  }
26

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

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

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

96
  public static class AiStudioAgentBasicGenToolBuilder extends AiAgentBasicGenToolBuilder {
×
97

98
    protected Boolean isCustomInstructionsIncluded;
99

100
    public AiStudioAgentBasicGenToolBuilder isCustomInstructionsIncluded(
101
        Boolean isCustomInstructionsIncluded) {
102
      this.isCustomInstructionsIncluded = isCustomInstructionsIncluded;
×
103
      return this;
×
104
    }
105

106
    @Override
107
    public AiStudioAgentBasicGenToolBuilder model(String model) {
108
      this.model = model;
×
109
      return this;
×
110
    }
111

112
    @Override
113
    public AiStudioAgentBasicGenToolBuilder numTokensForCompletion(Long numTokensForCompletion) {
114
      this.numTokensForCompletion = numTokensForCompletion;
×
115
      return this;
×
116
    }
117

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

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

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

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

144
    @Override
145
    public AiStudioAgentBasicGenToolBuilder contentTemplate(String contentTemplate) {
UNCOV
146
      this.contentTemplate = contentTemplate;
×
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