• 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/aistudioagentbasictexttool/AiStudioAgentBasicTextTool.java
1
package com.box.sdkgen.schemas.aistudioagentbasictexttool;
2

3
import com.box.sdkgen.schemas.aiagentbasictexttool.AiAgentBasicTextTool;
4
import com.box.sdkgen.schemas.aillmendpointparams.AiLlmEndpointParams;
5
import com.fasterxml.jackson.annotation.JsonProperty;
6
import java.util.Objects;
7

8
public class AiStudioAgentBasicTextTool extends AiAgentBasicTextTool {
9

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

13
  public AiStudioAgentBasicTextTool() {
14
    super();
×
15
  }
×
16

17
  protected AiStudioAgentBasicTextTool(AiStudioAgentBasicTextToolBuilder builder) {
18
    super(builder);
×
19
    this.isCustomInstructionsIncluded = builder.isCustomInstructionsIncluded;
×
20
  }
×
21

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

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

43
  @Override
44
  public int hashCode() {
45
    return Objects.hash(
×
46
        model,
47
        numTokensForCompletion,
48
        llmEndpointParams,
49
        systemMessage,
50
        promptTemplate,
51
        isCustomInstructionsIncluded);
52
  }
53

54
  @Override
55
  public String toString() {
56
    return "AiStudioAgentBasicTextTool{"
×
57
        + "model='"
58
        + model
59
        + '\''
60
        + ", "
61
        + "numTokensForCompletion='"
62
        + numTokensForCompletion
63
        + '\''
64
        + ", "
65
        + "llmEndpointParams='"
66
        + llmEndpointParams
67
        + '\''
68
        + ", "
69
        + "systemMessage='"
70
        + systemMessage
71
        + '\''
72
        + ", "
73
        + "promptTemplate='"
74
        + promptTemplate
75
        + '\''
76
        + ", "
77
        + "isCustomInstructionsIncluded='"
78
        + isCustomInstructionsIncluded
79
        + '\''
80
        + "}";
81
  }
82

83
  public static class AiStudioAgentBasicTextToolBuilder extends AiAgentBasicTextToolBuilder {
×
84

85
    protected Boolean isCustomInstructionsIncluded;
86

87
    public AiStudioAgentBasicTextToolBuilder isCustomInstructionsIncluded(
88
        Boolean isCustomInstructionsIncluded) {
89
      this.isCustomInstructionsIncluded = isCustomInstructionsIncluded;
×
90
      return this;
×
91
    }
92

93
    @Override
94
    public AiStudioAgentBasicTextToolBuilder model(String model) {
95
      this.model = model;
×
96
      return this;
×
97
    }
98

99
    @Override
100
    public AiStudioAgentBasicTextToolBuilder numTokensForCompletion(Long numTokensForCompletion) {
101
      this.numTokensForCompletion = numTokensForCompletion;
×
102
      return this;
×
103
    }
104

105
    @Override
106
    public AiStudioAgentBasicTextToolBuilder llmEndpointParams(
107
        AiLlmEndpointParams llmEndpointParams) {
UNCOV
108
      this.llmEndpointParams = llmEndpointParams;
×
109
      return this;
×
110
    }
111

112
    @Override
113
    public AiStudioAgentBasicTextToolBuilder systemMessage(String systemMessage) {
UNCOV
114
      this.systemMessage = systemMessage;
×
115
      return this;
×
116
    }
117

118
    @Override
119
    public AiStudioAgentBasicTextToolBuilder promptTemplate(String promptTemplate) {
UNCOV
120
      this.promptTemplate = promptTemplate;
×
121
      return this;
×
122
    }
123

124
    public AiStudioAgentBasicTextTool build() {
UNCOV
125
      return new AiStudioAgentBasicTextTool(this);
×
126
    }
127
  }
128
}
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