Interface MessagesState

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    State

    @Generated("mdsal-binding-generator")
    public interface MessagesState
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Operational state data for Syslog messages.

    This class represents the following YANG schema fragment defined in module openconfig-messages

     grouping messages-state {
       container message {
         oc-ext:telemetry-atomic;
         config false;
         leaf msg {
           type string;
         }
         leaf priority {
           type uint8;
         }
         leaf app-name {
           type string;
         }
         leaf procid {
           type string;
         }
         leaf msgid {
           type string;
         }
       }
     }
     
    The schema path to identify an instance is openconfig-messagesmessages-state
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        Message getMessage()
        Return message, or null if it is not present.
             
                 Syslog messages the client is Subscribing to. This is all messages currently
                 configured to be sent according to syslog-severity.
             
         
        Returns:
        Message message, or null if it is not present.