c10a7f36a5a76045ca97efb79335996311017784
[vfc/nfvo/driver/sfc.git] / zte / sfc-driver / sfc-driver / src / main / java / org / openo / sfc / entity / portpair / PortPairReq.java
1 /**
2  * Copyright 2016 [ZTE] and others.
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.openo.sfc.entity.portpair;
17
18 import com.google.gson.annotations.SerializedName;
19
20 import java.util.ArrayList;
21
22
23 public class PortPairReq {
24     private String uuid;
25     private PortInfo ingress;
26     private PortInfo egress;
27     @SerializedName("service-function-parameters")
28     private ArrayList<ServiceFunctionParameter> serviceFunctionParameters;
29
30     public String getUuid() {
31         return uuid;
32     }
33
34     public void setUuid(String uuid) {
35         this.uuid = uuid;
36     }
37
38     public ArrayList<ServiceFunctionParameter> getServiceFunctionParameters() {
39         return serviceFunctionParameters;
40     }
41
42     public void setServiceFunctionParameters(ArrayList<ServiceFunctionParameter> serviceFunctionParameters) {
43         this.serviceFunctionParameters = serviceFunctionParameters;
44     }
45
46     public PortInfo getIngress() {
47         return ingress;
48     }
49
50     public void setIngress(PortInfo ingress) {
51         this.ingress = ingress;
52     }
53
54     public PortInfo getEgress() {
55         return egress;
56     }
57
58     public void setEgress(PortInfo egress) {
59         this.egress = egress;
60     }
61
62
63 }