override hashCode for sonar
[vfc/nfvo/driver/sfc.git] / zte / sfc-driver / sfc-driver / src / main / java / org / onap / sfc / entity / FlowClassfierReq.java
1 /**
2  * Copyright 2016 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.sfc.entity;
17
18 import com.google.gson.annotations.SerializedName;
19
20 public class FlowClassfierReq {
21     private String protocol;
22     @SerializedName("source-port-range-min")
23     private int sourcePortRangeMin;
24     @SerializedName("source-port-range-max")
25     private int sourcePortRangeMax;
26     @SerializedName("destination-port-range-min")
27     private int destinationPortRangeMin;
28     @SerializedName("destination-port-range-max")
29     private int destinationPortRangeMax;
30     @SerializedName("source-ip-range")
31     private String sourceIpRange;
32     @SerializedName("destination-ip-range")
33     private String destinationIpRange;
34     @SerializedName("ip-dscp")
35     private long ipDscp;
36     private String uuid;
37
38     public String getUuid() {
39         return uuid;
40     }
41
42     public void setUuid(String uuid) {
43         this.uuid = uuid;
44     }
45
46     public long getIpDscp() {
47         return ipDscp;
48     }
49
50     public void setIpDscp(long ipDscp) {
51         this.ipDscp = ipDscp;
52     }
53
54     public String getProtocol() {
55         return protocol;
56     }
57
58     public void setProtocol(String protocol) {
59         this.protocol = protocol;
60     }
61
62     public int getSourcePortRangeMin() {
63         return sourcePortRangeMin;
64     }
65
66     public void setSourcePortRangeMin(int sourcePortRangeMin) {
67         this.sourcePortRangeMin = sourcePortRangeMin;
68     }
69
70     public int getSourcePortRangeMax() {
71         return sourcePortRangeMax;
72     }
73
74     public void setSourcePortRangeMax(int sourcePortRangeMax) {
75         this.sourcePortRangeMax = sourcePortRangeMax;
76     }
77
78     public int getDestinationPortRangeMin() {
79         return destinationPortRangeMin;
80     }
81
82     public void setDestinationPortRangeMin(int destinationPortRangeMin) {
83         this.destinationPortRangeMin = destinationPortRangeMin;
84     }
85
86     public int getDestinationPortRangeMax() {
87         return destinationPortRangeMax;
88     }
89
90     public void setDestinationPortRangeMax(int destinationPortRangeMax) {
91         this.destinationPortRangeMax = destinationPortRangeMax;
92     }
93
94
95     public String getSrcIpRange() {
96         return sourceIpRange;
97     }
98
99     public void setSrcIpRange(String srcIpRange) {
100         this.sourceIpRange = srcIpRange;
101     }
102
103     public String getDestinationIpRange() {
104         return destinationIpRange;
105     }
106
107     public void setDestinationIpRange(String destinationIpRange) {
108         this.destinationIpRange = destinationIpRange;
109     }
110 }