0bac1e31ab32231b6f7e606cfbbd55b026371ddc
[music.git] / jar / 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 package org.onap.music.datastore.jsonobjects;
23
24 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
25
26 import io.swagger.annotations.ApiModel;
27 import io.swagger.annotations.ApiModelProperty;
28
29 @ApiModel(value = "JsonOnboard", description = "Defines the Json for Onboarding an application.")
30 @JsonIgnoreProperties(ignoreUnknown = true)
31 public class JsonOnboard {
32     private String appname;
33     private String userId;
34     private String password;
35     private String isAAF;
36     private String aid;
37
38     @ApiModelProperty(value = "Application Password")
39     public String getPassword() {
40         return password;
41     }
42
43     public void setPassword(String password) {
44         this.password = password;
45     }
46
47     @ApiModelProperty(value = "Application UUID")
48     public String getAid() {
49         return aid;
50     }
51
52     public void setAid(String aid) {
53         this.aid = aid;
54     }
55
56     @ApiModelProperty(value = "Application name")
57     public String getAppname() {
58         return appname;
59     }
60
61     public void setAppname(String appname) {
62         this.appname = appname;
63     }
64
65     @ApiModelProperty(value = "User Id")
66     public String getUserId() {
67         return userId;
68     }
69
70     public void setUserId(String userId) {
71         this.userId = userId;
72     }
73
74     @ApiModelProperty(value = "Is AAF Application", allowableValues = "true, false")
75     public String getIsAAF() {
76         return isAAF;
77     }
78
79     public void setIsAAF(String isAAF) {
80         this.isAAF = isAAF;
81     }
82
83 }