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