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

box / box-java-sdk-gen / #96

09 May 2025 01:16PM UTC coverage: 35.312% (+0.1%) from 35.204%
#96

push

github

web-flow
fix: Fix conversion of `mdfilters` into query parameters (box/box-codegen#721) (#301)

5 of 7 new or added lines in 1 file covered. (71.43%)

287 existing lines in 27 files now uncovered.

15468 of 43804 relevant lines covered (35.31%)

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/managers/foldermetadata/UpdateFolderMetadataByIdRequestBody.java
1
package com.box.sdkgen.managers.foldermetadata;
2

3
import com.box.sdkgen.internal.SerializableObject;
4
import com.box.sdkgen.schemas.metadatainstancevalue.MetadataInstanceValue;
5
import com.box.sdkgen.serialization.json.EnumWrapper;
6
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
7
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
8
import java.util.Objects;
9

10
public class UpdateFolderMetadataByIdRequestBody extends SerializableObject {
11

12
  @JsonDeserialize(
13
      using =
14
          UpdateFolderMetadataByIdRequestBodyOpField
15
              .UpdateFolderMetadataByIdRequestBodyOpFieldDeserializer.class)
16
  @JsonSerialize(
17
      using =
18
          UpdateFolderMetadataByIdRequestBodyOpField
19
              .UpdateFolderMetadataByIdRequestBodyOpFieldSerializer.class)
20
  protected EnumWrapper<UpdateFolderMetadataByIdRequestBodyOpField> op;
21

22
  protected String path;
23

24
  protected MetadataInstanceValue value;
25

26
  protected String from;
27

28
  public UpdateFolderMetadataByIdRequestBody() {
29
    super();
×
UNCOV
30
  }
×
31

32
  protected UpdateFolderMetadataByIdRequestBody(
33
      UpdateFolderMetadataByIdRequestBodyBuilder builder) {
34
    super();
×
35
    this.op = builder.op;
×
36
    this.path = builder.path;
×
37
    this.value = builder.value;
×
38
    this.from = builder.from;
×
UNCOV
39
  }
×
40

41
  public EnumWrapper<UpdateFolderMetadataByIdRequestBodyOpField> getOp() {
UNCOV
42
    return op;
×
43
  }
44

45
  public String getPath() {
UNCOV
46
    return path;
×
47
  }
48

49
  public MetadataInstanceValue getValue() {
UNCOV
50
    return value;
×
51
  }
52

53
  public String getFrom() {
UNCOV
54
    return from;
×
55
  }
56

57
  @Override
58
  public boolean equals(Object o) {
59
    if (this == o) {
×
UNCOV
60
      return true;
×
61
    }
62
    if (o == null || getClass() != o.getClass()) {
×
UNCOV
63
      return false;
×
64
    }
65
    UpdateFolderMetadataByIdRequestBody casted = (UpdateFolderMetadataByIdRequestBody) o;
×
66
    return Objects.equals(op, casted.op)
×
67
        && Objects.equals(path, casted.path)
×
68
        && Objects.equals(value, casted.value)
×
UNCOV
69
        && Objects.equals(from, casted.from);
×
70
  }
71

72
  @Override
73
  public int hashCode() {
UNCOV
74
    return Objects.hash(op, path, value, from);
×
75
  }
76

77
  @Override
78
  public String toString() {
UNCOV
79
    return "UpdateFolderMetadataByIdRequestBody{"
×
80
        + "op='"
81
        + op
82
        + '\''
83
        + ", "
84
        + "path='"
85
        + path
86
        + '\''
87
        + ", "
88
        + "value='"
89
        + value
90
        + '\''
91
        + ", "
92
        + "from='"
93
        + from
94
        + '\''
95
        + "}";
96
  }
97

UNCOV
98
  public static class UpdateFolderMetadataByIdRequestBodyBuilder {
×
99

100
    protected EnumWrapper<UpdateFolderMetadataByIdRequestBodyOpField> op;
101

102
    protected String path;
103

104
    protected MetadataInstanceValue value;
105

106
    protected String from;
107

108
    public UpdateFolderMetadataByIdRequestBodyBuilder op(
109
        UpdateFolderMetadataByIdRequestBodyOpField op) {
110
      this.op = new EnumWrapper<UpdateFolderMetadataByIdRequestBodyOpField>(op);
×
UNCOV
111
      return this;
×
112
    }
113

114
    public UpdateFolderMetadataByIdRequestBodyBuilder op(
115
        EnumWrapper<UpdateFolderMetadataByIdRequestBodyOpField> op) {
116
      this.op = op;
×
UNCOV
117
      return this;
×
118
    }
119

120
    public UpdateFolderMetadataByIdRequestBodyBuilder path(String path) {
121
      this.path = path;
×
UNCOV
122
      return this;
×
123
    }
124

125
    public UpdateFolderMetadataByIdRequestBodyBuilder value(MetadataInstanceValue value) {
126
      this.value = value;
×
UNCOV
127
      return this;
×
128
    }
129

130
    public UpdateFolderMetadataByIdRequestBodyBuilder from(String from) {
131
      this.from = from;
×
UNCOV
132
      return this;
×
133
    }
134

135
    public UpdateFolderMetadataByIdRequestBody build() {
UNCOV
136
      return new UpdateFolderMetadataByIdRequestBody(this);
×
137
    }
138
  }
139
}
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