public interface Toaster extends org.opendaylight.yangtools.yang.binding.ChildOf<ToasterData>, org.opendaylight.yangtools.yang.binding.Augmentable<Toaster>
This class represents the following YANG schema fragment defined in module toaster
container toaster {
presence "Indicates the toaster service is available";
leaf toasterManufacturer {
type DisplayString;
config false;
}
leaf toasterModelNumber {
type DisplayString;
config false;
}
leaf toasterStatus {
type enumeration {
enum up {
value 1;
}
enum down {
value 2;
}
}
config false;
}
leaf darknessFactor {
type uint32;
default 1000;
}
}
The schema path to identify an instance is
toaster/toaster
To create instances of this class use ToasterBuilder.
ToasterBuilder| Modifier and Type | Interface and Description |
|---|---|
static class |
Toaster.ToasterStatus |
| Modifier and Type | Field and Description |
|---|---|
static @NonNull org.opendaylight.yangtools.yang.common.QName |
QNAME |
| Modifier and Type | Method and Description |
|---|---|
@Nullable Long |
getDarknessFactor()
The darkness factor.
|
@Nullable DisplayString |
getToasterManufacturer()
The name of the toaster's manufacturer.
|
@Nullable DisplayString |
getToasterModelNumber()
The name of the toaster's model.
|
@Nullable Toaster.ToasterStatus |
getToasterStatus()
This variable indicates the current state of the toaster.
|
default Class<Toaster> |
implementedInterface() |
default Class<Toaster> implementedInterface()
implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainerimplementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject@Nullable DisplayString getToasterManufacturer()
org.opendaylight.yang.gen.v1.http.netconfcentral.org.ns.toaster.rev091120.DisplayString toasterManufacturer, or null if not present@Nullable DisplayString getToasterModelNumber()
org.opendaylight.yang.gen.v1.http.netconfcentral.org.ns.toaster.rev091120.DisplayString toasterModelNumber, or null if not present@Nullable Toaster.ToasterStatus getToasterStatus()
org.opendaylight.yang.gen.v1.http.netconfcentral.org.ns.toaster.rev091120.Toaster.ToasterStatus toasterStatus, or null if not present@Nullable Long getDarknessFactor()
java.lang.Long darknessFactor, or null if not presentCopyright © 2019 OpenDaylight. All rights reserved.