2 * Copyright 2016 2015-2016 ZTE, Inc. and others. All rights reserved.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package org.openo.msb.api;
18 import java.io.Serializable;
20 import com.fasterxml.jackson.annotation.JsonInclude;
22 public class ServiceAccessInfo implements Serializable {
23 private static final long serialVersionUID = 1L;
24 // (api|iui|custom|p2p)
25 private String serviceType;
27 private String serviceName;
28 @JsonInclude(JsonInclude.Include.NON_NULL)
29 private String version;
31 private String accessAddr;
34 * @return the serviceType
36 public String getServiceType() {
41 * @param serviceType the serviceType to set
43 public void setServiceType(String serviceType) {
44 this.serviceType = serviceType;
48 * @return the serviceName
50 public String getServiceName() {
55 * @param serviceName the serviceName to set
57 public void setServiceName(String serviceName) {
58 this.serviceName = serviceName;
64 public String getVersion() {
69 * @param version the version to set
71 public void setVersion(String version) {
72 this.version = version;
76 * @return the accessAddr
78 public String getAccessAddr() {
83 * @param accessAddr the accessAddr to set
85 public void setAccessAddr(String accessAddr) {
86 this.accessAddr = accessAddr;