Class AaaAuthenticationConfig.AuthenticationMethod

java.lang.Object
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.aaa.rev200730.AaaAuthenticationConfig.AuthenticationMethod
All Implemented Interfaces:
Serializable, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.TypeObject, org.opendaylight.yangtools.yang.binding.UnionTypeObject
Enclosing interface:
AaaAuthenticationConfig

public static final class AaaAuthenticationConfig.AuthenticationMethod extends Object implements org.opendaylight.yangtools.yang.binding.UnionTypeObject, Serializable

This class represents the following YANG schema fragment defined in module openconfig-aaa

 leaf-list authentication-method {
   type union {
     type identityref {
       base AAA_METHOD_TYPE;
     }
     type string;
   }
   ordered-by user;
 }
 
See Also:
  • Constructor Details

    • AuthenticationMethod

      public AuthenticationMethod(AAAMETHODTYPE _aAAMETHODTYPE)
    • AuthenticationMethod

      public AuthenticationMethod(String _string)
    • AuthenticationMethod

      public AuthenticationMethod(AaaAuthenticationConfig.AuthenticationMethod source)
      Creates a copy from Source Object.
      Parameters:
      source - Source object
  • Method Details

    • stringValue

      public String stringValue()
      Return a String representing the value of this union.
      Returns:
      String representation of this union's value.
    • getAAAMETHODTYPE

      public AAAMETHODTYPE getAAAMETHODTYPE()
    • getString

      public String getString()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object