Interface CNotification

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<CNotification>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<NotificationObject>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, Object, ObjectHeader

    public interface CNotification
    extends org.opendaylight.yangtools.yang.binding.ChildOf<NotificationObject>, org.opendaylight.yangtools.yang.binding.Augmentable<CNotification>, Object

    This class represents the following YANG schema fragment defined in module pcep-types

     container c-notification {
       uses object;
       container tlvs {
         when "../type = 2 and ../value = 1";
         uses overload-duration-tlv;
         uses vendor-information-tlvs;
       }
       leaf type {
         type uint8;
       }
       leaf value {
         type uint8;
       }
     }
     
    The schema path to identify an instance is pcep-types/notification-object/c-notification

    To create instances of this class use CNotificationBuilder.

    See Also:
    CNotificationBuilder
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default Class<CNotification> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface Object
        Specified by:
        implementedInterface in interface ObjectHeader
      • getTlvs

        @Nullable Tlvs getTlvs()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.notification.object.c.notification.Tlvs tlvs, or null if not present
      • getType

        @Nullable org.opendaylight.yangtools.yang.common.Uint8 getType()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint8 type, or null if not present
      • getValue

        @Nullable org.opendaylight.yangtools.yang.common.Uint8 getValue()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint8 value, or null if not present