Moving all files to root directory
[appc.git] / appc-adapters / appc-iaas-adapter / appc-iaas-adapter-bundle / src / main / java / org / openecomp / appc / adapter / openstack / heat / model / Snapshot.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * openECOMP : APP-C
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights
6  *                                              reserved.
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  * 
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  * 
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  */
21
22 package org.openecomp.appc.adapter.openstack.heat.model;
23
24 import javax.annotation.Generated;
25 import javax.validation.Valid;
26 import com.fasterxml.jackson.annotation.JsonInclude;
27 import com.fasterxml.jackson.annotation.JsonProperty;
28 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
29 import org.apache.commons.lang.builder.ToStringBuilder;
30
31 @JsonInclude(JsonInclude.Include.NON_NULL)
32 @Generated("org.jsonschema2pojo")
33 @JsonPropertyOrder({
34     "id",
35     "name",
36     "status",
37     "status_reason",
38     "creation_time",
39     "data"
40 })
41 public class Snapshot {
42
43     @JsonProperty("id")
44     private String id;
45     @JsonProperty("name")
46     private String name;
47     @JsonProperty("status")
48     private String status;
49     @JsonProperty("status_reason")
50     private String statusReason;
51     @JsonProperty("creation_time")
52     private String creationTime;
53     @JsonProperty("data")
54     @Valid
55     private Data data;
56
57     /**
58      * 
59      * @return
60      *     The id
61      */
62     @JsonProperty("id")
63     public String getId() {
64         return id;
65     }
66
67     /**
68      * 
69      * @param id
70      *     The id
71      */
72     @JsonProperty("id")
73     public void setId(String id) {
74         this.id = id;
75     }
76
77     /**
78      * 
79      * @return
80      *     The name
81      */
82     @JsonProperty("name")
83     public String getName() {
84         return name;
85     }
86
87     /**
88      * 
89      * @param name
90      *     The name
91      */
92     @JsonProperty("name")
93     public void setName(String name) {
94         this.name = name;
95     }
96
97     /**
98      * 
99      * @return
100      *     The status
101      */
102     @JsonProperty("status")
103     public String getStatus() {
104         return status;
105     }
106
107     /**
108      * 
109      * @param status
110      *     The status
111      */
112     @JsonProperty("status")
113     public void setStatus(String status) {
114         this.status = status;
115     }
116
117     /**
118      * 
119      * @return
120      *     The statusReason
121      */
122     @JsonProperty("status_reason")
123     public String getStatusReason() {
124         return statusReason;
125     }
126
127     /**
128      * 
129      * @param statusReason
130      *     The status_reason
131      */
132     @JsonProperty("status_reason")
133     public void setStatusReason(String statusReason) {
134         this.statusReason = statusReason;
135     }
136
137     /**
138      * 
139      * @return
140      *     The creationTime
141      */
142     @JsonProperty("creation_time")
143     public String getCreationTime() {
144         return creationTime;
145     }
146
147     /**
148      * 
149      * @param creationTime
150      *     The creation_time
151      */
152     @JsonProperty("creation_time")
153     public void setCreationTime(String creationTime) {
154         this.creationTime = creationTime;
155     }
156
157     /**
158      * 
159      * @return
160      *     The data
161      */
162     @JsonProperty("data")
163     public Data getData() {
164         return data;
165     }
166
167     /**
168      * 
169      * @param data
170      *     The data
171      */
172     @JsonProperty("data")
173     public void setData(Data data) {
174         this.data = data;
175     }
176
177     @Override
178     public String toString() {
179         return ToStringBuilder.reflectionToString(this);
180     }
181
182 }