Class ProtocolVersion
- java.lang.Object
-
- org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.ProtocolVersion
-
- All Implemented Interfaces:
Serializable
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.TypeObject
public class ProtocolVersion extends Object implements org.opendaylight.yangtools.yang.binding.TypeObject, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProtocolVersion(Short _value)
Deprecated, for removal: This API element is subject to removal in a future version.Use {#link ProtocolVersion(Uint8)} instead.ProtocolVersion(ProtocolVersion source)
Creates a copy from Source Object.ProtocolVersion(org.opendaylight.yangtools.yang.common.Uint8 _value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static ProtocolVersion
getDefaultInstance(String defaultValue)
org.opendaylight.yangtools.yang.common.Uint8
getValue()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
ProtocolVersion
@ConstructorParameters("value") @ConstructorProperties("value") public ProtocolVersion(org.opendaylight.yangtools.yang.common.Uint8 _value)
-
ProtocolVersion
@Deprecated(forRemoval=true) public ProtocolVersion(Short _value)
Deprecated, for removal: This API element is subject to removal in a future version.Use {#link ProtocolVersion(Uint8)} instead.Utility migration constructor.- Parameters:
_value
- value in legacy Java type
-
ProtocolVersion
public ProtocolVersion(ProtocolVersion source)
Creates a copy from Source Object.- Parameters:
source
- Source object
-
-
Method Detail
-
getDefaultInstance
public static ProtocolVersion getDefaultInstance(String defaultValue)
-
getValue
public org.opendaylight.yangtools.yang.common.Uint8 getValue()
-
-