639a5bdb892d7ff9a0232f5fce6cca400cd10537
[appc.git] /
1 /*-
2  * ============LICENSE_START=======================================================
3  * APPC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * Copyright (C) 2017 Amdocs
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  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
21  */
22
23 package org.openecomp.appc.adapter.openstack.heat.model;
24
25 import javax.annotation.Generated;
26 import javax.validation.Valid;
27 import com.fasterxml.jackson.annotation.JsonInclude;
28 import com.fasterxml.jackson.annotation.JsonProperty;
29 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
30 import org.apache.commons.lang.builder.ToStringBuilder;
31
32 @JsonInclude(JsonInclude.Include.NON_NULL)
33 @Generated("org.jsonschema2pojo")
34 @JsonPropertyOrder({
35     "status",
36     "name",
37     "stack_user_project_id",
38     "environment",
39     "template",
40     "action",
41     "project_id",
42     "id",
43     "resources"
44 })
45 public class Data {
46
47     @JsonProperty("status")
48     private String status;
49     @JsonProperty("name")
50     private String name;
51     @JsonProperty("stack_user_project_id")
52     private String stackUserProjectId;
53     @JsonProperty("environment")
54     @Valid
55     private Environment environment;
56     @JsonProperty("template")
57     @Valid
58     private Template template;
59     @JsonProperty("action")
60     private String action;
61     @JsonProperty("project_id")
62     private String projectId;
63     @JsonProperty("id")
64     private String id;
65     @JsonProperty("resources")
66     @Valid
67     private Resources__ resources;
68
69     /**
70      * 
71      * @return
72      *     The status
73      */
74     @JsonProperty("status")
75     public String getStatus() {
76         return status;
77     }
78
79     /**
80      * 
81      * @param status
82      *     The status
83      */
84     @JsonProperty("status")
85     public void setStatus(String status) {
86         this.status = status;
87     }
88
89     /**
90      * 
91      * @return
92      *     The name
93      */
94     @JsonProperty("name")
95     public String getName() {
96         return name;
97     }
98
99     /**
100      * 
101      * @param name
102      *     The name
103      */
104     @JsonProperty("name")
105     public void setName(String name) {
106         this.name = name;
107     }
108
109     /**
110      * 
111      * @return
112      *     The stackUserProjectId
113      */
114     @JsonProperty("stack_user_project_id")
115     public String getStackUserProjectId() {
116         return stackUserProjectId;
117     }
118
119     /**
120      * 
121      * @param stackUserProjectId
122      *     The stack_user_project_id
123      */
124     @JsonProperty("stack_user_project_id")
125     public void setStackUserProjectId(String stackUserProjectId) {
126         this.stackUserProjectId = stackUserProjectId;
127     }
128
129     /**
130      * 
131      * @return
132      *     The environment
133      */
134     @JsonProperty("environment")
135     public Environment getEnvironment() {
136         return environment;
137     }
138
139     /**
140      * 
141      * @param environment
142      *     The environment
143      */
144     @JsonProperty("environment")
145     public void setEnvironment(Environment environment) {
146         this.environment = environment;
147     }
148
149     /**
150      * 
151      * @return
152      *     The template
153      */
154     @JsonProperty("template")
155     public Template getTemplate() {
156         return template;
157     }
158
159     /**
160      * 
161      * @param template
162      *     The template
163      */
164     @JsonProperty("template")
165     public void setTemplate(Template template) {
166         this.template = template;
167     }
168
169     /**
170      * 
171      * @return
172      *     The action
173      */
174     @JsonProperty("action")
175     public String getAction() {
176         return action;
177     }
178
179     /**
180      * 
181      * @param action
182      *     The action
183      */
184     @JsonProperty("action")
185     public void setAction(String action) {
186         this.action = action;
187     }
188
189     /**
190      * 
191      * @return
192      *     The projectId
193      */
194     @JsonProperty("project_id")
195     public String getProjectId() {
196         return projectId;
197     }
198
199     /**
200      * 
201      * @param projectId
202      *     The project_id
203      */
204     @JsonProperty("project_id")
205     public void setProjectId(String projectId) {
206         this.projectId = projectId;
207     }
208
209     /**
210      * 
211      * @return
212      *     The id
213      */
214     @JsonProperty("id")
215     public String getId() {
216         return id;
217     }
218
219     /**
220      * 
221      * @param id
222      *     The id
223      */
224     @JsonProperty("id")
225     public void setId(String id) {
226         this.id = id;
227     }
228
229     /**
230      * 
231      * @return
232      *     The resources
233      */
234     @JsonProperty("resources")
235     public Resources__ getResources() {
236         return resources;
237     }
238
239     /**
240      * 
241      * @param resources
242      *     The resources
243      */
244     @JsonProperty("resources")
245     public void setResources(Resources__ resources) {
246         this.resources = resources;
247     }
248
249     @Override
250     public String toString() {
251         return ToStringBuilder.reflectionToString(this);
252     }
253
254 }