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.onap.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")
36 @JsonPropertyOrder({"status", "name", "resource_data", "resource_id", "action", "type", "metadata"})
37 public class Volume_ {
39 @JsonProperty("status")
40 private String status;
43 @JsonProperty("resource_data")
45 private ResourceData resourceData;
46 @JsonProperty("resource_id")
47 private String resourceId;
48 @JsonProperty("action")
49 private String action;
52 @JsonProperty("metadata")
54 private Metadata metadata;
60 @JsonProperty("status")
61 public String getStatus() {
67 * @param status The status
69 @JsonProperty("status")
70 public void setStatus(String status) {
79 public String getName() {
85 * @param name The name
88 public void setName(String name) {
94 * @return The resourceData
96 @JsonProperty("resource_data")
97 public ResourceData getResourceData() {
103 * @param resourceData The resource_data
105 @JsonProperty("resource_data")
106 public void setResourceData(ResourceData resourceData) {
107 this.resourceData = resourceData;
112 * @return The resourceId
114 @JsonProperty("resource_id")
115 public String getResourceId() {
121 * @param resourceId The resource_id
123 @JsonProperty("resource_id")
124 public void setResourceId(String resourceId) {
125 this.resourceId = resourceId;
132 @JsonProperty("action")
133 public String getAction() {
139 * @param action The action
141 @JsonProperty("action")
142 public void setAction(String action) {
143 this.action = action;
150 @JsonProperty("type")
151 public String getType() {
157 * @param type The type
159 @JsonProperty("type")
160 public void setType(String type) {
166 * @return The metadata
168 @JsonProperty("metadata")
169 public Metadata getMetadata() {
175 * @param metadata The metadata
177 @JsonProperty("metadata")
178 public void setMetadata(Metadata metadata) {
179 this.metadata = metadata;
183 public String toString() {
184 return ToStringBuilder.reflectionToString(this);