Applying license changes to all files
[appc.git] / appc-adapters / appc-iaas-adapter / appc-iaas-adapter-bundle / src / main / java / org / openecomp / appc / adapter / openstack / heat / model / Data.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APPC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Copyright (C) 2017 Amdocs
8  * =============================================================================
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  * 
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  * 
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  * 
21  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22  * ============LICENSE_END=========================================================
23  */
24
25 package org.openecomp.appc.adapter.openstack.heat.model;
26
27 import javax.annotation.Generated;
28 import javax.validation.Valid;
29 import com.fasterxml.jackson.annotation.JsonInclude;
30 import com.fasterxml.jackson.annotation.JsonProperty;
31 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
32 import org.apache.commons.lang.builder.ToStringBuilder;
33
34 @JsonInclude(JsonInclude.Include.NON_NULL)
35 @Generated("org.jsonschema2pojo")
36 @JsonPropertyOrder({
37     "status",
38     "name",
39     "stack_user_project_id",
40     "environment",
41     "template",
42     "action",
43     "project_id",
44     "id",
45     "resources"
46 })
47 public class Data {
48
49     @JsonProperty("status")
50     private String status;
51     @JsonProperty("name")
52     private String name;
53     @JsonProperty("stack_user_project_id")
54     private String stackUserProjectId;
55     @JsonProperty("environment")
56     @Valid
57     private Environment environment;
58     @JsonProperty("template")
59     @Valid
60     private Template template;
61     @JsonProperty("action")
62     private String action;
63     @JsonProperty("project_id")
64     private String projectId;
65     @JsonProperty("id")
66     private String id;
67     @JsonProperty("resources")
68     @Valid
69     private Resources__ resources;
70
71     /**
72      * 
73      * @return
74      *     The status
75      */
76     @JsonProperty("status")
77     public String getStatus() {
78         return status;
79     }
80
81     /**
82      * 
83      * @param status
84      *     The status
85      */
86     @JsonProperty("status")
87     public void setStatus(String status) {
88         this.status = status;
89     }
90
91     /**
92      * 
93      * @return
94      *     The name
95      */
96     @JsonProperty("name")
97     public String getName() {
98         return name;
99     }
100
101     /**
102      * 
103      * @param name
104      *     The name
105      */
106     @JsonProperty("name")
107     public void setName(String name) {
108         this.name = name;
109     }
110
111     /**
112      * 
113      * @return
114      *     The stackUserProjectId
115      */
116     @JsonProperty("stack_user_project_id")
117     public String getStackUserProjectId() {
118         return stackUserProjectId;
119     }
120
121     /**
122      * 
123      * @param stackUserProjectId
124      *     The stack_user_project_id
125      */
126     @JsonProperty("stack_user_project_id")
127     public void setStackUserProjectId(String stackUserProjectId) {
128         this.stackUserProjectId = stackUserProjectId;
129     }
130
131     /**
132      * 
133      * @return
134      *     The environment
135      */
136     @JsonProperty("environment")
137     public Environment getEnvironment() {
138         return environment;
139     }
140
141     /**
142      * 
143      * @param environment
144      *     The environment
145      */
146     @JsonProperty("environment")
147     public void setEnvironment(Environment environment) {
148         this.environment = environment;
149     }
150
151     /**
152      * 
153      * @return
154      *     The template
155      */
156     @JsonProperty("template")
157     public Template getTemplate() {
158         return template;
159     }
160
161     /**
162      * 
163      * @param template
164      *     The template
165      */
166     @JsonProperty("template")
167     public void setTemplate(Template template) {
168         this.template = template;
169     }
170
171     /**
172      * 
173      * @return
174      *     The action
175      */
176     @JsonProperty("action")
177     public String getAction() {
178         return action;
179     }
180
181     /**
182      * 
183      * @param action
184      *     The action
185      */
186     @JsonProperty("action")
187     public void setAction(String action) {
188         this.action = action;
189     }
190
191     /**
192      * 
193      * @return
194      *     The projectId
195      */
196     @JsonProperty("project_id")
197     public String getProjectId() {
198         return projectId;
199     }
200
201     /**
202      * 
203      * @param projectId
204      *     The project_id
205      */
206     @JsonProperty("project_id")
207     public void setProjectId(String projectId) {
208         this.projectId = projectId;
209     }
210
211     /**
212      * 
213      * @return
214      *     The id
215      */
216     @JsonProperty("id")
217     public String getId() {
218         return id;
219     }
220
221     /**
222      * 
223      * @param id
224      *     The id
225      */
226     @JsonProperty("id")
227     public void setId(String id) {
228         this.id = id;
229     }
230
231     /**
232      * 
233      * @return
234      *     The resources
235      */
236     @JsonProperty("resources")
237     public Resources__ getResources() {
238         return resources;
239     }
240
241     /**
242      * 
243      * @param resources
244      *     The resources
245      */
246     @JsonProperty("resources")
247     public void setResources(Resources__ resources) {
248         this.resources = resources;
249     }
250
251     @Override
252     public String toString() {
253         return ToStringBuilder.reflectionToString(this);
254     }
255
256 }