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

box / box-java-sdk-gen / #361

14 Jul 2025 11:20AM UTC coverage: 38.075% (+2.5%) from 35.58%
#361

push

github

web-flow
feat: Support common union fields and implicit union conversion (box/box-codegen#758) (#361)

288 of 1203 new or added lines in 106 files covered. (23.94%)

165 existing lines in 43 files now uncovered.

18537 of 48685 relevant lines covered (38.08%)

0.38 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
  public final EnumWrapper<GetAiAgentDefaultConfigQueryParamsModeField> mode;
8

9
  public String language;
10

11
  public String model;
12

NEW
13
  public GetAiAgentDefaultConfigQueryParams(GetAiAgentDefaultConfigQueryParamsModeField mode) {
×
NEW
14
    this.mode = new EnumWrapper<GetAiAgentDefaultConfigQueryParamsModeField>(mode);
×
NEW
15
  }
×
16

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

22
  protected GetAiAgentDefaultConfigQueryParams(Builder builder) {
1✔
23
    this.mode = builder.mode;
1✔
24
    this.language = builder.language;
1✔
25
    this.model = builder.model;
1✔
26
  }
1✔
27

28
  public EnumWrapper<GetAiAgentDefaultConfigQueryParamsModeField> getMode() {
29
    return mode;
1✔
30
  }
31

32
  public String getLanguage() {
33
    return language;
1✔
34
  }
35

36
  public String getModel() {
37
    return model;
1✔
38
  }
39

40
  public static class Builder {
41

42
    protected final EnumWrapper<GetAiAgentDefaultConfigQueryParamsModeField> mode;
43

44
    protected String language;
45

46
    protected String model;
47

48
    public Builder(GetAiAgentDefaultConfigQueryParamsModeField mode) {
1✔
49
      this.mode = new EnumWrapper<GetAiAgentDefaultConfigQueryParamsModeField>(mode);
1✔
50
    }
1✔
51

NEW
52
    public Builder(EnumWrapper<GetAiAgentDefaultConfigQueryParamsModeField> mode) {
×
NEW
53
      this.mode = mode;
×
NEW
54
    }
×
55

56
    public Builder language(String language) {
57
      this.language = language;
1✔
58
      return this;
1✔
59
    }
60

61
    public Builder model(String model) {
62
      this.model = model;
×
63
      return this;
×
64
    }
65

66
    public GetAiAgentDefaultConfigQueryParams build() {
67
      return new GetAiAgentDefaultConfigQueryParams(this);
1✔
68
    }
69
  }
70
}
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