12
12
/** TransformationSearch */
13
13
public class TransformationSearch {
14
14
15
- @ JsonProperty ("transformationsIDs " )
16
- private List <String > transformationsIDs = new ArrayList <>() ;
15
+ @ JsonProperty ("transformationIDs " )
16
+ private List <String > transformationIDs ;
17
17
18
- public TransformationSearch setTransformationsIDs (List <String > transformationsIDs ) {
19
- this .transformationsIDs = transformationsIDs ;
18
+ public TransformationSearch setTransformationIDs (List <String > transformationIDs ) {
19
+ this .transformationIDs = transformationIDs ;
20
20
return this ;
21
21
}
22
22
23
- public TransformationSearch addTransformationsIDs (String transformationsIDsItem ) {
24
- this .transformationsIDs .add (transformationsIDsItem );
23
+ public TransformationSearch addTransformationIDs (String transformationIDsItem ) {
24
+ if (this .transformationIDs == null ) {
25
+ this .transformationIDs = new ArrayList <>();
26
+ }
27
+ this .transformationIDs .add (transformationIDsItem );
25
28
return this ;
26
29
}
27
30
28
- /** Get transformationsIDs */
29
- @ javax .annotation .Nonnull
30
- public List <String > getTransformationsIDs () {
31
- return transformationsIDs ;
31
+ /** Get transformationIDs */
32
+ @ javax .annotation .Nullable
33
+ public List <String > getTransformationIDs () {
34
+ return transformationIDs ;
32
35
}
33
36
34
37
@ Override
@@ -40,19 +43,19 @@ public boolean equals(Object o) {
40
43
return false ;
41
44
}
42
45
TransformationSearch transformationSearch = (TransformationSearch ) o ;
43
- return Objects .equals (this .transformationsIDs , transformationSearch .transformationsIDs );
46
+ return Objects .equals (this .transformationIDs , transformationSearch .transformationIDs );
44
47
}
45
48
46
49
@ Override
47
50
public int hashCode () {
48
- return Objects .hash (transformationsIDs );
51
+ return Objects .hash (transformationIDs );
49
52
}
50
53
51
54
@ Override
52
55
public String toString () {
53
56
StringBuilder sb = new StringBuilder ();
54
57
sb .append ("class TransformationSearch {\n " );
55
- sb .append (" transformationsIDs : " ).append (toIndentedString (transformationsIDs )).append ("\n " );
58
+ sb .append (" transformationIDs : " ).append (toIndentedString (transformationIDs )).append ("\n " );
56
59
sb .append ("}" );
57
60
return sb .toString ();
58
61
}
0 commit comments