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