2 * Copyright 2016 [ZTE] and others.
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.
17 package org.openo.commontosca.catalog.externalservice.msb;
19 import java.io.Serializable;
21 public class ApiRouteInfo implements Serializable {
22 private static final long serialVersionUID = 1L;
23 private String serviceName;
24 private String version = "";
26 private String apiJson = "";
27 private String apiJsonType = "1";
28 private String metricsUrl = "";
29 private String control = "0";
30 private String status = "1";
32 private RouteServer []servers;
35 public String getServiceName() {
39 public void setServiceName(String serviceName) {
40 this.serviceName = serviceName;
43 public String getVersion() {
47 public void setVersion(String version) {
48 this.version = version;
51 public String getApiJson() {
55 public void setApiJson(String apiJson) {
56 this.apiJson = apiJson;
59 public String getUrl() {
63 public void setUrl(String url) {
67 public RouteServer[] getServers() {
71 public void setServers(RouteServer[] servers) {
72 this.servers = servers;
75 public String getApiJsonType() {
79 public void setApiJsonType(String apiJsonType) {
80 this.apiJsonType = apiJsonType;
83 public String getMetricsUrl() {
87 public void setMetricsUrl(String metricsUrl) {
88 this.metricsUrl = metricsUrl;
91 public String getControl() {
95 public void setControl(String control) {
96 this.control = control;
99 public String getStatus() {
103 public void setStatus(String status) {
104 this.status = status;