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