Interface CopyConfigRequest

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

    @Generated("mdsal-binding-generator")
    public interface CopyConfigRequest
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module sonic-gnoi-yang

     grouping CopyConfigRequest {
       leaf source {
         type string;
       }
       leaf overwrite {
         type boolean;
       }
       leaf destination {
         type string;
       }
     }
     
    • 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

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

        String getSource()
        Return source, or null if it is not present.
        Returns:
        String source, or null if it is not present.
      • requireSource

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

        Boolean getOverwrite()
        Return overwrite, or null if it is not present.
        Returns:
        Boolean overwrite, or null if it is not present.
      • requireOverwrite

        default @NonNull Boolean requireOverwrite()
        Return overwrite, guaranteed to be non-null.
        Returns:
        Boolean overwrite, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if overwrite is not present
      • getDestination

        String getDestination()
        Return destination, or null if it is not present.
        Returns:
        String destination, or null if it is not present.
      • requireDestination

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