/*- * ============LICENSE_START======================================================= * openECOMP : APP-C * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights * reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * ============LICENSE_END========================================================= */ package org.openecomp.appc.adapter.openstack.heat.model; import javax.annotation.Generated; import javax.validation.Valid; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.apache.commons.lang.builder.ToStringBuilder; @JsonInclude(JsonInclude.Include.NON_NULL) @Generated("org.jsonschema2pojo") @JsonPropertyOrder({ "status", "name", "resource_data", "resource_id", "action", "type", "metadata" }) public class Volume_ { @JsonProperty("status") private String status; @JsonProperty("name") private String name; @JsonProperty("resource_data") @Valid private ResourceData resourceData; @JsonProperty("resource_id") private String resourceId; @JsonProperty("action") private String action; @JsonProperty("type") private String type; @JsonProperty("metadata") @Valid private Metadata metadata; /** * * @return * The status */ @JsonProperty("status") public String getStatus() { return status; } /** * * @param status * The status */ @JsonProperty("status") public void setStatus(String status) { this.status = status; } /** * * @return * The name */ @JsonProperty("name") public String getName() { return name; } /** * * @param name * The name */ @JsonProperty("name") public void setName(String name) { this.name = name; } /** * * @return * The resourceData */ @JsonProperty("resource_data") public ResourceData getResourceData() { return resourceData; } /** * * @param resourceData * The resource_data */ @JsonProperty("resource_data") public void setResourceData(ResourceData resourceData) { this.resourceData = resourceData; } /** * * @return * The resourceId */ @JsonProperty("resource_id") public String getResourceId() { return resourceId; } /** * * @param resourceId * The resource_id */ @JsonProperty("resource_id") public void setResourceId(String resourceId) { this.resourceId = resourceId; } /** * * @return * The action */ @JsonProperty("action") public String getAction() { return action; } /** * * @param action * The action */ @JsonProperty("action") public void setAction(String action) { this.action = action; } /** * * @return * The type */ @JsonProperty("type") public String getType() { return type; } /** * * @param type * The type */ @JsonProperty("type") public void setType(String type) { this.type = type; } /** * * @return * The metadata */ @JsonProperty("metadata") public Metadata getMetadata() { return metadata; } /** * * @param metadata * The metadata */ @JsonProperty("metadata") public void setMetadata(Metadata metadata) { this.metadata = metadata; } @Override public String toString() { return ToStringBuilder.reflectionToString(this); } }