2 * Copyright 2016 ZTE Corporation.
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.openo.msb.api;
18 import io.swagger.annotations.ApiModelProperty;
20 import java.io.Serializable;
21 import java.util.Date;
23 import com.fasterxml.jackson.annotation.JsonIgnore;
24 import com.fasterxml.jackson.databind.annotation.JsonSerialize;
26 public class Node implements Serializable {
27 private static final long serialVersionUID = 1L;
29 @ApiModelProperty(required = true)
32 @ApiModelProperty(required = true)
40 public String getIp() {
44 public void setIp(String ip) {
48 public String getPort() {
52 public void setPort(String port) {
60 public void setTtl(int ttl) {
68 public Node(String ip,String port,int ttl){