Interface AaaAccountingMethodsCommon
- 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:
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;
}
}
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classThis class represents the following YANG schema fragment defined in module openconfig-aaa -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescription@Nullable List<AaaAccountingMethodsCommon.AccountingMethod>Return accountingMethod, ornullif it is not present.Class<? extends AaaAccountingMethodsCommon>default @NonNull List<AaaAccountingMethodsCommon.AccountingMethod>Return accountingMethod, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends AaaAccountingMethodsCommon> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getAccountingMethod
@Nullable List<AaaAccountingMethodsCommon.AccountingMethod> getAccountingMethod()Return accountingMethod, ornullif 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, ornullif it is not present.
-
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
-