Initial OpenECOMP APPC commit
[appc.git] / app-c / appc / 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  * openECOMP : APP-C
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights
6  *                                              reserved.
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  */
21
22 package org.openecomp.appc.adapter.openstack.heat.model;
23
24 import javax.annotation.Generated;
25 import javax.validation.Valid;
26 import com.fasterxml.jackson.annotation.JsonInclude;
27 import com.fasterxml.jackson.annotation.JsonProperty;
28 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
29 import org.apache.commons.lang.builder.ToStringBuilder;
30
31 @JsonInclude(JsonInclude.Include.NON_NULL)
32 @Generated("org.jsonschema2pojo")
33 @JsonPropertyOrder({
34     "status",
35     "name",
36     "resource_data",
37     "resource_id",
38     "action",
39     "type",
40     "metadata"
41 })
42 public class Volume_ {
43
44     @JsonProperty("status")
45     private String status;
46     @JsonProperty("name")
47     private String name;
48     @JsonProperty("resource_data")
49     @Valid
50     private ResourceData resourceData;
51     @JsonProperty("resource_id")
52     private String resourceId;
53     @JsonProperty("action")
54     private String action;
55     @JsonProperty("type")
56     private String type;
57     @JsonProperty("metadata")
58     @Valid
59     private Metadata metadata;
60
61     /**
62      * 
63      * @return
64      *     The status
65      */
66     @JsonProperty("status")
67     public String getStatus() {
68         return status;
69     }
70
71     /**
72      * 
73      * @param status
74      *     The status
75      */
76     @JsonProperty("status")
77     public void setStatus(String status) {
78         this.status = status;
79     }
80
81     /**
82      * 
83      * @return
84      *     The name
85      */
86     @JsonProperty("name")
87     public String getName() {
88         return name;
89     }
90
91     /**
92      * 
93      * @param name
94      *     The name
95      */
96     @JsonProperty("name")
97     public void setName(String name) {
98         this.name = name;
99     }
100
101     /**
102      * 
103      * @return
104      *     The resourceData
105      */
106     @JsonProperty("resource_data")
107     public ResourceData getResourceData() {
108         return resourceData;
109     }
110
111     /**
112      * 
113      * @param resourceData
114      *     The resource_data
115      */
116     @JsonProperty("resource_data")
117     public void setResourceData(ResourceData resourceData) {
118         this.resourceData = resourceData;
119     }
120
121     /**
122      * 
123      * @return
124      *     The resourceId
125      */
126     @JsonProperty("resource_id")
127     public String getResourceId() {
128         return resourceId;
129     }
130
131     /**
132      * 
133      * @param resourceId
134      *     The resource_id
135      */
136     @JsonProperty("resource_id")
137     public void setResourceId(String resourceId) {
138         this.resourceId = resourceId;
139     }
140
141     /**
142      * 
143      * @return
144      *     The action
145      */
146     @JsonProperty("action")
147     public String getAction() {
148         return action;
149     }
150
151     /**
152      * 
153      * @param action
154      *     The action
155      */
156     @JsonProperty("action")
157     public void setAction(String action) {
158         this.action = action;
159     }
160
161     /**
162      * 
163      * @return
164      *     The type
165      */
166     @JsonProperty("type")
167     public String getType() {
168         return type;
169     }
170
171     /**
172      * 
173      * @param type
174      *     The type
175      */
176     @JsonProperty("type")
177     public void setType(String type) {
178         this.type = type;
179     }
180
181     /**
182      * 
183      * @return
184      *     The metadata
185      */
186     @JsonProperty("metadata")
187     public Metadata getMetadata() {
188         return metadata;
189     }
190
191     /**
192      * 
193      * @param metadata
194      *     The metadata
195      */
196     @JsonProperty("metadata")
197     public void setMetadata(Metadata metadata) {
198         this.metadata = metadata;
199     }
200
201     @Override
202     public String toString() {
203         return ToStringBuilder.reflectionToString(this);
204     }
205
206 }