Interface RoleRequest
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,OfHeader
- All Known Subinterfaces:
RoleRequestInput
@Generated("mdsal-binding-generator") public interface RoleRequest extends org.opendaylight.yangtools.yang.binding.DataObject, OfHeader
This class represents the following YANG schema fragment defined in module openflow-protocol
grouping role-request { uses ofHeader; leaf role { type oft:controller-role; } leaf generation-id { type uint64; } }
The schema path to identify an instance is openflow-protocol/role-request
-
-
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 Modifier and Type Method Description org.opendaylight.yangtools.yang.common.Uint64
getGenerationId()
Return generationId, ornull
if it is not present.ControllerRole
getRole()
Return role, ornull
if it is not present.Class<? extends RoleRequest>
implementedInterface()
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader
getVersion, getXid
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends RoleRequest> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceOfHeader
-
getRole
ControllerRole getRole()
Return role, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.ControllerRole
role, ornull
if it is not present.
-
getGenerationId
org.opendaylight.yangtools.yang.common.Uint64 getGenerationId()
Return generationId, ornull
if it is not present.- Returns:
org.opendaylight.yangtools.yang.common.Uint64
generationId, ornull
if it is not present.
-
-