Interface IdAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
BandwidthLimitRules
,BaseAttributes
,Bgpvpn
,BgpvpnNetworkAssociation
,BgpvpnRouterAssociation
,DscpmarkingRules
,Firewall
,FirewallPolicy
,FirewallRule
,Floatingip
,Healthmonitor
,Ikepolicy
,Ipsecpolicy
,Ipsecsiteconnection
,L2gateway
,L2gatewayConnection
,Listener
,Loadbalancer
,Member
,MeteringLabel
,MeteringRule
,MinimumbandwidthRules
,Network
,Pool
,Port
,PortChain
,PortPair
,PortPairGroup
,QosPolicy
,Router
,SecurityGroup
,SecurityRule
,SfcFlowClassifier
,Subnet
,TapFlow
,TapService
,Trunk
,TrunkAttributes
,Vpnservice
@Generated("mdsal-binding-generator") public interface IdAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module neutron-attrs
grouping id-attributes { leaf uuid { type yang:uuid; } leaf tenant-id { status deprecated; type yang:uuid; } leaf project-id { type string { length 0..255; } } leaf revision-number { type int64; } }
The schema path to identify an instance is neutron-attrs/id-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 Deprecated Methods Modifier and Type Method Description String
getProjectId()
Return projectId, ornull
if it is not present.Long
getRevisionNumber()
Return revisionNumber, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getTenantId()
Deprecated.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getUuid()
Return uuid, ornull
if it is not present.Class<? extends IdAttributes>
implementedInterface()
default @NonNull String
requireProjectId()
Return projectId, guaranteed to be non-null.default @NonNull Long
requireRevisionNumber()
Return revisionNumber, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
requireTenantId()
Return tenantId, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
requireUuid()
Return uuid, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends IdAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getUuid
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getUuid()
Return uuid, ornull
if it is not present.UUID to index this neutron object.
- Returns:
Uuid
uuid, ornull
if it is not present.
-
requireUuid
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requireUuid()
Return uuid, guaranteed to be non-null.UUID to index this neutron object.
- Returns:
Uuid
uuid, guaranteed to be non-null.- Throws:
NoSuchElementException
- if uuid is not present
-
getTenantId
@Deprecated org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getTenantId()
Deprecated.Return tenantId, ornull
if it is not present.The UUID of the tenant that will own the object.
- Returns:
Uuid
tenantId, ornull
if it is not present.
-
requireTenantId
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requireTenantId()
Return tenantId, guaranteed to be non-null.The UUID of the tenant that will own the object.
- Returns:
Uuid
tenantId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if tenantId is not present
-
getProjectId
String getProjectId()
Return projectId, ornull
if it is not present.The id of the project.
- Returns:
String
projectId, ornull
if it is not present.
-
requireProjectId
default @NonNull String requireProjectId()
Return projectId, guaranteed to be non-null.The id of the project.
- Returns:
String
projectId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if projectId is not present
-
getRevisionNumber
Long getRevisionNumber()
Return revisionNumber, ornull
if it is not present.The revision number of the resource. Used as monotonic counter that is updated whenever an object is updated on neutron server
- Returns:
Long
revisionNumber, ornull
if it is not present.
-
requireRevisionNumber
default @NonNull Long requireRevisionNumber()
Return revisionNumber, guaranteed to be non-null.The revision number of the resource. Used as monotonic counter that is updated whenever an object is updated on neutron server
- Returns:
Long
revisionNumber, guaranteed to be non-null.- Throws:
NoSuchElementException
- if revisionNumber is not present
-
-