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
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn destination, ornullif it is not present.Return overwrite, ornullif it is not present.Return source, ornullif it is not present.Class<? extends CopyConfigRequest>default @NonNull StringReturn destination, guaranteed to be non-null.default @NonNull BooleanReturn overwrite, guaranteed to be non-null.default @NonNull StringReturn source, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends CopyConfigRequest> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getSource
String getSource()Return source, ornullif it is not present.- Returns:
Stringsource, ornullif it is not present.
-
requireSource
Return source, guaranteed to be non-null.- Returns:
Stringsource, guaranteed to be non-null.- Throws:
NoSuchElementException- if source is not present
-
getOverwrite
Boolean getOverwrite()Return overwrite, ornullif it is not present.- Returns:
Booleanoverwrite, ornullif it is not present.
-
requireOverwrite
Return overwrite, guaranteed to be non-null.- Returns:
Booleanoverwrite, guaranteed to be non-null.- Throws:
NoSuchElementException- if overwrite is not present
-
getDestination
String getDestination()Return destination, ornullif it is not present.- Returns:
Stringdestination, ornullif it is not present.
-
requireDestination
Return destination, guaranteed to be non-null.- Returns:
Stringdestination, guaranteed to be non-null.- Throws:
NoSuchElementException- if destination is not present
-