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