Interface CreateSubscriptionInput
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<CreateSubscriptionInput>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject,org.opendaylight.yangtools.yang.binding.RpcInput
@Generated("mdsal-binding-generator") public interface CreateSubscriptionInput extends org.opendaylight.yangtools.yang.binding.RpcInput, org.opendaylight.yangtools.yang.binding.Augmentable<CreateSubscriptionInput>
This class represents the following YANG schema fragment defined in module notifications
input input { leaf stream { type streamNameType; default NETCONF; } anyxml filter { } leaf startTime { type yang:date-and-time; } leaf stopTime { type yang:date-and-time; } }The schema path to identify an instance is notifications/create-subscription/input
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static booleanbindingEquals(@NonNull CreateSubscriptionInput thisObj, Object obj)Default implementation ofObject.equals(Object)contract for this interface.static intbindingHashCode(@NonNull CreateSubscriptionInput obj)Default implementation ofObject.hashCode()contract for this interface.static StringbindingToString(@NonNull CreateSubscriptionInput obj)Default implementation ofObject.toString()contract for this interface.FiltergetFilter()Return filter, ornullif it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTimegetStartTime()Return startTime, ornullif it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTimegetStopTime()Return stopTime, ornullif it is not present.StreamNameTypegetStream()Return stream, ornullif it is not present.default Class<CreateSubscriptionInput>implementedInterface()
-
-
-
Method Detail
-
implementedInterface
default Class<CreateSubscriptionInput> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.RpcInput
-
bindingHashCode
static int bindingHashCode(@NonNull CreateSubscriptionInput obj)
Default implementation ofObject.hashCode()contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.- Parameters:
obj- Object for which to generate hashCode() result.- Returns:
- Hash code value of data modeled by this interface.
- Throws:
NullPointerException- ifobjis null
-
bindingEquals
static boolean bindingEquals(@NonNull CreateSubscriptionInput thisObj, Object obj)
Default implementation ofObject.equals(Object)contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.- Parameters:
thisObj- Object acting as the receiver of equals invocationobj- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
NullPointerException- ifthisObjis null
-
bindingToString
static String bindingToString(@NonNull CreateSubscriptionInput obj)
Default implementation ofObject.toString()contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.- Parameters:
obj- Object for which to generate toString() result.- Returns:
Stringvalue of data modeled by this interface.- Throws:
NullPointerException- ifobjis null
-
getStream
StreamNameType getStream()
Return stream, ornullif it is not present.An optional parameter that indicates which stream of events is of interest. If not present, then events in the default NETCONF stream will be sent.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netconf.notification._1._0.rev080714.StreamNameTypestream, ornullif it is not present.
-
getFilter
Filter getFilter()
Return filter, ornullif it is not present.An optional parameter that indicates which subset of all possible events is of interest. The format of this parameter is the same as that of the filter parameter in the NETCONF protocol operations. If not present, all events not precluded by other parameters will be sent.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netconf.notification._1._0.rev080714.create.subscription.input.Filterfilter, ornullif it is not present.
-
getStartTime
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime getStartTime()
Return startTime, ornullif it is not present.A parameter used to trigger the replay feature and indicates that the replay should start at the time specified. If start time is not present, this is not a replay subscription.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTimestartTime, ornullif it is not present.
-
getStopTime
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime getStopTime()
Return stopTime, ornullif it is not present.An optional parameter used with the optional replay feature to indicate the newest notifications of interest. If stop time is not present, the notifications will continue until the subscription is terminated. Must be used with startTime.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTimestopTime, ornullif it is not present.
-
-