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