Open Kilda Java Documentation
RequestData.java
Go to the documentation of this file.
1
/* Copyright 2017 Telstra Open Source
2
*
3
* Licensed under the Apache License, Version 2.0 (the "License");
4
* you may not use this file except in compliance with the License.
5
* You may obtain a copy of the License at
6
*
7
* http://www.apache.org/licenses/LICENSE-2.0
8
*
9
* Unless required by applicable law or agreed to in writing, software
10
* distributed under the License is distributed on an "AS IS" BASIS,
11
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
* See the License for the specific language governing permissions and
13
* limitations under the License.
14
*/
15
16
package
org.openkilda.messaging.ctrl;
17
18
import
org
.
openkilda
.
messaging
.
BaseMessage
;
19
20
import
com.fasterxml.jackson.annotation.*;
21
import
com.fasterxml.jackson.databind.annotation.JsonSerialize;
22
23
import
java.io.Serializable;
24
import
java.util.List;
25
29
@JsonSerialize
30
@JsonInclude(JsonInclude.Include.NON_NULL)
31
public class
RequestData
extends
BaseMessage
{
35
private
static
final
long
serialVersionUID = 1L;
36
40
@JsonProperty(
"action"
)
41
private
final
String action;
42
49
@JsonCreator
50
public
RequestData
(
51
@JsonProperty(
"action"
)
final
String action) {
52
this.action = action;
53
}
54
55
public
String
getAction
() {
56
return
action;
57
}
58
}
org.openkilda.messaging
Definition:
BaseMessage.java:16
org.openkilda.messaging.ctrl.RequestData.getAction
String getAction()
Definition:
RequestData.java:55
org.openkilda.messaging.BaseMessage
Definition:
BaseMessage.java:44
org
org.openkilda.messaging.ctrl.RequestData.RequestData
RequestData( @JsonProperty("action") final String action)
Definition:
RequestData.java:50
org.openkilda.messaging.ctrl.RequestData
Definition:
RequestData.java:31
org.openkilda
open-kilda-develop
services
src
messaging
src
main
java
org
openkilda
messaging
ctrl
RequestData.java
Generated by
1.8.14