Interface KnockKnockInput

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<KnockKnockInput>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.RpcInput

    public interface KnockKnockInput
    extends org.opendaylight.yangtools.yang.binding.RpcInput, org.opendaylight.yangtools.yang.binding.Augmentable<KnockKnockInput>

    This class represents the following YANG schema fragment defined in module opendaylight-of-migration-test-model

     input input {
       leaf knocker-id {
         ext:context-reference routed:test-context;
         type instance-identifier;
       }
       leaf question {
         type string;
       }
     }
     
    The schema path to identify an instance is opendaylight-of-migration-test-model/knock-knock/input

    To create instances of this class use KnockKnockInputBuilder.

    See Also:
    KnockKnockInputBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<KnockKnockInput> 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
      • getKnockerId

        @RoutingContext(TestContext.class)
        @Nullable org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> getKnockerId()
        Returns:
        org.opendaylight.yangtools.yang.binding.InstanceIdentifier knockerId, or null if not present
      • getQuestion

        @Nullable String getQuestion()
        Returns:
        java.lang.String question, or null if not present