Merge "Initial draft for the netvirt AclService yang."
[netvirt.git] / vpnservice / bgpmanager / bgpmanager-impl / src / main / java / org / opendaylight / netvirt / 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.netvirt.bgpmanager.thrift.gen;
9
10 public enum af_afi implements org.apache.thrift.TEnum {
11   AFI_IP(1);
12
13   private final int value;
14
15   af_afi(int value) {
16     this.value = value;
17   }
18
19   /**
20    * Get the integer value of this enum value, as defined in the Thrift IDL.
21    */
22   public int getValue() {
23     return value;
24   }
25
26   /**
27    * Find a the enum type by its integer value, as defined in the Thrift IDL.
28    * @return null if the value is not found.
29    */
30   public static af_afi findByValue(int value) { 
31     switch (value) {
32       case 1:
33         return AFI_IP;
34       default:
35         return null;
36     }
37   }
38 }