Interface PlatformComponentPropertiesConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface PlatformComponentPropertiesConfig extends org.opendaylight.yangtools.yang.binding.DataObject
System-defined configuration data for component propertiesThis class represents the following YANG schema fragment defined in module openconfig-platform
grouping platform-component-properties-config { leaf name { type string; } leaf value { type union { type string; type boolean; type int64; type uint64; type decimal64 { fraction-digits 2; } } } }The schema path to identify an instance is openconfig-platformplatform-component-properties-config
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPlatformComponentPropertiesConfig.Value
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetName()Return name, ornullif it is not present.PlatformComponentPropertiesConfig.ValuegetValue()Return value, ornullif it is not present.Class<? extends PlatformComponentPropertiesConfig>implementedInterface()default @NonNull StringrequireName()Return name, guaranteed to be non-null.default @NonNull PlatformComponentPropertiesConfig.ValuerequireValue()Return value, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends PlatformComponentPropertiesConfig> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getName
String getName()
Return name, ornullif it is not present.System-supplied name of the property -- this is typically non-configurable- Returns:
Stringname, ornullif it is not present.
-
requireName
default @NonNull String requireName()
Return name, guaranteed to be non-null.System-supplied name of the property -- this is typically non-configurable- Returns:
Stringname, guaranteed to be non-null.- Throws:
NoSuchElementException- if name is not present
-
getValue
PlatformComponentPropertiesConfig.Value getValue()
Return value, ornullif it is not present.Property values can take on a variety of types. Signed and unsigned integer types may be provided in smaller sizes, e.g., int8, uint16, etc.- Returns:
Valuevalue, ornullif it is not present.
-
requireValue
default @NonNull PlatformComponentPropertiesConfig.Value requireValue()
Return value, guaranteed to be non-null.Property values can take on a variety of types. Signed and unsigned integer types may be provided in smaller sizes, e.g., int8, uint16, etc.- Returns:
Valuevalue, guaranteed to be non-null.- Throws:
NoSuchElementException- if value is not present
-
-