@@ -15,6 +15,12 @@ public class TransformationTry {
15
15
@ JsonProperty ("code" )
16
16
private String code ;
17
17
18
+ @ JsonProperty ("type" )
19
+ private TransformationType type ;
20
+
21
+ @ JsonProperty ("input" )
22
+ private TransformationInput input ;
23
+
18
24
@ JsonProperty ("sampleRecord" )
19
25
private Object sampleRecord ;
20
26
@@ -33,11 +39,33 @@ public TransformationTry setCode(String code) {
33
39
* @deprecated
34
40
*/
35
41
@ Deprecated
36
- @ javax .annotation .Nonnull
42
+ @ javax .annotation .Nullable
37
43
public String getCode () {
38
44
return code ;
39
45
}
40
46
47
+ public TransformationTry setType (TransformationType type ) {
48
+ this .type = type ;
49
+ return this ;
50
+ }
51
+
52
+ /** Get type */
53
+ @ javax .annotation .Nullable
54
+ public TransformationType getType () {
55
+ return type ;
56
+ }
57
+
58
+ public TransformationTry setInput (TransformationInput input ) {
59
+ this .input = input ;
60
+ return this ;
61
+ }
62
+
63
+ /** Get input */
64
+ @ javax .annotation .Nullable
65
+ public TransformationInput getInput () {
66
+ return input ;
67
+ }
68
+
41
69
public TransformationTry setSampleRecord (Object sampleRecord ) {
42
70
this .sampleRecord = sampleRecord ;
43
71
return this ;
@@ -79,21 +107,25 @@ public boolean equals(Object o) {
79
107
TransformationTry transformationTry = (TransformationTry ) o ;
80
108
return (
81
109
Objects .equals (this .code , transformationTry .code ) &&
110
+ Objects .equals (this .type , transformationTry .type ) &&
111
+ Objects .equals (this .input , transformationTry .input ) &&
82
112
Objects .equals (this .sampleRecord , transformationTry .sampleRecord ) &&
83
113
Objects .equals (this .authentications , transformationTry .authentications )
84
114
);
85
115
}
86
116
87
117
@ Override
88
118
public int hashCode () {
89
- return Objects .hash (code , sampleRecord , authentications );
119
+ return Objects .hash (code , type , input , sampleRecord , authentications );
90
120
}
91
121
92
122
@ Override
93
123
public String toString () {
94
124
StringBuilder sb = new StringBuilder ();
95
125
sb .append ("class TransformationTry {\n " );
96
126
sb .append (" code: " ).append (toIndentedString (code )).append ("\n " );
127
+ sb .append (" type: " ).append (toIndentedString (type )).append ("\n " );
128
+ sb .append (" input: " ).append (toIndentedString (input )).append ("\n " );
97
129
sb .append (" sampleRecord: " ).append (toIndentedString (sampleRecord )).append ("\n " );
98
130
sb .append (" authentications: " ).append (toIndentedString (authentications )).append ("\n " );
99
131
sb .append ("}" );
0 commit comments