Update license header in appc-flow-controller file
[appc.git] / appc-config / appc-flow-controller / provider / src / main / java / org / onap / appc / flow / controller / interfaceData / RequestInfo.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APPC
4  * ================================================================================
5  * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
6  * =============================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  * ============LICENSE_END=========================================================
20  */
21
22 //
23 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
24 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
25 // Any modifications to this file will be lost upon recompilation of the source schema.
26 // Generated on: 2017.07.31 at 10:30:39 AM EDT
27 //
28
29
30 package org.onap.appc.flow.controller.interfaceData;
31
32 import javax.xml.bind.annotation.XmlAccessType;
33 import javax.xml.bind.annotation.XmlAccessorType;
34 import javax.xml.bind.annotation.XmlElement;
35 import javax.xml.bind.annotation.XmlRootElement;
36 import javax.xml.bind.annotation.XmlType;
37
38 import com.fasterxml.jackson.annotation.JsonProperty;
39
40
41 @XmlAccessorType(XmlAccessType.FIELD)
42 @XmlType(name = "", propOrder = {
43     "action",
44     "actionLevel",
45     "actionIdentifier",
46     "payload"
47 })
48 @XmlRootElement(name = "request-info")
49 public class RequestInfo {
50
51     @XmlElement(required = true)
52     protected String action;
53     @XmlElement(name = "action-level", required = true)
54     @JsonProperty("action-level")
55     protected String actionLevel;
56     @XmlElement(name = "action-identifier", required = true)
57     @JsonProperty("action-identifier")
58     protected ActionIdentifier actionIdentifier;
59     @XmlElement(required = true)
60     protected String payload;
61
62     /**
63      * Gets the value of the action property.
64      *
65      * @return
66      *     possible object is
67      *     {@link String }
68      *
69      */
70     public String getAction() {
71         return action;
72     }
73
74     /**
75      * Sets the value of the action property.
76      *
77      * @param value
78      *     allowed object is
79      *     {@link String }
80      *
81      */
82     public void setAction(String value) {
83         this.action = value;
84     }
85
86     /**
87      * Gets the value of the actionLevel property.
88      *
89      * @return
90      *     possible object is
91      *     {@link String }
92      *
93      */
94     public String getActionLevel() {
95         return actionLevel;
96     }
97
98     /**
99      * Sets the value of the actionLevel property.
100      *
101      * @param value
102      *     allowed object is
103      *     {@link String }
104      *
105      */
106     public void setActionLevel(String value) {
107         this.actionLevel = value;
108     }
109
110     /**
111      * Gets the value of the actionIdentifier property.
112      *
113      * @return
114      *     possible object is
115      *     {@link ActionIdentifier }
116      *
117      */
118     public ActionIdentifier getActionIdentifier() {
119         return actionIdentifier;
120     }
121
122     /**
123      * Sets the value of the actionIdentifier property.
124      *
125      * @param value
126      *     allowed object is
127      *     {@link ActionIdentifier }
128      *
129      */
130     public void setActionIdentifier(ActionIdentifier value) {
131         this.actionIdentifier = value;
132     }
133
134     /**
135      * Gets the value of the payload property.
136      *
137      * @return
138      *     possible object is
139      *     {@link String }
140      *
141      */
142     public String getPayload() {
143         return payload;
144     }
145
146     /**
147      * Sets the value of the payload property.
148      *
149      * @param value
150      *     allowed object is
151      *     {@link String }
152      *
153      */
154     public void setPayload(String value) {
155         this.payload = value;
156     }
157
158     @Override
159     public String toString() {
160         return "RequestInfo [action=" + action + ", actionLevel=" + actionLevel
161                 + ", actionIdentifier=" + actionIdentifier + ", payload="
162                 + payload + "]";
163     }
164
165 }