2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights
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=========================================================
22 package org.openecomp.appc.adapter.openstack.heat.model;
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;
31 @JsonInclude(JsonInclude.Include.NON_NULL)
32 @Generated("org.jsonschema2pojo")
42 public class Volume_ {
44 @JsonProperty("status")
45 private String status;
48 @JsonProperty("resource_data")
50 private ResourceData resourceData;
51 @JsonProperty("resource_id")
52 private String resourceId;
53 @JsonProperty("action")
54 private String action;
57 @JsonProperty("metadata")
59 private Metadata metadata;
66 @JsonProperty("status")
67 public String getStatus() {
76 @JsonProperty("status")
77 public void setStatus(String status) {
87 public String getName() {
97 public void setName(String name) {
106 @JsonProperty("resource_data")
107 public ResourceData getResourceData() {
113 * @param resourceData
116 @JsonProperty("resource_data")
117 public void setResourceData(ResourceData resourceData) {
118 this.resourceData = resourceData;
126 @JsonProperty("resource_id")
127 public String getResourceId() {
136 @JsonProperty("resource_id")
137 public void setResourceId(String resourceId) {
138 this.resourceId = resourceId;
146 @JsonProperty("action")
147 public String getAction() {
156 @JsonProperty("action")
157 public void setAction(String action) {
158 this.action = action;
166 @JsonProperty("type")
167 public String getType() {
176 @JsonProperty("type")
177 public void setType(String type) {
186 @JsonProperty("metadata")
187 public Metadata getMetadata() {
196 @JsonProperty("metadata")
197 public void setMetadata(Metadata metadata) {
198 this.metadata = metadata;
202 public String toString() {
203 return ToStringBuilder.reflectionToString(this);