Applying license changes to all files
[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  * ONAP : APPC
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
12  * 
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  * 
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.
20  * 
21  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22  * ============LICENSE_END=========================================================
23  */
24
25 package org.openecomp.appc.adapter.openstack.heat.model;
26
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;
33
34 @JsonInclude(JsonInclude.Include.NON_NULL)
35 @Generated("org.jsonschema2pojo")
36 @JsonPropertyOrder({
37     "id",
38     "name",
39     "status",
40     "status_reason",
41     "creation_time",
42     "data"
43 })
44 public class Snapshot {
45
46     @JsonProperty("id")
47     private String id;
48     @JsonProperty("name")
49     private String name;
50     @JsonProperty("status")
51     private String status;
52     @JsonProperty("status_reason")
53     private String statusReason;
54     @JsonProperty("creation_time")
55     private String creationTime;
56     @JsonProperty("data")
57     @Valid
58     private Data data;
59
60     /**
61      * 
62      * @return
63      *     The id
64      */
65     @JsonProperty("id")
66     public String getId() {
67         return id;
68     }
69
70     /**
71      * 
72      * @param id
73      *     The id
74      */
75     @JsonProperty("id")
76     public void setId(String id) {
77         this.id = id;
78     }
79
80     /**
81      * 
82      * @return
83      *     The name
84      */
85     @JsonProperty("name")
86     public String getName() {
87         return name;
88     }
89
90     /**
91      * 
92      * @param name
93      *     The name
94      */
95     @JsonProperty("name")
96     public void setName(String name) {
97         this.name = name;
98     }
99
100     /**
101      * 
102      * @return
103      *     The status
104      */
105     @JsonProperty("status")
106     public String getStatus() {
107         return status;
108     }
109
110     /**
111      * 
112      * @param status
113      *     The status
114      */
115     @JsonProperty("status")
116     public void setStatus(String status) {
117         this.status = status;
118     }
119
120     /**
121      * 
122      * @return
123      *     The statusReason
124      */
125     @JsonProperty("status_reason")
126     public String getStatusReason() {
127         return statusReason;
128     }
129
130     /**
131      * 
132      * @param statusReason
133      *     The status_reason
134      */
135     @JsonProperty("status_reason")
136     public void setStatusReason(String statusReason) {
137         this.statusReason = statusReason;
138     }
139
140     /**
141      * 
142      * @return
143      *     The creationTime
144      */
145     @JsonProperty("creation_time")
146     public String getCreationTime() {
147         return creationTime;
148     }
149
150     /**
151      * 
152      * @param creationTime
153      *     The creation_time
154      */
155     @JsonProperty("creation_time")
156     public void setCreationTime(String creationTime) {
157         this.creationTime = creationTime;
158     }
159
160     /**
161      * 
162      * @return
163      *     The data
164      */
165     @JsonProperty("data")
166     public Data getData() {
167         return data;
168     }
169
170     /**
171      * 
172      * @param data
173      *     The data
174      */
175     @JsonProperty("data")
176     public void setData(Data data) {
177         this.data = data;
178     }
179
180     @Override
181     public String toString() {
182         return ToStringBuilder.reflectionToString(this);
183     }
184
185 }