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

box / box-java-sdk-gen / #358

11 Jul 2025 04:43PM UTC coverage: 38.091% (+2.5%) from 35.58%
#358

Pull #361

github

web-flow
Merge 112b63b24 into 426763c84
Pull Request #361: feat: Support common fields in Union in Java (box/box-codegen#758)

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

167 existing lines in 45 files now uncovered.

18543 of 48681 relevant lines covered (38.09%)

0.38 hits per line

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

0.0
/src/main/java/com/box/sdkgen/managers/authorization/AuthorizeUserQueryParams.java
1
package com.box.sdkgen.managers.authorization;
2

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

5
public class AuthorizeUserQueryParams {
6

7
  public final EnumWrapper<AuthorizeUserQueryParamsResponseTypeField> responseType;
8

9
  public final String clientId;
10

11
  public String redirectUri;
12

13
  public String state;
14

15
  public String scope;
16

17
  public AuthorizeUserQueryParams(
NEW
18
      AuthorizeUserQueryParamsResponseTypeField responseType, String clientId) {
×
NEW
19
    this.responseType = new EnumWrapper<AuthorizeUserQueryParamsResponseTypeField>(responseType);
×
20
    this.clientId = clientId;
×
21
  }
×
22

23
  public AuthorizeUserQueryParams(
NEW
24
      EnumWrapper<AuthorizeUserQueryParamsResponseTypeField> responseType, String clientId) {
×
NEW
25
    this.responseType = responseType;
×
26
    this.clientId = clientId;
×
27
  }
×
28

29
  protected AuthorizeUserQueryParams(Builder builder) {
×
30
    this.responseType = builder.responseType;
×
31
    this.clientId = builder.clientId;
×
32
    this.redirectUri = builder.redirectUri;
×
33
    this.state = builder.state;
×
34
    this.scope = builder.scope;
×
35
  }
×
36

37
  public EnumWrapper<AuthorizeUserQueryParamsResponseTypeField> getResponseType() {
38
    return responseType;
×
39
  }
40

41
  public String getClientId() {
42
    return clientId;
×
43
  }
44

45
  public String getRedirectUri() {
46
    return redirectUri;
×
47
  }
48

49
  public String getState() {
50
    return state;
×
51
  }
52

53
  public String getScope() {
54
    return scope;
×
55
  }
56

57
  public static class Builder {
58

59
    protected final EnumWrapper<AuthorizeUserQueryParamsResponseTypeField> responseType;
60

61
    protected final String clientId;
62

63
    protected String redirectUri;
64

65
    protected String state;
66

67
    protected String scope;
68

NEW
69
    public Builder(AuthorizeUserQueryParamsResponseTypeField responseType, String clientId) {
×
NEW
70
      this.responseType = new EnumWrapper<AuthorizeUserQueryParamsResponseTypeField>(responseType);
×
71
      this.clientId = clientId;
×
72
    }
×
73

74
    public Builder(
NEW
75
        EnumWrapper<AuthorizeUserQueryParamsResponseTypeField> responseType, String clientId) {
×
NEW
76
      this.responseType = responseType;
×
77
      this.clientId = clientId;
×
78
    }
×
79

80
    public Builder redirectUri(String redirectUri) {
81
      this.redirectUri = redirectUri;
×
82
      return this;
×
83
    }
84

85
    public Builder state(String state) {
86
      this.state = state;
×
87
      return this;
×
88
    }
89

90
    public Builder scope(String scope) {
91
      this.scope = scope;
×
92
      return this;
×
93
    }
94

95
    public AuthorizeUserQueryParams build() {
96
      return new AuthorizeUserQueryParams(this);
×
97
    }
98
  }
99
}
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