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

box / box-java-sdk / #5076

07 Oct 2025 12:35PM UTC coverage: 37.132% (+0.007%) from 37.125%
#5076

push

github

web-flow
test: Change `Event.additionalDetails` field assertion in events test (box/box-codegen#858) (#1491)

18454 of 49699 relevant lines covered (37.13%)

0.37 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

56.0
/src/main/java/com/box/sdkgen/managers/ai/GetAiAgentDefaultConfigQueryParams.java
1
package com.box.sdkgen.managers.ai;
2

3
import com.box.sdkgen.serialization.json.EnumWrapper;
4

5
public class GetAiAgentDefaultConfigQueryParams {
6

7
  /** The mode to filter the agent config to return. */
8
  public final EnumWrapper<GetAiAgentDefaultConfigQueryParamsModeField> mode;
9

10
  /**
11
   * The ISO language code to return the agent config for. If the language is not supported the
12
   * default agent config is returned.
13
   */
14
  public String language;
15

16
  /** The model to return the default agent config for. */
17
  public String model;
18

19
  public GetAiAgentDefaultConfigQueryParams(GetAiAgentDefaultConfigQueryParamsModeField mode) {
×
20
    this.mode = new EnumWrapper<GetAiAgentDefaultConfigQueryParamsModeField>(mode);
×
21
  }
×
22

23
  public GetAiAgentDefaultConfigQueryParams(
24
      EnumWrapper<GetAiAgentDefaultConfigQueryParamsModeField> mode) {
×
25
    this.mode = mode;
×
26
  }
×
27

28
  protected GetAiAgentDefaultConfigQueryParams(Builder builder) {
1✔
29
    this.mode = builder.mode;
1✔
30
    this.language = builder.language;
1✔
31
    this.model = builder.model;
1✔
32
  }
1✔
33

34
  public EnumWrapper<GetAiAgentDefaultConfigQueryParamsModeField> getMode() {
35
    return mode;
1✔
36
  }
37

38
  public String getLanguage() {
39
    return language;
1✔
40
  }
41

42
  public String getModel() {
43
    return model;
1✔
44
  }
45

46
  public static class Builder {
47

48
    protected final EnumWrapper<GetAiAgentDefaultConfigQueryParamsModeField> mode;
49

50
    protected String language;
51

52
    protected String model;
53

54
    public Builder(GetAiAgentDefaultConfigQueryParamsModeField mode) {
1✔
55
      this.mode = new EnumWrapper<GetAiAgentDefaultConfigQueryParamsModeField>(mode);
1✔
56
    }
1✔
57

58
    public Builder(EnumWrapper<GetAiAgentDefaultConfigQueryParamsModeField> mode) {
×
59
      this.mode = mode;
×
60
    }
×
61

62
    public Builder language(String language) {
63
      this.language = language;
1✔
64
      return this;
1✔
65
    }
66

67
    public Builder model(String model) {
68
      this.model = model;
×
69
      return this;
×
70
    }
71

72
    public GetAiAgentDefaultConfigQueryParams build() {
73
      return new GetAiAgentDefaultConfigQueryParams(this);
1✔
74
    }
75
  }
76
}
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