Push variuos changes
[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
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
39     @ApiModelProperty(value = "Application Password")
40     public String getPassword() {
41         return password;
42     }
43
44     public void setPassword(String password) {
45         this.password = password;
46     }
47
48     @ApiModelProperty(value = "Application UUID")
49     public String getAid() {
50         return aid;
51     }
52
53     public void setAid(String aid) {
54         this.aid = aid;
55     }
56
57     @ApiModelProperty(value = "Application name")
58     public String getAppname() {
59         return appname;
60     }
61
62     public void setAppname(String appname) {
63         this.appname = appname;
64     }
65
66     @ApiModelProperty(value = "User Id")
67     public String getUserId() {
68         return userId;
69     }
70
71     public void setUserId(String userId) {
72         this.userId = userId;
73     }
74
75     @ApiModelProperty(value = "Is AAF Application", allowableValues = "true, false")
76     public String getIsAAF() {
77         return isAAF;
78     }
79
80     public void setIsAAF(String isAAF) {
81         this.isAAF = isAAF;
82     }
83
84 }