blob: 842ba2984218df2cf6aa48545b4b85a9f9500779 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
import com.fasterxml.jackson.annotation.JsonProperty;
public class JacksonJsonProperty {
@JsonProperty("kebab-case-prop")
public String kebabCaseProp;
@java.lang.SuppressWarnings("all")
JacksonJsonProperty(final String kebabCaseProp) {
this.kebabCaseProp = kebabCaseProp;
}
@java.lang.SuppressWarnings("all")
public static class JacksonJsonPropertyBuilder {
@java.lang.SuppressWarnings("all")
private String kebabCaseProp;
@java.lang.SuppressWarnings("all")
JacksonJsonPropertyBuilder() {
}
@JsonProperty("kebab-case-prop")
@java.lang.SuppressWarnings("all")
public JacksonJsonPropertyBuilder kebabCaseProp(final String kebabCaseProp) {
this.kebabCaseProp = kebabCaseProp;
return this;
}
@java.lang.SuppressWarnings("all")
public JacksonJsonProperty build() {
return new JacksonJsonProperty(kebabCaseProp);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "JacksonJsonProperty.JacksonJsonPropertyBuilder(kebabCaseProp=" + this.kebabCaseProp + ")";
}
}
@java.lang.SuppressWarnings("all")
public static JacksonJsonPropertyBuilder builder() {
return new JacksonJsonPropertyBuilder();
}
@JsonProperty("kebab-case-prop")
@java.lang.SuppressWarnings("all")
public void setKebabCaseProp(final String kebabCaseProp) {
this.kebabCaseProp = kebabCaseProp;
}
}
|