2 * ============LICENSE_START==========================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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.
19 * ============LICENSE_END=============================================
20 * ====================================================================
22 package org.onap.music.datastore.jsonobjects;
24 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
26 import io.swagger.annotations.ApiModel;
27 import io.swagger.annotations.ApiModelProperty;
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;
38 @ApiModelProperty(value = "Application Password")
39 public String getPassword() {
43 public void setPassword(String password) {
44 this.password = password;
47 @ApiModelProperty(value = "Application UUID")
48 public String getAid() {
52 public void setAid(String aid) {
56 @ApiModelProperty(value = "Application name")
57 public String getAppname() {
61 public void setAppname(String appname) {
62 this.appname = appname;
65 @ApiModelProperty(value = "User Id")
66 public String getUserId() {
70 public void setUserId(String userId) {
74 @ApiModelProperty(value = "Is AAF Application", allowableValues = "true, false")
75 public String getIsAAF() {
79 public void setIsAAF(String isAAF) {