First part of onap rename
[appc.git] / appc-adapters / appc-iaas-adapter / appc-iaas-adapter-bundle / src / main / java / org / openecomp / appc / adapter / openstack / heat / model / Volume.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({"type", "properties"})
37 public class Volume {
38
39     @JsonProperty("type")
40     private String type;
41     @JsonProperty("properties")
42     @Valid
43     private Properties properties;
44
45     /**
46      * 
47      * @return The type
48      */
49     @JsonProperty("type")
50     public String getType() {
51         return type;
52     }
53
54     /**
55      * 
56      * @param type The type
57      */
58     @JsonProperty("type")
59     public void setType(String type) {
60         this.type = type;
61     }
62
63     /**
64      * 
65      * @return The properties
66      */
67     @JsonProperty("properties")
68     public Properties getProperties() {
69         return properties;
70     }
71
72     /**
73      * 
74      * @param properties The properties
75      */
76     @JsonProperty("properties")
77     public void setProperties(Properties properties) {
78         this.properties = properties;
79     }
80
81     @Override
82     public String toString() {
83         return ToStringBuilder.reflectionToString(this);
84     }
85
86 }