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