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