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 / 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.openecomp.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({
36     "code",
37     "message",
38     "title"
39 })
40 public class SnapshotRestoreResponse {
41
42     @JsonProperty("code")
43     private String code;
44     @JsonProperty("message")
45     private String message;
46     @JsonProperty("title")
47     private String title;
48
49     /**
50      * 
51      * @return
52      *     The code
53      */
54     @JsonProperty("code")
55     public String getCode() {
56         return code;
57     }
58
59     /**
60      * 
61      * @param code
62      *     The code
63      */
64     @JsonProperty("code")
65     public void setCode(String code) {
66         this.code = code;
67     }
68
69     /**
70      * 
71      * @return
72      *     The message
73      */
74     @JsonProperty("message")
75     public String getMessage() {
76         return message;
77     }
78
79     /**
80      * 
81      * @param message
82      *     The message
83      */
84     @JsonProperty("message")
85     public void setMessage(String message) {
86         this.message = message;
87     }
88
89     /**
90      * 
91      * @return
92      *     The title
93      */
94     @JsonProperty("title")
95     public String getTitle() {
96         return title;
97     }
98
99     /**
100      * 
101      * @param title
102      *     The title
103      */
104     @JsonProperty("title")
105     public void setTitle(String title) {
106         this.title = title;
107     }
108
109     @Override
110     public String toString() {
111         return ToStringBuilder.reflectionToString(this);
112     }
113
114 }