Updated BgpManager for Be
[vpnservice.git] / bgpmanager / bgpmanager-impl / src / main / java / org / opendaylight / bgpmanager / thrift / gen / af_afi.java
1 /**
2  * Autogenerated by Thrift Compiler (0.9.1)
3  *
4  * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5  *  @generated
6  */
7
8 package org.opendaylight.bgpmanager.thrift.gen;
9
10 import java.util.Map;
11 import java.util.HashMap;
12 import org.apache.thrift.TEnum;
13
14 public enum af_afi implements org.apache.thrift.TEnum {
15   AFI_IP(1);
16
17   private final int value;
18
19   private af_afi(int value) {
20     this.value = value;
21   }
22
23   /**
24    * Get the integer value of this enum value, as defined in the Thrift IDL.
25    */
26   public int getValue() {
27     return value;
28   }
29
30   /**
31    * Find a the enum type by its integer value, as defined in the Thrift IDL.
32    * @return null if the value is not found.
33    */
34   public static af_afi findByValue(int value) { 
35     switch (value) {
36       case 1:
37         return AFI_IP;
38       default:
39         return null;
40     }
41   }
42 }