Interface IntextIpProtocolType

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<IntextIpProtocolType>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<IpPortMapping>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<IntextIpProtocolTypeKey>

    public interface IntextIpProtocolType
    extends org.opendaylight.yangtools.yang.binding.ChildOf<IpPortMapping>, org.opendaylight.yangtools.yang.binding.Augmentable<IntextIpProtocolType>, org.opendaylight.yangtools.yang.binding.Identifiable<IntextIpProtocolTypeKey>

    This class represents the following YANG schema fragment defined in module odl-nat

     list intext-ip-protocol-type {
       key protocol;
       leaf protocol {
         type protocol-types;
       }
       list ip-port-map {
         key ip-port-internal;
         leaf ip-port-internal {
           type string;
         }
         container ip-port-external {
           uses ip-port-entity;
         }
       }
     }
     
    The schema path to identify an instance is odl-nat/intext-ip-port-map/ip-port-mapping/intext-ip-protocol-type

    To create instances of this class use IntextIpProtocolTypeBuilder.

    See Also:
    IntextIpProtocolTypeBuilder, IntextIpProtocolTypeKey
    • Field Detail

      • QNAME

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

      • implementedInterface

        default java.lang.Class<IntextIpProtocolType> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getProtocol

        @Nullable ProtocolTypes getProtocol()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.natservice.rev160111.ProtocolTypes protocol, or null if not present
      • getIpPortMap

        @Nullable java.util.List<IpPortMap> getIpPortMap()
        internal to external ip-port mapping
        Returns:
        java.util.List ipPortMap, or null if not present
      • nonnullIpPortMap

        default @NonNull java.util.List<IpPortMap> nonnullIpPortMap()
        Returns:
        java.util.List ipPortMap, or an empty list if it is not present