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

box / box-java-sdk / #6051

31 Dec 2025 02:32PM UTC coverage: 35.12% (-0.5%) from 35.647%
#6051

push

github

web-flow
test: Remove integration mappings tests (box/box-codegen#912) (#1671)

18717 of 53294 relevant lines covered (35.12%)

0.35 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/userintegrationmappings/UserIntegrationMappings.java
1
package com.box.sdkgen.schemas.userintegrationmappings;
2

3
import com.box.sdkgen.schemas.userbase.UserBase;
4
import com.box.sdkgen.schemas.userbase.UserBaseTypeField;
5
import com.box.sdkgen.serialization.json.EnumWrapper;
6
import com.fasterxml.jackson.annotation.JsonFilter;
7
import com.fasterxml.jackson.annotation.JsonProperty;
8
import java.util.Objects;
9

10
/**
11
 * A user representation for integration mappings API purposes. Fields name and login are not
12
 * required.
13
 */
14
@JsonFilter("nullablePropertyFilter")
15
public class UserIntegrationMappings extends UserBase {
16

17
  /** The display name of this user. */
18
  protected String name;
19

20
  /** The primary email address of this user. */
21
  protected String login;
22

23
  public UserIntegrationMappings(@JsonProperty("id") String id) {
24
    super(id);
×
25
  }
×
26

27
  protected UserIntegrationMappings(Builder builder) {
28
    super(builder);
×
29
    this.name = builder.name;
×
30
    this.login = builder.login;
×
31
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
32
  }
×
33

34
  public String getName() {
35
    return name;
×
36
  }
37

38
  public String getLogin() {
39
    return login;
×
40
  }
41

42
  @Override
43
  public boolean equals(Object o) {
44
    if (this == o) {
×
45
      return true;
×
46
    }
47
    if (o == null || getClass() != o.getClass()) {
×
48
      return false;
×
49
    }
50
    UserIntegrationMappings casted = (UserIntegrationMappings) o;
×
51
    return Objects.equals(id, casted.id)
×
52
        && Objects.equals(type, casted.type)
×
53
        && Objects.equals(name, casted.name)
×
54
        && Objects.equals(login, casted.login);
×
55
  }
56

57
  @Override
58
  public int hashCode() {
59
    return Objects.hash(id, type, name, login);
×
60
  }
61

62
  @Override
63
  public String toString() {
64
    return "UserIntegrationMappings{"
×
65
        + "id='"
66
        + id
67
        + '\''
68
        + ", "
69
        + "type='"
70
        + type
71
        + '\''
72
        + ", "
73
        + "name='"
74
        + name
75
        + '\''
76
        + ", "
77
        + "login='"
78
        + login
79
        + '\''
80
        + "}";
81
  }
82

83
  public static class Builder extends UserBase.Builder {
84

85
    protected String name;
86

87
    protected String login;
88

89
    public Builder(String id) {
90
      super(id);
×
91
    }
×
92

93
    public Builder name(String name) {
94
      this.name = name;
×
95
      return this;
×
96
    }
97

98
    public Builder login(String login) {
99
      this.login = login;
×
100
      return this;
×
101
    }
102

103
    @Override
104
    public Builder type(UserBaseTypeField type) {
105
      this.type = new EnumWrapper<UserBaseTypeField>(type);
×
106
      return this;
×
107
    }
108

109
    @Override
110
    public Builder type(EnumWrapper<UserBaseTypeField> type) {
111
      this.type = type;
×
112
      return this;
×
113
    }
114

115
    public UserIntegrationMappings build() {
116
      return new UserIntegrationMappings(this);
×
117
    }
118
  }
119
}
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