Interface ErrorMessage

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

    @Generated("mdsal-binding-generator")
    public interface ErrorMessage
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Error message structure.

    This class represents the following YANG schema fragment defined in module node-ssl-connection-error

     grouping error-message {
       leaf type {
         type ssl-error-type;
       }
       leaf code {
         type uint16;
       }
       leaf node-ip-address {
         type inet:ip-address;
       }
       leaf data {
         type string;
       }
     }
     
    The schema path to identify an instance is node-ssl-connection-error/error-message
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME  
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        SslErrorType getType()
        Return type, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.node.ssl.connection.error.service.rev190723.SslErrorType type, or null if it is not present.
      • getCode

        org.opendaylight.yangtools.yang.common.Uint16 getCode()
        Return code, or null if it is not present.
             
                 Error code.
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 code, or null if it is not present.
      • getNodeIpAddress

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getNodeIpAddress()
        Return nodeIpAddress, or null if it is not present.
             
                 Connecting Node IP address.
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress nodeIpAddress, or null if it is not present.
      • getData

        String getData()
        Return data, or null if it is not present.
             
                 Node SSL error cause.
             
         
        Returns:
        java.lang.String data, or null if it is not present.