Interface PlatformComponentPropertiesConfig

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:
Config, State

@Generated("mdsal-binding-generator") public interface PlatformComponentPropertiesConfig extends org.opendaylight.yangtools.yang.binding.DataObject
System-defined configuration data for component properties

This 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;
       }
     }
   }
 }
 
  • 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 PlatformComponentPropertiesConfig> 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
    • getName

      String getName()
      Return name, or null if it is not present.
           
               System-supplied name of the property -- this is typically non-configurable
           
       
      Returns:
      String name, or null if 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:
      String name, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if name is not present
    • getValue

      Return value, or null if 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:
      Value value, or null if 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:
      Value value, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if value is not present