blob: d0a34b0f238c1b943cbe2c7b2ab72b91fd55a9f3 [file] [log] [blame]
Srikanth Vavilapallie7dabdd2014-10-20 21:54:39 -07001package net.onrc.onos.apps.segmentrouting.web;
2
3
4public class SegmentRouterPolicyRESTParams {
5 private String policy_id;
6 private int priority;
7 private String tunnel_id;
8 private String proto_type;
9 private String src_ip;
10 private String src_tp_port_op;
11 private short src_tp_port;
12 private String dst_ip;
13 private String dst_tp_port_op;
14 private short dst_tp_port;
15
16 public SegmentRouterPolicyRESTParams() {
17 this.policy_id = null;
18 this.priority = 0;
19 this.tunnel_id = null;
20 this.proto_type = null;
21 this.src_ip = null;
22 this.src_tp_port_op = null;
23 this.src_tp_port = 0;
24 this.dst_ip = null;
25 this.dst_tp_port_op = null;
26 this.dst_tp_port = 0;
27 }
28
29 public void setPolicy_id(String policy_id) {
30 this.policy_id = policy_id;
31 }
32
33 public String getPolicy_id() {
34 return this.policy_id;
35 }
36
37 public void setPriority(int priority) {
38 this.priority = priority;
39 }
40
41 public int getPriority() {
42 return this.priority;
43 }
44
45 public void setTunnel_id(String tunnel_id) {
46 this.tunnel_id = tunnel_id;
47 }
48
49 public String getTunnel_id() {
50 return this.tunnel_id;
51 }
52
53 public void setProto_type(String proto_type) {
54 this.proto_type = proto_type;
55 }
56
57 public String getProto_type() {
58 return this.proto_type;
59 }
60
61 public void setSrc_ip(String src_ip) {
62 this.src_ip = src_ip;
63 }
64
65 public String getSrc_ip() {
66 return this.src_ip;
67 }
68
69 public void setSrc_tp_port_op(String src_tp_port_op) {
70 this.src_tp_port_op = src_tp_port_op;
71 }
72
73 public String getSrc_tp_port_op() {
74 return this.src_tp_port_op;
75 }
76
77 public void setSrc_tp_port(short src_tp_port) {
78 this.src_tp_port = src_tp_port;
79 }
80
81 public short getSrc_tp_port() {
82 return this.src_tp_port;
83 }
84
85 public void setDst_ip(String dst_ip) {
86 this.dst_ip = dst_ip;
87 }
88
89 public String getDst_ip() {
90 return this.dst_ip;
91 }
92
93 public void setDst_tp_port_op(String dst_tp_port_op) {
94 this.dst_tp_port_op = dst_tp_port_op;
95 }
96
97 public String getDst_tp_port_op() {
98 return this.dst_tp_port_op;
99 }
100
101 public void setDst_tp_port(short dst_tp_port) {
102 this.dst_tp_port = dst_tp_port;
103 }
104
105 public short getDst_tp_port() {
106 return this.dst_tp_port;
107 }
108}