5b3bbd48ede5abac36ae1c50d9199878cc293278
[music.git] / src / main / java / org / onap / music / datastore / jsonobjects / JsonOnboard.java
1 /*
2  * ============LICENSE_START==========================================
3  * org.onap.music
4  * ===================================================================
5  *  Copyright (c) 2017 AT&T Intellectual Property
6  * ===================================================================
7  *  Licensed under the Apache License, Version 2.0 (the "License");
8  *  you may not use this file except in compliance with the License.
9  *  You may obtain a copy of the License at
10  * 
11  *     http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  *  Unless required by applicable law or agreed to in writing, software
14  *  distributed under the License is distributed on an "AS IS" BASIS,
15  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  *  See the License for the specific language governing permissions and
17  *  limitations under the License.
18  * 
19  * ============LICENSE_END=============================================
20  * ====================================================================
21  */
22
23 package org.onap.music.datastore.jsonobjects;
24
25 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
26
27 import io.swagger.annotations.ApiModel;
28 import io.swagger.annotations.ApiModelProperty;
29
30 @ApiModel(value = "JsonOnboard", description = "Defines the Json for Onboarding an application.")
31 @JsonIgnoreProperties(ignoreUnknown = true)
32 public class JsonOnboard {
33     private String appname;
34     private String userId;
35     private String password;
36     private String isAAF;
37     private String aid;
38     private String keyspace;
39
40         @ApiModelProperty(value = "Application Keyspace")
41     public String getKeyspace() {
42                 return keyspace;
43         }
44
45         public void setKeyspace_name(String keyspace) {
46                 this.keyspace = keyspace;
47         }
48
49         @ApiModelProperty(value = "Application Password")
50     public String getPassword() {
51         return password;
52     }
53
54     public void setPassword(String password) {
55         this.password = password;
56     }
57
58     @ApiModelProperty(value = "Application UUID")
59     public String getAid() {
60         return aid;
61     }
62
63     public void setAid(String aid) {
64         this.aid = aid;
65     }
66
67     @ApiModelProperty(value = "Application name")
68     public String getAppname() {
69         return appname;
70     }
71
72     public void setAppname(String appname) {
73         this.appname = appname;
74     }
75
76     @ApiModelProperty(value = "User Id")
77     public String getUserId() {
78         return userId;
79     }
80
81     public void setUserId(String userId) {
82         this.userId = userId;
83     }
84
85     @ApiModelProperty(value = "Is AAF Application", allowableValues = "true, false")
86     public String getIsAAF() {
87         return isAAF;
88     }
89
90     public void setIsAAF(String isAAF) {
91         this.isAAF = isAAF;
92     }
93
94 }