2 * ============LICENSE_START=======================================================
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
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 * ============LICENSE_END=========================================================
24 package org.onap.appc.adapter.openstack.heat.model;
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;
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_ {
38 @JsonProperty("status")
39 private String status;
42 @JsonProperty("resource_data")
44 private ResourceData resourceData;
45 @JsonProperty("resource_id")
46 private String resourceId;
47 @JsonProperty("action")
48 private String action;
51 @JsonProperty("metadata")
53 private Metadata metadata;
59 @JsonProperty("status")
60 public String getStatus() {
66 * @param status The status
68 @JsonProperty("status")
69 public void setStatus(String status) {
78 public String getName() {
84 * @param name The name
87 public void setName(String name) {
93 * @return The resourceData
95 @JsonProperty("resource_data")
96 public ResourceData getResourceData() {
102 * @param resourceData The resource_data
104 @JsonProperty("resource_data")
105 public void setResourceData(ResourceData resourceData) {
106 this.resourceData = resourceData;
111 * @return The resourceId
113 @JsonProperty("resource_id")
114 public String getResourceId() {
120 * @param resourceId The resource_id
122 @JsonProperty("resource_id")
123 public void setResourceId(String resourceId) {
124 this.resourceId = resourceId;
131 @JsonProperty("action")
132 public String getAction() {
138 * @param action The action
140 @JsonProperty("action")
141 public void setAction(String action) {
142 this.action = action;
149 @JsonProperty("type")
150 public String getType() {
156 * @param type The type
158 @JsonProperty("type")
159 public void setType(String type) {
165 * @return The metadata
167 @JsonProperty("metadata")
168 public Metadata getMetadata() {
174 * @param metadata The metadata
176 @JsonProperty("metadata")
177 public void setMetadata(Metadata metadata) {
178 this.metadata = metadata;
182 public String toString() {
183 return ToStringBuilder.reflectionToString(this);