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

box / box-java-sdk-gen / #295

24 Jun 2025 01:20PM UTC coverage: 35.661% (+0.03%) from 35.632%
#295

Pull #347

github

web-flow
Merge 2c100d09c into d8480ee6c
Pull Request #347: feat: Add Webhook Validation In Java (box/box-codegen#745)

68 of 82 new or added lines in 2 files covered. (82.93%)

11794 existing lines in 627 files now uncovered.

16937 of 47495 relevant lines covered (35.66%)

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/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.JsonFilter;
6
import com.fasterxml.jackson.annotation.JsonProperty;
7
import java.util.Objects;
8

9
@JsonFilter("nullablePropertyFilter")
10
public class AiStudioAgentBasicTextTool extends AiAgentBasicTextTool {
11

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

15
  public AiStudioAgentBasicTextTool() {
UNCOV
16
    super();
×
UNCOV
17
  }
×
18

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

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

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

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

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

UNCOV
86
  public static class Builder extends AiAgentBasicTextTool.Builder {
×
87

88
    protected Boolean isCustomInstructionsIncluded;
89

90
    public Builder isCustomInstructionsIncluded(Boolean isCustomInstructionsIncluded) {
UNCOV
91
      this.isCustomInstructionsIncluded = isCustomInstructionsIncluded;
×
UNCOV
92
      return this;
×
93
    }
94

95
    @Override
96
    public Builder model(String model) {
UNCOV
97
      this.model = model;
×
UNCOV
98
      return this;
×
99
    }
100

101
    @Override
102
    public Builder numTokensForCompletion(Long numTokensForCompletion) {
UNCOV
103
      this.numTokensForCompletion = numTokensForCompletion;
×
UNCOV
104
      return this;
×
105
    }
106

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

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

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

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