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 * ====================================================================
23 package org.onap.music.datastore.jsonobjects;
25 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
27 import io.swagger.annotations.ApiModel;
28 import io.swagger.annotations.ApiModelProperty;
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;
39 @ApiModelProperty(value = "Application Password")
40 public String getPassword() {
44 public void setPassword(String password) {
45 this.password = password;
48 @ApiModelProperty(value = "Application UUID")
49 public String getAid() {
53 public void setAid(String aid) {
57 @ApiModelProperty(value = "Application name")
58 public String getAppname() {
62 public void setAppname(String appname) {
63 this.appname = appname;
66 @ApiModelProperty(value = "User Id")
67 public String getUserId() {
71 public void setUserId(String userId) {
75 @ApiModelProperty(value = "Is AAF Application", allowableValues = "true, false")
76 public String getIsAAF() {
80 public void setIsAAF(String isAAF) {