Convert tabs to spaces
[ccsdk/sli/adaptors.git] / aai-service / provider / src / main / java / org / onap / sli / adaptors / aai / update / Action.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * openECOMP : SDN-C
4  * ================================================================================
5  * Copyright (C) 2017 ONAP Intellectual Property. All rights
6  *                                              reserved.
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  * 
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  * 
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  */
21
22 package org.onap.ccsdk.sli.adaptors.aai.update;
23
24 import java.util.ArrayList;
25 import java.util.HashMap;
26 import java.util.List;
27 import java.util.Map;
28 import javax.annotation.Generated;
29 import com.fasterxml.jackson.annotation.JsonAnyGetter;
30 import com.fasterxml.jackson.annotation.JsonAnySetter;
31 import com.fasterxml.jackson.annotation.JsonIgnore;
32 import com.fasterxml.jackson.annotation.JsonInclude;
33 import com.fasterxml.jackson.annotation.JsonProperty;
34 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
35
36 @JsonInclude(JsonInclude.Include.NON_NULL)
37 @Generated("org.jsonschema2pojo")
38 @JsonPropertyOrder({
39     "action-data",
40     "action-type"
41 })
42 public class Action {
43
44     @JsonProperty("action-data")
45     private List<ActionDatum> actionData = new ArrayList<ActionDatum>();
46     @JsonProperty("action-type")
47     private String actionType;
48     @JsonIgnore
49     private Map<String, Object> additionalProperties = new HashMap<String, Object>();
50
51     /**
52      * 
53      * @return
54      *     The actionData
55      */
56     @JsonProperty("action-data")
57     public List<ActionDatum> getActionData() {
58         return actionData;
59     }
60
61     /**
62      * 
63      * @param actionData
64      *     The action-data
65      */
66     @JsonProperty("action-data")
67     public void setActionData(List<ActionDatum> actionData) {
68         this.actionData = actionData;
69     }
70
71     /**
72      * 
73      * @return
74      *     The actionType
75      */
76     @JsonProperty("action-type")
77     public String getActionType() {
78         return actionType;
79     }
80
81     /**
82      * 
83      * @param actionType
84      *     The action-type
85      */
86     @JsonProperty("action-type")
87     public void setActionType(String actionType) {
88         this.actionType = actionType;
89     }
90
91     @JsonAnyGetter
92     public Map<String, Object> getAdditionalProperties() {
93         return this.additionalProperties;
94     }
95
96     @JsonAnySetter
97     public void setAdditionalProperty(String name, Object value) {
98         this.additionalProperties.put(name, value);
99     }
100
101 }