Interface AdminAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Bgpvpn
,BgpvpnNetworkAssociation
,BgpvpnRouterAssociation
,Firewall
,Ipsecsiteconnection
,Loadbalancer
,Network
,Port
,Router
,Trunk
,TrunkAttributes
,Vpnservice
@Generated("mdsal-binding-generator") public interface AdminAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module neutron-attrs
grouping admin-attributes { leaf admin-state-up { type boolean; } leaf status { type string; } }
The schema path to identify an instance is neutron-attrs/admin-attributes
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Boolean
getAdminStateUp()
Return adminStateUp, ornull
if it is not present.String
getStatus()
Return status, ornull
if it is not present.Class<? extends AdminAttributes>
implementedInterface()
default @NonNull Boolean
requireAdminStateUp()
Return adminStateUp, guaranteed to be non-null.default @NonNull String
requireStatus()
Return status, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends AdminAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getAdminStateUp
Boolean getAdminStateUp()
Return adminStateUp, ornull
if it is not present.The administrative state of the object, which is up (true) or down (false).
- Returns:
Boolean
adminStateUp, ornull
if it is not present.
-
requireAdminStateUp
default @NonNull Boolean requireAdminStateUp()
Return adminStateUp, guaranteed to be non-null.The administrative state of the object, which is up (true) or down (false).
- Returns:
Boolean
adminStateUp, guaranteed to be non-null.- Throws:
NoSuchElementException
- if adminStateUp is not present
-
getStatus
String getStatus()
Return status, ornull
if it is not present.The object status.
- Returns:
String
status, ornull
if it is not present.
-
requireStatus
default @NonNull String requireStatus()
Return status, guaranteed to be non-null.The object status.
- Returns:
String
status, guaranteed to be non-null.- Throws:
NoSuchElementException
- if status is not present
-
-