Interface CopyConfigRequest

All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, 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 Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return destination, or null if it is not present.
    Return overwrite, or null if it is not present.
    Return source, or null if it is not present.
     
    default @NonNull String
    Return destination, guaranteed to be non-null.
    default @NonNull Boolean
    Return overwrite, guaranteed to be non-null.
    default @NonNull String
    Return source, guaranteed to be non-null.
  • Field Details

    • QNAME

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

    • implementedInterface

      Class<? extends CopyConfigRequest> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<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