• 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

6.25
/src/main/java/com/box/sdkgen/schemas/aiagentbasictexttooltextgen/AiAgentBasicTextToolTextGen.java
1
package com.box.sdkgen.schemas.aiagentbasictexttooltextgen;
2

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

8
public class AiAgentBasicTextToolTextGen extends AiAgentBasicTextToolBase {
9

10
  @JsonProperty("system_message")
11
  protected String systemMessage;
12

13
  @JsonProperty("prompt_template")
14
  protected String promptTemplate;
15

16
  public AiAgentBasicTextToolTextGen() {
17
    super();
1✔
18
  }
1✔
19

20
  protected AiAgentBasicTextToolTextGen(AiAgentBasicTextToolTextGenBuilder builder) {
21
    super(builder);
×
22
    this.systemMessage = builder.systemMessage;
×
23
    this.promptTemplate = builder.promptTemplate;
×
24
  }
×
25

26
  public String getSystemMessage() {
27
    return systemMessage;
×
28
  }
29

30
  public String getPromptTemplate() {
31
    return promptTemplate;
×
32
  }
33

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

50
  @Override
51
  public int hashCode() {
52
    return Objects.hash(
×
53
        model, numTokensForCompletion, llmEndpointParams, systemMessage, promptTemplate);
54
  }
55

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

81
  public static class AiAgentBasicTextToolTextGenBuilder extends AiAgentBasicTextToolBaseBuilder {
×
82

83
    protected String systemMessage;
84

85
    protected String promptTemplate;
86

87
    public AiAgentBasicTextToolTextGenBuilder systemMessage(String systemMessage) {
88
      this.systemMessage = systemMessage;
×
89
      return this;
×
90
    }
91

92
    public AiAgentBasicTextToolTextGenBuilder promptTemplate(String promptTemplate) {
93
      this.promptTemplate = promptTemplate;
×
94
      return this;
×
95
    }
96

97
    @Override
98
    public AiAgentBasicTextToolTextGenBuilder model(String model) {
99
      this.model = model;
×
100
      return this;
×
101
    }
102

103
    @Override
104
    public AiAgentBasicTextToolTextGenBuilder numTokensForCompletion(Long numTokensForCompletion) {
105
      this.numTokensForCompletion = numTokensForCompletion;
×
106
      return this;
×
107
    }
108

109
    @Override
110
    public AiAgentBasicTextToolTextGenBuilder llmEndpointParams(
111
        AiLlmEndpointParams llmEndpointParams) {
UNCOV
112
      this.llmEndpointParams = llmEndpointParams;
×
113
      return this;
×
114
    }
115

116
    public AiAgentBasicTextToolTextGen build() {
UNCOV
117
      return new AiAgentBasicTextToolTextGen(this);
×
118
    }
119
  }
120
}
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