Updating licenses in 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  * APPC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * Copyright (C) 2017 Amdocs
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  * 
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  * 
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
21  */
22
23 package org.openecomp.appc.adapter.openstack.heat.model;
24
25 import javax.annotation.Generated;
26 import javax.validation.Valid;
27 import com.fasterxml.jackson.annotation.JsonInclude;
28 import com.fasterxml.jackson.annotation.JsonProperty;
29 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
30 import org.apache.commons.lang.builder.ToStringBuilder;
31
32 @JsonInclude(JsonInclude.Include.NON_NULL)
33 @Generated("org.jsonschema2pojo")
34 @JsonPropertyOrder({
35     "status",
36     "name",
37     "resource_data",
38     "resource_id",
39     "action",
40     "type",
41     "metadata"
42 })
43 public class Volume_ {
44
45     @JsonProperty("status")
46     private String status;
47     @JsonProperty("name")
48     private String name;
49     @JsonProperty("resource_data")
50     @Valid
51     private ResourceData resourceData;
52     @JsonProperty("resource_id")
53     private String resourceId;
54     @JsonProperty("action")
55     private String action;
56     @JsonProperty("type")
57     private String type;
58     @JsonProperty("metadata")
59     @Valid
60     private Metadata metadata;
61
62     /**
63      * 
64      * @return
65      *     The status
66      */
67     @JsonProperty("status")
68     public String getStatus() {
69         return status;
70     }
71
72     /**
73      * 
74      * @param status
75      *     The status
76      */
77     @JsonProperty("status")
78     public void setStatus(String status) {
79         this.status = status;
80     }
81
82     /**
83      * 
84      * @return
85      *     The name
86      */
87     @JsonProperty("name")
88     public String getName() {
89         return name;
90     }
91
92     /**
93      * 
94      * @param name
95      *     The name
96      */
97     @JsonProperty("name")
98     public void setName(String name) {
99         this.name = name;
100     }
101
102     /**
103      * 
104      * @return
105      *     The resourceData
106      */
107     @JsonProperty("resource_data")
108     public ResourceData getResourceData() {
109         return resourceData;
110     }
111
112     /**
113      * 
114      * @param resourceData
115      *     The resource_data
116      */
117     @JsonProperty("resource_data")
118     public void setResourceData(ResourceData resourceData) {
119         this.resourceData = resourceData;
120     }
121
122     /**
123      * 
124      * @return
125      *     The resourceId
126      */
127     @JsonProperty("resource_id")
128     public String getResourceId() {
129         return resourceId;
130     }
131
132     /**
133      * 
134      * @param resourceId
135      *     The resource_id
136      */
137     @JsonProperty("resource_id")
138     public void setResourceId(String resourceId) {
139         this.resourceId = resourceId;
140     }
141
142     /**
143      * 
144      * @return
145      *     The action
146      */
147     @JsonProperty("action")
148     public String getAction() {
149         return action;
150     }
151
152     /**
153      * 
154      * @param action
155      *     The action
156      */
157     @JsonProperty("action")
158     public void setAction(String action) {
159         this.action = action;
160     }
161
162     /**
163      * 
164      * @return
165      *     The type
166      */
167     @JsonProperty("type")
168     public String getType() {
169         return type;
170     }
171
172     /**
173      * 
174      * @param type
175      *     The type
176      */
177     @JsonProperty("type")
178     public void setType(String type) {
179         this.type = type;
180     }
181
182     /**
183      * 
184      * @return
185      *     The metadata
186      */
187     @JsonProperty("metadata")
188     public Metadata getMetadata() {
189         return metadata;
190     }
191
192     /**
193      * 
194      * @param metadata
195      *     The metadata
196      */
197     @JsonProperty("metadata")
198     public void setMetadata(Metadata metadata) {
199         this.metadata = metadata;
200     }
201
202     @Override
203     public String toString() {
204         return ToStringBuilder.reflectionToString(this);
205     }
206
207 }