2 * ============LICENSE_START=======================================================
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
12 * http://www.apache.org/licenses/LICENSE-2.0
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.
23 package org.openecomp.appc.adapter.openstack.heat.model;
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;
32 @JsonInclude(JsonInclude.Include.NON_NULL)
33 @Generated("org.jsonschema2pojo")
43 public class Volume_ {
45 @JsonProperty("status")
46 private String status;
49 @JsonProperty("resource_data")
51 private ResourceData resourceData;
52 @JsonProperty("resource_id")
53 private String resourceId;
54 @JsonProperty("action")
55 private String action;
58 @JsonProperty("metadata")
60 private Metadata metadata;
67 @JsonProperty("status")
68 public String getStatus() {
77 @JsonProperty("status")
78 public void setStatus(String status) {
88 public String getName() {
98 public void setName(String name) {
107 @JsonProperty("resource_data")
108 public ResourceData getResourceData() {
114 * @param resourceData
117 @JsonProperty("resource_data")
118 public void setResourceData(ResourceData resourceData) {
119 this.resourceData = resourceData;
127 @JsonProperty("resource_id")
128 public String getResourceId() {
137 @JsonProperty("resource_id")
138 public void setResourceId(String resourceId) {
139 this.resourceId = resourceId;
147 @JsonProperty("action")
148 public String getAction() {
157 @JsonProperty("action")
158 public void setAction(String action) {
159 this.action = action;
167 @JsonProperty("type")
168 public String getType() {
177 @JsonProperty("type")
178 public void setType(String type) {
187 @JsonProperty("metadata")
188 public Metadata getMetadata() {
197 @JsonProperty("metadata")
198 public void setMetadata(Metadata metadata) {
199 this.metadata = metadata;
203 public String toString() {
204 return ToStringBuilder.reflectionToString(this);