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.sfc.entity;
18 import com.google.gson.annotations.SerializedName;
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")
38 public String getUuid() {
42 public void setUuid(String uuid) {
46 public long getIpDscp() {
50 public void setIpDscp(long ipDscp) {
54 public String getProtocol() {
58 public void setProtocol(String protocol) {
59 this.protocol = protocol;
62 public int getSourcePortRangeMin() {
63 return sourcePortRangeMin;
66 public void setSourcePortRangeMin(int sourcePortRangeMin) {
67 this.sourcePortRangeMin = sourcePortRangeMin;
70 public int getSourcePortRangeMax() {
71 return sourcePortRangeMax;
74 public void setSourcePortRangeMax(int sourcePortRangeMax) {
75 this.sourcePortRangeMax = sourcePortRangeMax;
78 public int getDestinationPortRangeMin() {
79 return destinationPortRangeMin;
82 public void setDestinationPortRangeMin(int destinationPortRangeMin) {
83 this.destinationPortRangeMin = destinationPortRangeMin;
86 public int getDestinationPortRangeMax() {
87 return destinationPortRangeMax;
90 public void setDestinationPortRangeMax(int destinationPortRangeMax) {
91 this.destinationPortRangeMax = destinationPortRangeMax;
95 public String getSrcIpRange() {
99 public void setSrcIpRange(String srcIpRange) {
100 this.sourceIpRange = srcIpRange;
103 public String getDestinationIpRange() {
104 return destinationIpRange;
107 public void setDestinationIpRange(String destinationIpRange) {
108 this.destinationIpRange = destinationIpRange;