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 / 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.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     "status",
38     "name",
39     "resource_data",
40     "resource_id",
41     "action",
42     "type",
43     "metadata"
44 })
45 public class Volume_ {
46
47     @JsonProperty("status")
48     private String status;
49     @JsonProperty("name")
50     private String name;
51     @JsonProperty("resource_data")
52     @Valid
53     private ResourceData resourceData;
54     @JsonProperty("resource_id")
55     private String resourceId;
56     @JsonProperty("action")
57     private String action;
58     @JsonProperty("type")
59     private String type;
60     @JsonProperty("metadata")
61     @Valid
62     private Metadata metadata;
63
64     /**
65      * 
66      * @return
67      *     The status
68      */
69     @JsonProperty("status")
70     public String getStatus() {
71         return status;
72     }
73
74     /**
75      * 
76      * @param status
77      *     The status
78      */
79     @JsonProperty("status")
80     public void setStatus(String status) {
81         this.status = status;
82     }
83
84     /**
85      * 
86      * @return
87      *     The name
88      */
89     @JsonProperty("name")
90     public String getName() {
91         return name;
92     }
93
94     /**
95      * 
96      * @param name
97      *     The name
98      */
99     @JsonProperty("name")
100     public void setName(String name) {
101         this.name = name;
102     }
103
104     /**
105      * 
106      * @return
107      *     The resourceData
108      */
109     @JsonProperty("resource_data")
110     public ResourceData getResourceData() {
111         return resourceData;
112     }
113
114     /**
115      * 
116      * @param resourceData
117      *     The resource_data
118      */
119     @JsonProperty("resource_data")
120     public void setResourceData(ResourceData resourceData) {
121         this.resourceData = resourceData;
122     }
123
124     /**
125      * 
126      * @return
127      *     The resourceId
128      */
129     @JsonProperty("resource_id")
130     public String getResourceId() {
131         return resourceId;
132     }
133
134     /**
135      * 
136      * @param resourceId
137      *     The resource_id
138      */
139     @JsonProperty("resource_id")
140     public void setResourceId(String resourceId) {
141         this.resourceId = resourceId;
142     }
143
144     /**
145      * 
146      * @return
147      *     The action
148      */
149     @JsonProperty("action")
150     public String getAction() {
151         return action;
152     }
153
154     /**
155      * 
156      * @param action
157      *     The action
158      */
159     @JsonProperty("action")
160     public void setAction(String action) {
161         this.action = action;
162     }
163
164     /**
165      * 
166      * @return
167      *     The type
168      */
169     @JsonProperty("type")
170     public String getType() {
171         return type;
172     }
173
174     /**
175      * 
176      * @param type
177      *     The type
178      */
179     @JsonProperty("type")
180     public void setType(String type) {
181         this.type = type;
182     }
183
184     /**
185      * 
186      * @return
187      *     The metadata
188      */
189     @JsonProperty("metadata")
190     public Metadata getMetadata() {
191         return metadata;
192     }
193
194     /**
195      * 
196      * @param metadata
197      *     The metadata
198      */
199     @JsonProperty("metadata")
200     public void setMetadata(Metadata metadata) {
201         this.metadata = metadata;
202     }
203
204     @Override
205     public String toString() {
206         return ToStringBuilder.reflectionToString(this);
207     }
208
209 }