File tree Expand file tree Collapse file tree 4 files changed +90
-0
lines changed
yoti-sdk-api/src/main/java/com/yoti/api/client/docs/session/retrieve Expand file tree Collapse file tree 4 files changed +90
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
import java .util .List ;
4
4
5
+ import com .fasterxml .jackson .annotation .JsonProperty ;
6
+
5
7
public class IdDocTextExtractionTaskResponse extends TaskResponse {
6
8
9
+ @ JsonProperty ("recommendation" )
10
+ private TaskRecommendationResponse recommendation ;
11
+
12
+ /**
13
+ * The recommendation for the task
14
+ *
15
+ * @return the recommendation
16
+ */
17
+ public TaskRecommendationResponse getRecommendation () {
18
+ return recommendation ;
19
+ }
20
+
7
21
public List <GeneratedTextDataCheckResponse > getGeneratedTextDataChecks () {
8
22
return filterGeneratedChecksByType (GeneratedTextDataCheckResponse .class );
9
23
}
Original file line number Diff line number Diff line change 2
2
3
3
import java .util .List ;
4
4
5
+ import com .fasterxml .jackson .annotation .JsonProperty ;
6
+
5
7
public class SupplementaryDocumentTextExtractionTaskResponse extends TaskResponse {
6
8
9
+ @ JsonProperty ("recommendation" )
10
+ private TaskRecommendationResponse recommendation ;
11
+
12
+ /**
13
+ * The recommendation for the task
14
+ *
15
+ * @return the recommendation
16
+ */
17
+ public TaskRecommendationResponse getRecommendation () {
18
+ return recommendation ;
19
+ }
20
+
7
21
public List <GeneratedSupplementaryDocumentTextDataCheckResponse > getGeneratedTextDataChecks () {
8
22
return filterGeneratedChecksByType (GeneratedSupplementaryDocumentTextDataCheckResponse .class );
9
23
}
Original file line number Diff line number Diff line change
1
+ package com .yoti .api .client .docs .session .retrieve ;
2
+
3
+ import com .fasterxml .jackson .annotation .JsonProperty ;
4
+
5
+ public class TaskReasonResponse {
6
+
7
+ @ JsonProperty ("value" )
8
+ private String value ;
9
+
10
+ @ JsonProperty ("detail" )
11
+ private String detail ;
12
+
13
+ /**
14
+ * The reason for the recommendation
15
+ *
16
+ * @return the reason value
17
+ */
18
+ public String getValue () {
19
+ return value ;
20
+ }
21
+
22
+ /**
23
+ * The fine-grained details for the reason of the recommendation
24
+ *
25
+ * @return the details
26
+ */
27
+ public String getDetail () {
28
+ return detail ;
29
+ }
30
+
31
+ }
Original file line number Diff line number Diff line change
1
+ package com .yoti .api .client .docs .session .retrieve ;
2
+
3
+ import com .fasterxml .jackson .annotation .JsonProperty ;
4
+
5
+ public class TaskRecommendationResponse {
6
+
7
+ @ JsonProperty ("value" )
8
+ private String value ;
9
+
10
+ @ JsonProperty ("reason" )
11
+ private TaskReasonResponse reason ;
12
+
13
+ /**
14
+ * The recommendation value
15
+ *
16
+ * @return the value
17
+ */
18
+ public String getValue () {
19
+ return value ;
20
+ }
21
+
22
+ /**
23
+ * The reason for the recommendation
24
+ *
25
+ * @return the reason
26
+ */
27
+ public TaskReasonResponse getReason () {
28
+ return reason ;
29
+ }
30
+
31
+ }
You can’t perform that action at this time.
0 commit comments