Interface PlatformComponentTempState

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

@Generated("mdsal-binding-generator") public interface PlatformComponentTempState extends org.opendaylight.yangtools.yang.binding.DataObject
Temperature state data for device components

This class represents the following YANG schema fragment defined in module openconfig-platform

 grouping platform-component-temp-state {
   container temperature {
     uses oc-platform-types:avg-min-max-instant-stats-precision1-celsius;
     uses platform-component-temp-alarm-state;
   }
 }
 
  • 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 PlatformComponentTempState> 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
    • getTemperature

      Temperature getTemperature()
      Return temperature, or null if it is not present.
           
               Temperature in degrees Celsius of the component. Values include the
               instantaneous, average, minimum, and maximum statistics. If avg/min/max
               statistics are not supported, the target is expected to just supply the instant
               value
           
       
      Returns:
      Temperature temperature, or null if it is not present.
    • nonnullTemperature

      @NonNull Temperature nonnullTemperature()
      Return temperature, or an empty instance if it is not present.
      Returns:
      Temperature temperature, or an empty instance if it is not present.