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({"id", "name", "status", "status_reason", "creation_time", "data"})
37 public class Snapshot {
43 @JsonProperty("status")
44 private String status;
45 @JsonProperty("status_reason")
46 private String statusReason;
47 @JsonProperty("creation_time")
48 private String creationTime;
58 public String getId() {
67 public void setId(String id) {
76 public String getName() {
82 * @param name The name
85 public void setName(String name) {
93 @JsonProperty("status")
94 public String getStatus() {
100 * @param status The status
102 @JsonProperty("status")
103 public void setStatus(String status) {
104 this.status = status;
109 * @return The statusReason
111 @JsonProperty("status_reason")
112 public String getStatusReason() {
118 * @param statusReason The status_reason
120 @JsonProperty("status_reason")
121 public void setStatusReason(String statusReason) {
122 this.statusReason = statusReason;
127 * @return The creationTime
129 @JsonProperty("creation_time")
130 public String getCreationTime() {
136 * @param creationTime The creation_time
138 @JsonProperty("creation_time")
139 public void setCreationTime(String creationTime) {
140 this.creationTime = creationTime;
147 @JsonProperty("data")
148 public Data getData() {
154 * @param data The data
156 @JsonProperty("data")
157 public void setData(Data data) {
162 public String toString() {
163 return ToStringBuilder.reflectionToString(this);