482a29f3b1aadd4876b1aa97e512d28c3c7b49c8
[appc.git] / appc-adapters / appc-iaas-adapter / appc-iaas-adapter-bundle / src / main / java / org / openecomp / appc / adapter / openstack / heat / model / SnapshotRestoreResponse.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 com.fasterxml.jackson.annotation.JsonInclude;
29 import com.fasterxml.jackson.annotation.JsonProperty;
30 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
31 import org.apache.commons.lang.builder.ToStringBuilder;
32
33 @JsonInclude(JsonInclude.Include.NON_NULL)
34 @Generated("org.jsonschema2pojo")
35 @JsonPropertyOrder({"code", "message", "title"})
36 public class SnapshotRestoreResponse {
37
38     @JsonProperty("code")
39     private String code;
40     @JsonProperty("message")
41     private String message;
42     @JsonProperty("title")
43     private String title;
44
45     /**
46      * 
47      * @return The code
48      */
49     @JsonProperty("code")
50     public String getCode() {
51         return code;
52     }
53
54     /**
55      * 
56      * @param code The code
57      */
58     @JsonProperty("code")
59     public void setCode(String code) {
60         this.code = code;
61     }
62
63     /**
64      * 
65      * @return The message
66      */
67     @JsonProperty("message")
68     public String getMessage() {
69         return message;
70     }
71
72     /**
73      * 
74      * @param message The message
75      */
76     @JsonProperty("message")
77     public void setMessage(String message) {
78         this.message = message;
79     }
80
81     /**
82      * 
83      * @return The title
84      */
85     @JsonProperty("title")
86     public String getTitle() {
87         return title;
88     }
89
90     /**
91      * 
92      * @param title The title
93      */
94     @JsonProperty("title")
95     public void setTitle(String title) {
96         this.title = title;
97     }
98
99     @Override
100     public String toString() {
101         return ToStringBuilder.reflectionToString(this);
102     }
103
104 }