Interface AaaAccountingMethodsCommon

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    AaaAccountingConfig, Config, State

    @Generated("mdsal-binding-generator")
    public interface AaaAccountingMethodsCommon
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Common definitions for accounting methods

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

     grouping aaa-accounting-methods-common {
       leaf-list accounting-method {
         type union {
           type identityref {
             base AAA_METHOD_TYPE;
           }
           type string;
         }
         ordered-by user;
       }
     }
     
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • Method Detail

      • implementedInterface

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

        @Nullable List<AaaAccountingMethodsCommon.AccountingMethod> getAccountingMethod()
        Return accountingMethod, or null if it is not present.
             
                 An ordered list of methods used for AAA accounting for this event type. The
                 method is defined by the destination for accounting data, which may be specified
                 as the group of all TACACS+/RADIUS servers, a defined server group, or the local
                 system.
             
         
        Returns:
        List<AccountingMethod> accountingMethod, or null if it is not present.
      • requireAccountingMethod

        default @NonNull List<AaaAccountingMethodsCommon.AccountingMethod> requireAccountingMethod()
        Return accountingMethod, guaranteed to be non-null.
             
                 An ordered list of methods used for AAA accounting for this event type. The
                 method is defined by the destination for accounting data, which may be specified
                 as the group of all TACACS+/RADIUS servers, a defined server group, or the local
                 system.
             
         
        Returns:
        List<AccountingMethod> accountingMethod, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if accountingMethod is not present