Interface RsvpErrorSpec

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<RsvpErrorSpec>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<RsvpErrorSpecTlv>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, Tlv

    public interface RsvpErrorSpec
    extends org.opendaylight.yangtools.yang.binding.ChildOf<RsvpErrorSpecTlv>, org.opendaylight.yangtools.yang.binding.Augmentable<RsvpErrorSpec>, Tlv

    This class represents the following YANG schema fragment defined in module odl-pcep-ietf-stateful

     container rsvp-error-spec {
       uses pcep:tlv;
       choice error-type {
         case rsvp-case {
           container rsvp-error {
             uses rsvp:error-spec;
           }
         }
         case user-case {
           container user-error {
             uses rsvp:user-error-spec;
           }
         }
       }
     }
     
    The schema path to identify an instance is odl-pcep-ietf-stateful/rsvp-error-spec-tlv/rsvp-error-spec

    To create instances of this class use RsvpErrorSpecBuilder.

    See Also:
    RsvpErrorSpecBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<RsvpErrorSpec> 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 Tlv
      • getErrorType

        ErrorType getErrorType()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.ietf.stateful.rev200720.rsvp.error.spec.tlv.rsvp.error.spec.ErrorType errorType, or null if not present