2 * ============LICENSE_START=======================================================
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
13 * http://www.apache.org/licenses/LICENSE-2.0
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.
21 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 * ============LICENSE_END=========================================================
25 package org.openecomp.appc.adapter.openstack.heat.model;
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;
34 @JsonInclude(JsonInclude.Include.NON_NULL)
35 @Generated("org.jsonschema2pojo")
45 public class Volume_ {
47 @JsonProperty("status")
48 private String status;
51 @JsonProperty("resource_data")
53 private ResourceData resourceData;
54 @JsonProperty("resource_id")
55 private String resourceId;
56 @JsonProperty("action")
57 private String action;
60 @JsonProperty("metadata")
62 private Metadata metadata;
69 @JsonProperty("status")
70 public String getStatus() {
79 @JsonProperty("status")
80 public void setStatus(String status) {
90 public String getName() {
100 public void setName(String name) {
109 @JsonProperty("resource_data")
110 public ResourceData getResourceData() {
116 * @param resourceData
119 @JsonProperty("resource_data")
120 public void setResourceData(ResourceData resourceData) {
121 this.resourceData = resourceData;
129 @JsonProperty("resource_id")
130 public String getResourceId() {
139 @JsonProperty("resource_id")
140 public void setResourceId(String resourceId) {
141 this.resourceId = resourceId;
149 @JsonProperty("action")
150 public String getAction() {
159 @JsonProperty("action")
160 public void setAction(String action) {
161 this.action = action;
169 @JsonProperty("type")
170 public String getType() {
179 @JsonProperty("type")
180 public void setType(String type) {
189 @JsonProperty("metadata")
190 public Metadata getMetadata() {
199 @JsonProperty("metadata")
200 public void setMetadata(Metadata metadata) {
201 this.metadata = metadata;
205 public String toString() {
206 return ToStringBuilder.reflectionToString(this);