d98af250408b35329e6ae4579817968c8cc0479d
[vfc/nfvo/catalog.git] /
1 /**
2  * Copyright 2016 [ZTE] and others.
3  *
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
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16
17 package org.openo.commontosca.catalog.externalservice.msb;
18
19 import java.io.Serializable;
20
21 public class ApiRouteInfo implements Serializable {
22   private static final long serialVersionUID = 1L;
23   private String serviceName;
24   private String version = "";
25   private String url;
26   private String apiJson = "";
27   private String apiJsonType = "1";
28   private String metricsUrl = "";
29   private String control = "0";
30   private String status = "1";
31
32   private RouteServer []servers;
33
34
35   public String getServiceName() {
36     return serviceName;
37   }
38
39   public void setServiceName(String serviceName) {
40     this.serviceName = serviceName;
41   }
42
43   public String getVersion() {
44     return version;
45   }
46
47   public void setVersion(String version) {
48     this.version = version;
49   }
50
51   public String getApiJson() {
52     return apiJson;
53   }
54
55   public void setApiJson(String apiJson) {
56     this.apiJson = apiJson;
57   }
58
59   public String getUrl() {
60     return url;
61   }
62
63   public void setUrl(String url) {
64     this.url = url;
65   }
66
67   public RouteServer[] getServers() {
68     return servers;
69   }
70
71   public void setServers(RouteServer[] servers) {
72     this.servers = servers;
73   }
74
75   public String getApiJsonType() {
76     return apiJsonType;
77   }
78
79   public void setApiJsonType(String apiJsonType) {
80     this.apiJsonType = apiJsonType;
81   }
82
83   public String getMetricsUrl() {
84     return metricsUrl;
85   }
86
87   public void setMetricsUrl(String metricsUrl) {
88     this.metricsUrl = metricsUrl;
89   }
90
91   public String getControl() {
92     return control;
93   }
94
95   public void setControl(String control) {
96     this.control = control;
97   }
98
99   public String getStatus() {
100     return status;
101   }
102
103   public void setStatus(String status) {
104     this.status = status;
105   }
106 }