All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
All Known Subinterfaces:
ConnectionParameters, Security

@Generated("mdsal-binding-generator") public interface Credentials extends org.opendaylight.yangtools.yang.binding.DataObject

This class represents the following YANG schema fragment defined in module gnmi-topology

 grouping credentials {
   container credentials {
     leaf username {
       type string;
     }
     leaf password {
       type string;
     }
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return credentials, or null if it is not present.
    Class<? extends Credentials>
     
    @NonNull Credentials
    Return credentials, or an empty instance if it is not present.
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends Credentials> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getCredentials

      Credentials getCredentials()
      Return credentials, or null if it is not present.
      Returns:
      org.opendaylight.yang.gen.v1.urn.lighty.gnmi.topology.rev210316.credentials.Credentials credentials, or null if it is not present.
    • nonnullCredentials

      @NonNull Credentials nonnullCredentials()
      Return credentials, or an empty instance if it is not present.
      Returns:
      org.opendaylight.yang.gen.v1.urn.lighty.gnmi.topology.rev210316.credentials.Credentials credentials, or an empty instance if it is not present.