First part of onap rename
[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.onap.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({"id", "name", "status", "status_reason", "creation_time", "data"})
37 public class Snapshot {
38
39     @JsonProperty("id")
40     private String id;
41     @JsonProperty("name")
42     private String name;
43     @JsonProperty("status")
44     private String status;
45     @JsonProperty("status_reason")
46     private String statusReason;
47     @JsonProperty("creation_time")
48     private String creationTime;
49     @JsonProperty("data")
50     @Valid
51     private Data data;
52
53     /**
54      * 
55      * @return The id
56      */
57     @JsonProperty("id")
58     public String getId() {
59         return id;
60     }
61
62     /**
63      * 
64      * @param id The id
65      */
66     @JsonProperty("id")
67     public void setId(String id) {
68         this.id = id;
69     }
70
71     /**
72      * 
73      * @return The name
74      */
75     @JsonProperty("name")
76     public String getName() {
77         return name;
78     }
79
80     /**
81      * 
82      * @param name The name
83      */
84     @JsonProperty("name")
85     public void setName(String name) {
86         this.name = name;
87     }
88
89     /**
90      * 
91      * @return The status
92      */
93     @JsonProperty("status")
94     public String getStatus() {
95         return status;
96     }
97
98     /**
99      * 
100      * @param status The status
101      */
102     @JsonProperty("status")
103     public void setStatus(String status) {
104         this.status = status;
105     }
106
107     /**
108      * 
109      * @return The statusReason
110      */
111     @JsonProperty("status_reason")
112     public String getStatusReason() {
113         return statusReason;
114     }
115
116     /**
117      * 
118      * @param statusReason The status_reason
119      */
120     @JsonProperty("status_reason")
121     public void setStatusReason(String statusReason) {
122         this.statusReason = statusReason;
123     }
124
125     /**
126      * 
127      * @return The creationTime
128      */
129     @JsonProperty("creation_time")
130     public String getCreationTime() {
131         return creationTime;
132     }
133
134     /**
135      * 
136      * @param creationTime The creation_time
137      */
138     @JsonProperty("creation_time")
139     public void setCreationTime(String creationTime) {
140         this.creationTime = creationTime;
141     }
142
143     /**
144      * 
145      * @return The data
146      */
147     @JsonProperty("data")
148     public Data getData() {
149         return data;
150     }
151
152     /**
153      * 
154      * @param data The data
155      */
156     @JsonProperty("data")
157     public void setData(Data data) {
158         this.data = data;
159     }
160
161     @Override
162     public String toString() {
163         return ToStringBuilder.reflectionToString(this);
164     }
165
166 }