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

box / box-java-sdk-gen / #294

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

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%)

11791 existing lines in 624 files now uncovered.

16939 of 47499 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/aillmendpointparamsaws/AiLlmEndpointParamsAws.java
1
package com.box.sdkgen.schemas.aillmendpointparamsaws;
2

3
import com.box.sdkgen.internal.Nullable;
4
import com.box.sdkgen.internal.NullableFieldTracker;
5
import com.box.sdkgen.internal.SerializableObject;
6
import com.box.sdkgen.serialization.json.EnumWrapper;
7
import com.fasterxml.jackson.annotation.JsonFilter;
8
import com.fasterxml.jackson.annotation.JsonProperty;
9
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
10
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
11
import java.util.Objects;
12

13
@JsonFilter("nullablePropertyFilter")
14
public class AiLlmEndpointParamsAws extends SerializableObject {
15

16
  @JsonDeserialize(
17
      using = AiLlmEndpointParamsAwsTypeField.AiLlmEndpointParamsAwsTypeFieldDeserializer.class)
18
  @JsonSerialize(
19
      using = AiLlmEndpointParamsAwsTypeField.AiLlmEndpointParamsAwsTypeFieldSerializer.class)
20
  protected EnumWrapper<AiLlmEndpointParamsAwsTypeField> type;
21

22
  @Nullable protected Double temperature;
23

24
  @JsonProperty("top_p")
25
  @Nullable
26
  protected Double topP;
27

28
  public AiLlmEndpointParamsAws() {
UNCOV
29
    super();
×
UNCOV
30
    this.type =
×
31
        new EnumWrapper<AiLlmEndpointParamsAwsTypeField>(
32
            AiLlmEndpointParamsAwsTypeField.AWS_PARAMS);
33
  }
×
34

35
  protected AiLlmEndpointParamsAws(Builder builder) {
UNCOV
36
    super();
×
UNCOV
37
    this.type = builder.type;
×
38
    this.temperature = builder.temperature;
×
UNCOV
39
    this.topP = builder.topP;
×
UNCOV
40
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
UNCOV
41
  }
×
42

43
  public EnumWrapper<AiLlmEndpointParamsAwsTypeField> getType() {
UNCOV
44
    return type;
×
45
  }
46

47
  public Double getTemperature() {
UNCOV
48
    return temperature;
×
49
  }
50

51
  public Double getTopP() {
52
    return topP;
×
53
  }
54

55
  @Override
56
  public boolean equals(Object o) {
57
    if (this == o) {
×
58
      return true;
×
59
    }
60
    if (o == null || getClass() != o.getClass()) {
×
UNCOV
61
      return false;
×
62
    }
UNCOV
63
    AiLlmEndpointParamsAws casted = (AiLlmEndpointParamsAws) o;
×
UNCOV
64
    return Objects.equals(type, casted.type)
×
65
        && Objects.equals(temperature, casted.temperature)
×
UNCOV
66
        && Objects.equals(topP, casted.topP);
×
67
  }
68

69
  @Override
70
  public int hashCode() {
UNCOV
71
    return Objects.hash(type, temperature, topP);
×
72
  }
73

74
  @Override
75
  public String toString() {
UNCOV
76
    return "AiLlmEndpointParamsAws{"
×
77
        + "type='"
78
        + type
79
        + '\''
80
        + ", "
81
        + "temperature='"
82
        + temperature
83
        + '\''
84
        + ", "
85
        + "topP='"
86
        + topP
87
        + '\''
88
        + "}";
89
  }
90

91
  public static class Builder extends NullableFieldTracker {
92

93
    protected EnumWrapper<AiLlmEndpointParamsAwsTypeField> type;
94

95
    protected Double temperature;
96

97
    protected Double topP;
98

99
    public Builder() {
100
      super();
×
101
      this.type =
×
102
          new EnumWrapper<AiLlmEndpointParamsAwsTypeField>(
103
              AiLlmEndpointParamsAwsTypeField.AWS_PARAMS);
UNCOV
104
    }
×
105

106
    public Builder type(AiLlmEndpointParamsAwsTypeField type) {
UNCOV
107
      this.type = new EnumWrapper<AiLlmEndpointParamsAwsTypeField>(type);
×
UNCOV
108
      return this;
×
109
    }
110

111
    public Builder type(EnumWrapper<AiLlmEndpointParamsAwsTypeField> type) {
UNCOV
112
      this.type = type;
×
UNCOV
113
      return this;
×
114
    }
115

116
    public Builder temperature(Double temperature) {
UNCOV
117
      this.temperature = temperature;
×
UNCOV
118
      this.markNullableFieldAsSet("temperature");
×
UNCOV
119
      return this;
×
120
    }
121

122
    public Builder topP(Double topP) {
UNCOV
123
      this.topP = topP;
×
UNCOV
124
      this.markNullableFieldAsSet("top_p");
×
UNCOV
125
      return this;
×
126
    }
127

128
    public AiLlmEndpointParamsAws build() {
UNCOV
129
      return new AiLlmEndpointParamsAws(this);
×
130
    }
131
  }
132
}
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