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