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 Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default Class<CreateSubscriptionInput> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.RpcInput
      • bindingHashCode

        static int bindingHashCode​(@NonNull CreateSubscriptionInput obj)
        Default implementation of Object.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 - if obj is null
      • bindingEquals

        static boolean bindingEquals​(@NonNull CreateSubscriptionInput thisObj,
                                     Object obj)
        Default implementation of Object.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 invocation
        obj - Object acting as argument to equals invocation
        Returns:
        True if thisObj and obj are considered equal
        Throws:
        NullPointerException - if thisObj is null
      • bindingToString

        static String bindingToString​(@NonNull CreateSubscriptionInput obj)
        Default implementation of Object.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:
        String value of data modeled by this interface.
        Throws:
        NullPointerException - if obj is null
      • getStream

        StreamNameType getStream()
        Return stream, or null if 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.StreamNameType stream, or null if it is not present.
      • getFilter

        Filter getFilter()
        Return filter, or null if 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.Filter filter, or null if it is not present.
      • getStartTime

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime getStartTime()
        Return startTime, or null if 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.DateAndTime startTime, or null if it is not present.
      • getStopTime

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime getStopTime()
        Return stopTime, or null if 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.DateAndTime stopTime, or null if it is not present.