Interface AaaAccountingEventsConfig

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 AaaAccountingEventsConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration data for AAA accounting events

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

 grouping aaa-accounting-events-config {
   leaf event-type {
     type identityref {
       base AAA_ACCOUNTING_EVENT_TYPE;
     }
   }
   leaf record {
     type enumeration {
       enum START_STOP {
       }
       enum STOP {
       }
     }
   }
 }
 
  • 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 AaaAccountingEventsConfig> 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
    • getEventType

      AAAACCOUNTINGEVENTTYPE getEventType()
      Return eventType, or null if it is not present.
           
               The type of activity to record at the AAA accounting server
           
       
      Returns:
      AAAACCOUNTINGEVENTTYPE eventType, or null if it is not present.
    • requireEventType

      default @NonNull AAAACCOUNTINGEVENTTYPE requireEventType()
      Return eventType, guaranteed to be non-null.
           
               The type of activity to record at the AAA accounting server
           
       
      Returns:
      AAAACCOUNTINGEVENTTYPE eventType, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if eventType is not present
    • getRecord

      Return record, or null if it is not present.
           
               Type of record to send to the accounting server for this activity type
           
       
      Returns:
      Record record, or null if it is not present.
    • requireRecord

      default @NonNull AaaAccountingEventsConfig.Record requireRecord()
      Return record, guaranteed to be non-null.
           
               Type of record to send to the accounting server for this activity type
           
       
      Returns:
      Record record, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if record is not present