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 / Template.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     "heat_template_version",
38     "resources"
39 })
40 public class Template {
41
42     @JsonProperty("heat_template_version")
43     private String heatTemplateVersion;
44     @JsonProperty("resources")
45     @Valid
46     private Resources_ resources;
47
48     /**
49      * 
50      * @return
51      *     The heatTemplateVersion
52      */
53     @JsonProperty("heat_template_version")
54     public String getHeatTemplateVersion() {
55         return heatTemplateVersion;
56     }
57
58     /**
59      * 
60      * @param heatTemplateVersion
61      *     The heat_template_version
62      */
63     @JsonProperty("heat_template_version")
64     public void setHeatTemplateVersion(String heatTemplateVersion) {
65         this.heatTemplateVersion = heatTemplateVersion;
66     }
67
68     /**
69      * 
70      * @return
71      *     The resources
72      */
73     @JsonProperty("resources")
74     public Resources_ getResources() {
75         return resources;
76     }
77
78     /**
79      * 
80      * @param resources
81      *     The resources
82      */
83     @JsonProperty("resources")
84     public void setResources(Resources_ resources) {
85         this.resources = resources;
86     }
87
88     @Override
89     public String toString() {
90         return ToStringBuilder.reflectionToString(this);
91     }
92
93 }