Interface MultipartReplyDesc

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<MultipartReplyDesc>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<MultipartReply>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    @Generated("mdsal-binding-generator")
    public interface MultipartReplyDesc
    extends org.opendaylight.yangtools.yang.binding.ChildOf<MultipartReply>, org.opendaylight.yangtools.yang.binding.Augmentable<MultipartReplyDesc>

    This class represents the following YANG schema fragment defined in module openflow-protocol

     container multipart-reply-desc {
       leaf mfr_desc {
         type string;
       }
       leaf hw_desc {
         type string;
       }
       leaf sw_desc {
         type string;
       }
       leaf serial_num {
         type string;
       }
       leaf dp_desc {
         type string;
       }
     }
     

    To create instances of this class use MultipartReplyDescBuilder.

    See Also:
    MultipartReplyDescBuilder
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • Method Detail

      • implementedInterface

        default Class<MultipartReplyDesc> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • bindingHashCode

        static int bindingHashCode​(@NonNull MultipartReplyDesc obj)
        Default implementation of Object.hashCode() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.
        Parameters:
        obj - Object for which to generate hashCode() result.
        Returns:
        Hash code value of data modeled by this interface.
        Throws:
        NullPointerException - if obj is null
      • bindingEquals

        static boolean bindingEquals​(@NonNull MultipartReplyDesc thisObj,
                                     Object obj)
        Default implementation of Object.equals(Object) contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.
        Parameters:
        thisObj - Object acting as the receiver of equals invocation
        obj - Object acting as argument to equals invocation
        Returns:
        True if thisObj and obj are considered equal
        Throws:
        NullPointerException - if thisObj is null
      • bindingToString

        static String bindingToString​(@NonNull MultipartReplyDesc obj)
        Default implementation of Object.toString() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.
        Parameters:
        obj - Object for which to generate toString() result.
        Returns:
        String value of data modeled by this interface.
        Throws:
        NullPointerException - if obj is null
      • getMfrDesc

        String getMfrDesc()
        Return mfrDesc, or null if it is not present.
        Returns:
        String mfrDesc, or null if it is not present.
      • requireMfrDesc

        default @NonNull String requireMfrDesc()
        Return mfrDesc, guaranteed to be non-null.
        Returns:
        String mfrDesc, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if mfrDesc is not present
      • getHwDesc

        String getHwDesc()
        Return hwDesc, or null if it is not present.
        Returns:
        String hwDesc, or null if it is not present.
      • requireHwDesc

        default @NonNull String requireHwDesc()
        Return hwDesc, guaranteed to be non-null.
        Returns:
        String hwDesc, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if hwDesc is not present
      • getSwDesc

        String getSwDesc()
        Return swDesc, or null if it is not present.
        Returns:
        String swDesc, or null if it is not present.
      • requireSwDesc

        default @NonNull String requireSwDesc()
        Return swDesc, guaranteed to be non-null.
        Returns:
        String swDesc, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if swDesc is not present
      • getSerialNum

        String getSerialNum()
        Return serialNum, or null if it is not present.
        Returns:
        String serialNum, or null if it is not present.
      • requireSerialNum

        default @NonNull String requireSerialNum()
        Return serialNum, guaranteed to be non-null.
        Returns:
        String serialNum, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if serialNum is not present
      • getDpDesc

        String getDpDesc()
        Return dpDesc, or null if it is not present.
        Returns:
        String dpDesc, or null if it is not present.
      • requireDpDesc

        default @NonNull String requireDpDesc()
        Return dpDesc, guaranteed to be non-null.
        Returns:
        String dpDesc, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if dpDesc is not present