Interface FirewallPolicyAttributes

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    FirewallPolicy

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

    This class represents the following YANG schema fragment defined in module neutron-fwaas

     grouping firewall-policy-attributes {
       leaf shared {
         type boolean;
       }
       leaf audited {
         type boolean;
       }
     }
     
    The schema path to identify an instance is neutron-fwaas/firewall-policy-attributes
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        Boolean getShared()
        Return shared, or null if it is not present.
             
                 whether the firewall policy is shared or not
             
         
        Returns:
        Boolean shared, or null if it is not present.
      • requireShared

        default @NonNull Boolean requireShared()
        Return shared, guaranteed to be non-null.
             
                 whether the firewall policy is shared or not
             
         
        Returns:
        Boolean shared, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if shared is not present
      • getAudited

        Boolean getAudited()
        Return audited, or null if it is not present.
             
                 whether the firewall policy is audited or not
             
         
        Returns:
        Boolean audited, or null if it is not present.
      • requireAudited

        default @NonNull Boolean requireAudited()
        Return audited, guaranteed to be non-null.
             
                 whether the firewall policy is audited or not
             
         
        Returns:
        Boolean audited, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if audited is not present