Second part of onap rename
[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 : APP-C
4  * ================================================================================
5  * Copyright (C) 2017 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  * ============LICENSE_END=========================================================
19  */
20
21 //
22 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 
23 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
24 // Any modifications to this file will be lost upon recompilation of the source schema. 
25 // Generated on: 2017.07.31 at 10:30:39 AM EDT 
26 //
27
28
29 package org.onap.appc.flow.controller.interfaceData;
30
31 import javax.xml.bind.annotation.XmlAccessType;
32 import javax.xml.bind.annotation.XmlAccessorType;
33 import javax.xml.bind.annotation.XmlElement;
34 import javax.xml.bind.annotation.XmlRootElement;
35 import javax.xml.bind.annotation.XmlType;
36
37 import com.fasterxml.jackson.annotation.JsonProperty;
38
39
40 @XmlAccessorType(XmlAccessType.FIELD)
41 @XmlType(name = "", propOrder = {
42     "action",
43     "actionLevel",
44     "actionIdentifier",
45     "payload"
46 })
47 @XmlRootElement(name = "request-info")
48 public class RequestInfo {
49
50     @XmlElement(required = true)
51     protected String action;
52     @XmlElement(name = "action-level", required = true)
53     @JsonProperty("action-level")
54     protected String actionLevel;
55     @XmlElement(name = "action-identifier", required = true)
56     @JsonProperty("action-identifier")
57     protected ActionIdentifier actionIdentifier;
58     @XmlElement(required = true)
59     protected String payload;
60
61     /**
62      * Gets the value of the action property.
63      * 
64      * @return
65      *     possible object is
66      *     {@link String }
67      *     
68      */
69     public String getAction() {
70         return action;
71     }
72
73     /**
74      * Sets the value of the action property.
75      * 
76      * @param value
77      *     allowed object is
78      *     {@link String }
79      *     
80      */
81     public void setAction(String value) {
82         this.action = value;
83     }
84
85     /**
86      * Gets the value of the actionLevel property.
87      * 
88      * @return
89      *     possible object is
90      *     {@link String }
91      *     
92      */
93     public String getActionLevel() {
94         return actionLevel;
95     }
96
97     /**
98      * Sets the value of the actionLevel property.
99      * 
100      * @param value
101      *     allowed object is
102      *     {@link String }
103      *     
104      */
105     public void setActionLevel(String value) {
106         this.actionLevel = value;
107     }
108
109     /**
110      * Gets the value of the actionIdentifier property.
111      * 
112      * @return
113      *     possible object is
114      *     {@link ActionIdentifier }
115      *     
116      */
117     public ActionIdentifier getActionIdentifier() {
118         return actionIdentifier;
119     }
120
121     /**
122      * Sets the value of the actionIdentifier property.
123      * 
124      * @param value
125      *     allowed object is
126      *     {@link ActionIdentifier }
127      *     
128      */
129     public void setActionIdentifier(ActionIdentifier value) {
130         this.actionIdentifier = value;
131     }
132
133     /**
134      * Gets the value of the payload property.
135      * 
136      * @return
137      *     possible object is
138      *     {@link String }
139      *     
140      */
141     public String getPayload() {
142         return payload;
143     }
144
145     /**
146      * Sets the value of the payload property.
147      * 
148      * @param value
149      *     allowed object is
150      *     {@link String }
151      *     
152      */
153     public void setPayload(String value) {
154         this.payload = value;
155     }
156
157     @Override
158     public String toString() {
159         return "RequestInfo [action=" + action + ", actionLevel=" + actionLevel
160                 + ", actionIdentifier=" + actionIdentifier + ", payload="
161                 + payload + "]";
162     }
163
164 }