Changed to unmaintained
[appc.git] / appc-adapters / appc-iaas-adapter / appc-iaas-adapter-bundle / src / main / java / org / onap / appc / adapter / openstack / heat / model / Template.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({"heat_template_version", "resources"})
36 public class Template {
37
38     @JsonProperty("heat_template_version")
39     private String heatTemplateVersion;
40     @JsonProperty("resources")
41     @Valid
42     private Resources_ resources;
43
44     /**
45      * 
46      * @return The heatTemplateVersion
47      */
48     @JsonProperty("heat_template_version")
49     public String getHeatTemplateVersion() {
50         return heatTemplateVersion;
51     }
52
53     /**
54      * 
55      * @param heatTemplateVersion The heat_template_version
56      */
57     @JsonProperty("heat_template_version")
58     public void setHeatTemplateVersion(String heatTemplateVersion) {
59         this.heatTemplateVersion = heatTemplateVersion;
60     }
61
62     /**
63      * 
64      * @return The resources
65      */
66     @JsonProperty("resources")
67     public Resources_ getResources() {
68         return resources;
69     }
70
71     /**
72      * 
73      * @param resources The resources
74      */
75     @JsonProperty("resources")
76     public void setResources(Resources_ resources) {
77         this.resources = resources;
78     }
79
80     @Override
81     public String toString() {
82         return ToStringBuilder.reflectionToString(this);
83     }
84
85 }