Define AAI Vim register related API
[aai/esr-server.git] / esr-core / esr-mgr / src / main / java / org / onap / aai / esr / externalservice / entity / ServiceNode.java
1 /**
2  * Copyright 2016-2017 ZTE Corporation.
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.aai.esr.externalservice.entity;
17
18
19 public class ServiceNode {
20   
21   private String ip;
22   
23   private String port;
24   
25   private int ttl;
26
27   public String getIp() {
28     return ip;
29   }
30
31   public void setIp(String ip) {
32     this.ip = ip;
33   }
34
35   public String getPort() {
36     return port;
37   }
38
39   public void setPort(String port) {
40     this.port = port;
41   }
42
43   public int getTtl() {
44     return ttl;
45   }
46
47   public void setTtl(int ttl) {
48     this.ttl = ttl;
49   }
50   
51   
52 }