Add Expose annotation
[clamp.git] / src / main / java / org / onap / clamp / clds / model / CldsInfo.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP CLAMP
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights
6  *                             reserved.
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  * ===================================================================
21  * 
22  */
23
24 package org.onap.clamp.clds.model;
25
26 import com.google.gson.annotations.Expose;
27
28 public class CldsInfo {
29         @Expose
30         private String userName;
31         @Expose
32         private String cldsVersion;
33         @Expose
34         private boolean permissionReadCl;
35         @Expose
36         private boolean permissionUpdateCl;
37         @Expose
38         private boolean permissionReadTemplate;
39         @Expose
40         private boolean permissionUpdateTemplate;
41         @Expose
42         private boolean permissionReadTosca;
43         @Expose
44         private boolean permissionUpdateTosca;
45
46         public String getUserName() {
47                 return userName;
48         }
49
50         public void setUserName(String userName) {
51                 this.userName = userName;
52         }
53
54         public String getCldsVersion() {
55                 return cldsVersion;
56         }
57
58         public void setCldsVersion(String cldsVersion) {
59                 this.cldsVersion = cldsVersion;
60         }
61
62         public boolean isPermissionReadCl() {
63                 return permissionReadCl;
64         }
65
66         public void setPermissionReadCl(boolean permissionReadCl) {
67                 this.permissionReadCl = permissionReadCl;
68         }
69
70         public boolean isPermissionUpdateCl() {
71                 return permissionUpdateCl;
72         }
73
74         public void setPermissionUpdateCl(boolean permissionUpdateCl) {
75                 this.permissionUpdateCl = permissionUpdateCl;
76         }
77
78         public boolean isPermissionReadTemplate() {
79                 return permissionReadTemplate;
80         }
81
82         public void setPermissionReadTemplate(boolean permissionReadTemplate) {
83                 this.permissionReadTemplate = permissionReadTemplate;
84         }
85
86         public boolean isPermissionUpdateTemplate() {
87                 return permissionUpdateTemplate;
88         }
89
90         public void setPermissionUpdateTemplate(boolean permissionUpdateTemplate) {
91                 this.permissionUpdateTemplate = permissionUpdateTemplate;
92         }
93
94         public boolean isPermissionReadTosca() {
95                 return permissionReadTosca;
96         }
97
98         public void setPermissionReadTosca(boolean permissionReadTosca) {
99                 this.permissionReadTosca = permissionReadTosca;
100         }
101
102         public boolean isPermissionUpdateTosca() {
103                 return permissionUpdateTosca;
104         }
105
106         public void setPermissionUpdateTosca(boolean permissionUpdateTosca) {
107                 this.permissionUpdateTosca = permissionUpdateTosca;
108         }
109
110 }