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

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opendaylight.yangtools.yang.common.Uint8
    Return icmpv6Code, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint8
    Return icmpv6Type, or null if it is not present.
     
    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 QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends Icmpv6MatchFields> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getIcmpv6Type

      org.opendaylight.yangtools.yang.common.Uint8 getIcmpv6Type()
      Return icmpv6Type, or null if it is not present.
           
               ICMP type.
           
       
      Returns:
      Uint8 icmpv6Type, or null 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, or null if it is not present.
      Returns:
      Uint8 icmpv6Code, or null 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