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 Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAMEYANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetDestination()Return destination, ornullif it is not present.BooleangetOverwrite()Return overwrite, ornullif it is not present.StringgetSource()Return source, ornullif it is not present.Class<? extends CopyConfigRequest>implementedInterface()default @NonNull StringrequireDestination()Return destination, guaranteed to be non-null.default @NonNull BooleanrequireOverwrite()Return overwrite, guaranteed to be non-null.default @NonNull StringrequireSource()Return source, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends CopyConfigRequest> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.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
default @NonNull String 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
default @NonNull Boolean 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
default @NonNull String requireDestination()
Return destination, guaranteed to be non-null.- Returns:
Stringdestination, guaranteed to be non-null.- Throws:
NoSuchElementException- if destination is not present
-
-