Interface AaaAccountingEventsConfig

  • All Superinterfaces:
    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 {
           }
         }
       }
     }
     
    The schema path to identify an instance is openconfig-aaaaaa-accounting-events-config
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends AaaAccountingEventsConfig> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getEventType

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

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

        AaaAccountingEventsConfig.Record 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