File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
python/rpdk/java/templates Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 1
1
// This is a generated file. Modifications will be overwritten.
2
2
package {{ package_name }};
3
3
4
+ import com .fasterxml .jackson .annotation .JsonAutoDetect ;
5
+ import com .fasterxml .jackson .annotation .JsonAutoDetect .Visibility ;
6
+ import com .fasterxml .jackson .annotation .JsonIgnore ;
4
7
import com .fasterxml .jackson .annotation .JsonProperty ;
5
8
import java .util .Map ;
6
9
import java .util .List ;
15
18
@ Builder
16
19
@ AllArgsConstructor
17
20
@ NoArgsConstructor
21
+ @ JsonAutoDetect (fieldVisibility = Visibility .ANY , getterVisibility = Visibility .NONE , setterVisibility = Visibility .NONE )
18
22
public class {{ model_name |uppercase_first_letter }} {
19
23
{% for name , type in properties .items () %}
20
24
@ JsonProperty ("{{ name }}" )
You can’t perform that action at this time.
0 commit comments