Update sli-adaptor/aai-service package names
[ccsdk/sli/adaptors.git] / aai-service / provider / src / main / java / org / onap / ccsdk / sli / adaptors / aai / update / Update.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     "update-node-type",
40     "update-node-key",
41     "action"
42 })
43 public class Update {
44
45     @JsonProperty("update-node-type")
46     private String updateNodeType;
47     @JsonProperty("action")
48     private List<Action> action = new ArrayList<Action>();
49     @JsonProperty("update-node-key")
50     private List<UpdateNodeKey> updateNodeKey = new ArrayList<UpdateNodeKey>();
51     @JsonIgnore
52     private Map<String, Object> additionalProperties = new HashMap<String, Object>();
53
54     /**
55      * 
56      * @return
57      *     The updateNodeType
58      */
59     @JsonProperty("update-node-type")
60     public String getUpdateNodeType() {
61         return updateNodeType;
62     }
63
64     /**
65      * 
66      * @param updateNodeType
67      *     The update-node-type
68      */
69     @JsonProperty("update-node-type")
70     public void setUpdateNodeType(String updateNodeType) {
71         this.updateNodeType = updateNodeType;
72     }
73
74     /**
75      * 
76      * @return
77      *     The action
78      */
79     @JsonProperty("action")
80     public List<Action> getAction() {
81         return action;
82     }
83
84     /**
85      * 
86      * @param action
87      *     The action
88      */
89     @JsonProperty("action")
90     public void setAction(List<Action> action) {
91         this.action = action;
92     }
93
94     /**
95      * 
96      * @return
97      *     The updateNodeKey
98      */
99     @JsonProperty("update-node-key")
100     public List<UpdateNodeKey> getUpdateNodeKey() {
101         return updateNodeKey;
102     }
103
104     /**
105      * 
106      * @param updateNodeKey
107      *     The update-node-key
108      */
109     @JsonProperty("update-node-key")
110     public void setUpdateNodeKey(List<UpdateNodeKey> updateNodeKey) {
111         this.updateNodeKey = updateNodeKey;
112     }
113
114     @JsonAnyGetter
115     public Map<String, Object> getAdditionalProperties() {
116         return this.additionalProperties;
117     }
118
119     @JsonAnySetter
120     public void setAdditionalProperty(String name, Object value) {
121         this.additionalProperties.put(name, value);
122     }
123
124 }