Class BgpSetMedType
java.lang.Object
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.policy.rev151009.BgpSetMedType
- All Implemented Interfaces:
Serializable
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.TypeObject
,org.opendaylight.yangtools.yang.binding.UnionTypeObject
@Generated("mdsal-binding-generator")
public class BgpSetMedType
extends Object
implements org.opendaylight.yangtools.yang.binding.UnionTypeObject, Serializable
This class represents the following YANG schema fragment defined in module openconfig-bgp-policy
typedef bgp-set-med-type { type union { type uint32; type string { pattern ^[+-][0-9]+; } type enumeration { enum IGP { } } } }
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
This class represents the following YANG schema fragment defined in module openconfig-bgp-policy -
Field Summary
-
Constructor Summary
ConstructorDescriptionBgpSetMedType
(String _string) BgpSetMedType
(BgpSetMedType source) Creates a copy from Source Object.BgpSetMedType
(BgpSetMedType.Enumeration _enumeration) BgpSetMedType
(org.opendaylight.yangtools.yang.common.Uint32 _uint32) -
Method Summary
-
Field Details
-
PATTERN_CONSTANTS
-
-
Constructor Details
-
BgpSetMedType
public BgpSetMedType(org.opendaylight.yangtools.yang.common.Uint32 _uint32) -
BgpSetMedType
-
BgpSetMedType
-
BgpSetMedType
Creates a copy from Source Object.- Parameters:
source
- Source object
-
-
Method Details
-
stringValue
Return a String representing the value of this union.- Returns:
- String representation of this union's value.
-
getUint32
public org.opendaylight.yangtools.yang.common.Uint32 getUint32() -
getString
-
getEnumeration
-
hashCode
public int hashCode() -
equals
-
toString
-