--- /dev/null
+/**\r
+* Copyright (C) 2016 ZTE, Inc. and others. All rights reserved. (ZTE)\r
+*\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+*/\r
+package org.openo.msb.api;\r
+\r
+import java.io.Serializable;\r
+\r
+import com.fasterxml.jackson.annotation.JsonInclude;\r
+\r
+public class ServiceAccessInfo implements Serializable {\r
+ private static final long serialVersionUID = 1L;\r
+ // (api|iui|custom|p2p)\r
+ private String serviceType;\r
+\r
+ private String serviceName;\r
+ @JsonInclude(JsonInclude.Include.NON_NULL)\r
+ private String version;\r
+\r
+ private String accessAddr;\r
+\r
+ /**\r
+ * @return the serviceType\r
+ */\r
+ public String getServiceType() {\r
+ return serviceType;\r
+ }\r
+\r
+ /**\r
+ * @param serviceType the serviceType to set\r
+ */\r
+ public void setServiceType(String serviceType) {\r
+ this.serviceType = serviceType;\r
+ }\r
+\r
+ /**\r
+ * @return the serviceName\r
+ */\r
+ public String getServiceName() {\r
+ return serviceName;\r
+ }\r
+\r
+ /**\r
+ * @param serviceName the serviceName to set\r
+ */\r
+ public void setServiceName(String serviceName) {\r
+ this.serviceName = serviceName;\r
+ }\r
+\r
+ /**\r
+ * @return the version\r
+ */\r
+ public String getVersion() {\r
+ return version;\r
+ }\r
+\r
+ /**\r
+ * @param version the version to set\r
+ */\r
+ public void setVersion(String version) {\r
+ this.version = version;\r
+ }\r
+\r
+ /**\r
+ * @return the accessAddr\r
+ */\r
+ public String getAccessAddr() {\r
+ return accessAddr;\r
+ }\r
+\r
+ /**\r
+ * @param accessAddr the accessAddr to set\r
+ */\r
+ public void setAccessAddr(String accessAddr) {\r
+ this.accessAddr = accessAddr;\r
+ }\r
+}\r