• 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

44.44
/src/main/java/com/box/sdkgen/box/jwtauth/JwtConfigAppSettingsAppAuth.java
1
package com.box.sdkgen.box.jwtauth;
2

3
import com.box.sdkgen.internal.SerializableObject;
4
import com.fasterxml.jackson.annotation.JsonFilter;
5
import com.fasterxml.jackson.annotation.JsonProperty;
6
import java.util.Objects;
7

8
@JsonFilter("nullablePropertyFilter")
9
public class JwtConfigAppSettingsAppAuth extends SerializableObject {
10

11
  @JsonProperty("publicKeyID")
12
  protected final String publicKeyId;
13

14
  protected final String privateKey;
15

16
  protected final String passphrase;
17

18
  public JwtConfigAppSettingsAppAuth(
19
      @JsonProperty("publicKeyID") String publicKeyId,
20
      @JsonProperty("privateKey") String privateKey,
21
      @JsonProperty("passphrase") String passphrase) {
22
    super();
1✔
23
    this.publicKeyId = publicKeyId;
1✔
24
    this.privateKey = privateKey;
1✔
25
    this.passphrase = passphrase;
1✔
26
  }
1✔
27

28
  public String getPublicKeyId() {
29
    return publicKeyId;
1✔
30
  }
31

32
  public String getPrivateKey() {
33
    return privateKey;
1✔
34
  }
35

36
  public String getPassphrase() {
37
    return passphrase;
1✔
38
  }
39

40
  @Override
41
  public boolean equals(Object o) {
UNCOV
42
    if (this == o) {
×
43
      return true;
×
44
    }
UNCOV
45
    if (o == null || getClass() != o.getClass()) {
×
46
      return false;
×
47
    }
48
    JwtConfigAppSettingsAppAuth casted = (JwtConfigAppSettingsAppAuth) o;
×
49
    return Objects.equals(publicKeyId, casted.publicKeyId)
×
UNCOV
50
        && Objects.equals(privateKey, casted.privateKey)
×
UNCOV
51
        && Objects.equals(passphrase, casted.passphrase);
×
52
  }
53

54
  @Override
55
  public int hashCode() {
UNCOV
56
    return Objects.hash(publicKeyId, privateKey, passphrase);
×
57
  }
58

59
  @Override
60
  public String toString() {
UNCOV
61
    return "JwtConfigAppSettingsAppAuth{"
×
62
        + "publicKeyId='"
63
        + publicKeyId
64
        + '\''
65
        + ", "
66
        + "privateKey='"
67
        + privateKey
68
        + '\''
69
        + ", "
70
        + "passphrase='"
71
        + passphrase
72
        + '\''
73
        + "}";
74
  }
75
}
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