2bac0d3f83a45209a4c63b616e80ebb9bd223c3a
[msb/discovery.git] / sdclient / discovery-service / src / main / java / org / onap / msb / sdclient / core / CatalogService.java
1 /**
2  * Copyright 2016-2017 ZTE, Inc. 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 package org.onap.msb.sdclient.core;
17
18 import java.io.Serializable;
19 import java.util.List;
20
21 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
22 import com.fasterxml.jackson.annotation.JsonProperty;
23
24
25
26 @JsonIgnoreProperties(ignoreUnknown = true)
27 public  class CatalogService implements Serializable{
28     private static final long serialVersionUID = 1L;
29     @JsonProperty("Node")
30     private  String node;
31     
32     @JsonProperty("Address")
33     private  String address;
34     
35     @JsonProperty("ServiceName")
36     private  String serviceName;
37     
38     @JsonProperty("ServiceID")
39     private  String serviceId;
40     
41     @JsonProperty("ServiceAddress")
42     private  String serviceAddress;
43     
44     @JsonProperty("ServicePort")
45     private  int servicePort;
46     
47     @JsonProperty("ServiceTags")
48     private  List<String> serviceTags;
49
50     public String getNode() {
51         return node;
52     }
53
54     public void setNode(String node) {
55         this.node = node;
56     }
57
58     public String getAddress() {
59         return address;
60     }
61
62     public void setAddress(String address) {
63         this.address = address;
64     }
65
66     public String getServiceName() {
67         return serviceName;
68     }
69
70     public void setServiceName(String serviceName) {
71         this.serviceName = serviceName;
72     }
73
74     public String getServiceId() {
75         return serviceId;
76     }
77
78     public void setServiceId(String serviceId) {
79         this.serviceId = serviceId;
80     }
81
82     public String getServiceAddress() {
83         return serviceAddress;
84     }
85
86     public void setServiceAddress(String serviceAddress) {
87         this.serviceAddress = serviceAddress;
88     }
89
90     public int getServicePort() {
91         return servicePort;
92     }
93
94     public void setServicePort(int servicePort) {
95         this.servicePort = servicePort;
96     }
97
98     public List<String> getServiceTags() {
99         return serviceTags;
100     }
101
102     public void setServiceTags(List<String> serviceTags) {
103         this.serviceTags = serviceTags;
104     }
105     
106     
107
108 }