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;
38 private String keyspace;
40 @ApiModelProperty(value = "Application Keyspace")
41 public String getKeyspace() {
45 public void setKeyspace_name(String keyspace) {
46 this.keyspace = keyspace;
49 @ApiModelProperty(value = "Application Password")
50 public String getPassword() {
54 public void setPassword(String password) {
55 this.password = password;
58 @ApiModelProperty(value = "Application UUID")
59 public String getAid() {
63 public void setAid(String aid) {
67 @ApiModelProperty(value = "Application name")
68 public String getAppname() {
72 public void setAppname(String appname) {
73 this.appname = appname;
76 @ApiModelProperty(value = "User Id")
77 public String getUserId() {
81 public void setUserId(String userId) {
85 @ApiModelProperty(value = "Is AAF Application", allowableValues = "true, false")
86 public String getIsAAF() {
90 public void setIsAAF(String isAAF) {