Interface Icmpv6MatchFields
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Icmpv6Match
@Generated("mdsal-binding-generator")
public interface Icmpv6MatchFields
extends org.opendaylight.yangtools.yang.binding.DataObject
ICMP code.
This class represents the following YANG schema fragment defined in module opendaylight-match-types
grouping icmpv6-match-fields { leaf icmpv6-type { type uint8; } leaf icmpv6-code { type uint8; } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.Uint8
Return icmpv6Code, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint8
Return icmpv6Type, ornull
if it is not present.Class<? extends Icmpv6MatchFields>
default @NonNull org.opendaylight.yangtools.yang.common.Uint8
Return icmpv6Code, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint8
Return icmpv6Type, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends Icmpv6MatchFields> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getIcmpv6Type
org.opendaylight.yangtools.yang.common.Uint8 getIcmpv6Type()Return icmpv6Type, ornull
if it is not present.ICMP type.
- Returns:
Uint8
icmpv6Type, ornull
if it is not present.
-
requireIcmpv6Type
default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireIcmpv6Type()Return icmpv6Type, guaranteed to be non-null.ICMP type.
- Returns:
Uint8
icmpv6Type, guaranteed to be non-null.- Throws:
NoSuchElementException
- if icmpv6Type is not present
-
getIcmpv6Code
org.opendaylight.yangtools.yang.common.Uint8 getIcmpv6Code()Return icmpv6Code, ornull
if it is not present.- Returns:
Uint8
icmpv6Code, ornull
if it is not present.
-
requireIcmpv6Code
default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireIcmpv6Code()Return icmpv6Code, guaranteed to be non-null.- Returns:
Uint8
icmpv6Code, guaranteed to be non-null.- Throws:
NoSuchElementException
- if icmpv6Code is not present
-