2 * Copyright 2016-2017 ZTE, Inc. 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.
16 package org.onap.msb.sdclient.core;
18 import java.io.Serializable;
19 import java.util.List;
21 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
22 import com.fasterxml.jackson.annotation.JsonProperty;
26 @JsonIgnoreProperties(ignoreUnknown = true)
27 public class CatalogService implements Serializable{
28 private static final long serialVersionUID = 1L;
32 @JsonProperty("Address")
33 private String address;
35 @JsonProperty("ServiceName")
36 private String serviceName;
38 @JsonProperty("ServiceID")
39 private String serviceId;
41 @JsonProperty("ServiceAddress")
42 private String serviceAddress;
44 @JsonProperty("ServicePort")
45 private int servicePort;
47 @JsonProperty("ServiceTags")
48 private List<String> serviceTags;
50 public String getNode() {
54 public void setNode(String node) {
58 public String getAddress() {
62 public void setAddress(String address) {
63 this.address = address;
66 public String getServiceName() {
70 public void setServiceName(String serviceName) {
71 this.serviceName = serviceName;
74 public String getServiceId() {
78 public void setServiceId(String serviceId) {
79 this.serviceId = serviceId;
82 public String getServiceAddress() {
83 return serviceAddress;
86 public void setServiceAddress(String serviceAddress) {
87 this.serviceAddress = serviceAddress;
90 public int getServicePort() {
94 public void setServicePort(int servicePort) {
95 this.servicePort = servicePort;
98 public List<String> getServiceTags() {
102 public void setServiceTags(List<String> serviceTags) {
103 this.serviceTags = serviceTags;