-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
Action.java
86 lines (75 loc) · 2.11 KB
/
Action.java
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.cognitiveservices.search.autosuggest.models;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonSubTypes;
/**
* The Action model.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "_type", defaultImpl = Action.class)
@JsonTypeName("Action")
@JsonSubTypes({
@JsonSubTypes.Type(name = "SearchAction", value = SearchAction.class)
})
public class Action extends CreativeWork {
/**
* The result property.
*/
@JsonProperty(value = "result", access = JsonProperty.Access.WRITE_ONLY)
private List<Thing> result;
/**
* The displayName property.
*/
@JsonProperty(value = "displayName", access = JsonProperty.Access.WRITE_ONLY)
private String displayName;
/**
* The isTopAction property.
*/
@JsonProperty(value = "isTopAction", access = JsonProperty.Access.WRITE_ONLY)
private Boolean isTopAction;
/**
* The serviceUrl property.
*/
@JsonProperty(value = "serviceUrl", access = JsonProperty.Access.WRITE_ONLY)
private String serviceUrl;
/**
* Get the result value.
*
* @return the result value
*/
public List<Thing> result() {
return this.result;
}
/**
* Get the displayName value.
*
* @return the displayName value
*/
public String displayName() {
return this.displayName;
}
/**
* Get the isTopAction value.
*
* @return the isTopAction value
*/
public Boolean isTopAction() {
return this.isTopAction;
}
/**
* Get the serviceUrl value.
*
* @return the serviceUrl value
*/
public String serviceUrl() {
return this.serviceUrl;
}
}