@@ -32,6 +32,8 @@ public class TicketForm implements SearchResultEntity, Serializable {
32
32
private Date createdAt ;
33
33
@ JsonProperty ("updated_at" )
34
34
private Date updatedAt ;
35
+ @ JsonProperty ("end_user_conditions" )
36
+ private List <EndUserCondition > endUserConditions ;
35
37
36
38
public String getName () {
37
39
return name ;
@@ -105,4 +107,67 @@ public Long getId() {
105
107
public void setId (Long id ) {
106
108
this .id = id ;
107
109
}
110
+
111
+ public List <EndUserCondition > getEndUserConditions () {
112
+ return endUserConditions ;
113
+ }
114
+
115
+ public void setEndUserConditions (List <EndUserCondition > endUserConditions ) {
116
+ this .endUserConditions = endUserConditions ;
117
+ }
118
+
119
+ public static class EndUserCondition implements Serializable {
120
+ private static final long serialVersionUID = 1L ;
121
+ @ JsonProperty ("parent_field_id" )
122
+ private String parentFieldId ;
123
+ private String value ;
124
+ @ JsonProperty ("child_fields" )
125
+ private List <ChildField > childFields ;
126
+
127
+ public String getParentFieldId () {
128
+ return parentFieldId ;
129
+ }
130
+
131
+ public void setParentFieldId (String parentFieldId ) {
132
+ this .parentFieldId = parentFieldId ;
133
+ }
134
+
135
+ public String getValue () {
136
+ return value ;
137
+ }
138
+
139
+ public void setValue (String value ) {
140
+ this .value = value ;
141
+ }
142
+
143
+ public List <ChildField > getChildFields () {
144
+ return childFields ;
145
+ }
146
+
147
+ public void setChildFields (List <ChildField > childFields ) {
148
+ this .childFields = childFields ;
149
+ }
150
+ }
151
+
152
+ public static class ChildField implements Serializable {
153
+ private static final long serialVersionUID = 1L ;
154
+ private String id ;
155
+ private boolean isRequired ;
156
+
157
+ public String getId () {
158
+ return id ;
159
+ }
160
+
161
+ public void setId (String id ) {
162
+ this .id = id ;
163
+ }
164
+
165
+ public boolean isRequired () {
166
+ return isRequired ;
167
+ }
168
+
169
+ public void setRequired (boolean required ) {
170
+ isRequired = required ;
171
+ }
172
+ }
108
173
}
0 commit comments