First part of onap rename
[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.onap.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({"status", "name", "stack_user_project_id", "environment", "template", "action", "project_id", "id",
37         "resources"})
38 public class Data {
39
40     @JsonProperty("status")
41     private String status;
42     @JsonProperty("name")
43     private String name;
44     @JsonProperty("stack_user_project_id")
45     private String stackUserProjectId;
46     @JsonProperty("environment")
47     @Valid
48     private Environment environment;
49     @JsonProperty("template")
50     @Valid
51     private Template template;
52     @JsonProperty("action")
53     private String action;
54     @JsonProperty("project_id")
55     private String projectId;
56     @JsonProperty("id")
57     private String id;
58     @JsonProperty("resources")
59     @Valid
60     private Resources__ resources;
61
62     /**
63      * 
64      * @return The status
65      */
66     @JsonProperty("status")
67     public String getStatus() {
68         return status;
69     }
70
71     /**
72      * 
73      * @param status The status
74      */
75     @JsonProperty("status")
76     public void setStatus(String status) {
77         this.status = status;
78     }
79
80     /**
81      * 
82      * @return The name
83      */
84     @JsonProperty("name")
85     public String getName() {
86         return name;
87     }
88
89     /**
90      * 
91      * @param name The name
92      */
93     @JsonProperty("name")
94     public void setName(String name) {
95         this.name = name;
96     }
97
98     /**
99      * 
100      * @return The stackUserProjectId
101      */
102     @JsonProperty("stack_user_project_id")
103     public String getStackUserProjectId() {
104         return stackUserProjectId;
105     }
106
107     /**
108      * 
109      * @param stackUserProjectId The stack_user_project_id
110      */
111     @JsonProperty("stack_user_project_id")
112     public void setStackUserProjectId(String stackUserProjectId) {
113         this.stackUserProjectId = stackUserProjectId;
114     }
115
116     /**
117      * 
118      * @return The environment
119      */
120     @JsonProperty("environment")
121     public Environment getEnvironment() {
122         return environment;
123     }
124
125     /**
126      * 
127      * @param environment The environment
128      */
129     @JsonProperty("environment")
130     public void setEnvironment(Environment environment) {
131         this.environment = environment;
132     }
133
134     /**
135      * 
136      * @return The template
137      */
138     @JsonProperty("template")
139     public Template getTemplate() {
140         return template;
141     }
142
143     /**
144      * 
145      * @param template The template
146      */
147     @JsonProperty("template")
148     public void setTemplate(Template template) {
149         this.template = template;
150     }
151
152     /**
153      * 
154      * @return The action
155      */
156     @JsonProperty("action")
157     public String getAction() {
158         return action;
159     }
160
161     /**
162      * 
163      * @param action The action
164      */
165     @JsonProperty("action")
166     public void setAction(String action) {
167         this.action = action;
168     }
169
170     /**
171      * 
172      * @return The projectId
173      */
174     @JsonProperty("project_id")
175     public String getProjectId() {
176         return projectId;
177     }
178
179     /**
180      * 
181      * @param projectId The project_id
182      */
183     @JsonProperty("project_id")
184     public void setProjectId(String projectId) {
185         this.projectId = projectId;
186     }
187
188     /**
189      * 
190      * @return The id
191      */
192     @JsonProperty("id")
193     public String getId() {
194         return id;
195     }
196
197     /**
198      * 
199      * @param id The id
200      */
201     @JsonProperty("id")
202     public void setId(String id) {
203         this.id = id;
204     }
205
206     /**
207      * 
208      * @return The resources
209      */
210     @JsonProperty("resources")
211     public Resources__ getResources() {
212         return resources;
213     }
214
215     /**
216      * 
217      * @param resources The resources
218      */
219     @JsonProperty("resources")
220     public void setResources(Resources__ resources) {
221         this.resources = resources;
222     }
223
224     @Override
225     public String toString() {
226         return ToStringBuilder.reflectionToString(this);
227     }
228
229 }