github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/firewall_section_rule_list.go (about)

     1  /* Copyright © 2017 VMware, Inc. All Rights Reserved.
     2     SPDX-License-Identifier: BSD-2-Clause
     3  
     4     Generated by: https://github.com/swagger-api/swagger-codegen.git */
     5  
     6  package manager
     7  
     8  type FirewallSectionRuleList struct {
     9  	FirewallSection
    10  
    11  	// List of firewall rules in the section. Only homogenous rules are supported.
    12  	Rules []FirewallRule `json:"rules"`
    13  }
    14  
    15  func (b *FirewallSection) GetFirewallSection() *FirewallSection {
    16  	return b
    17  }
    18  
    19  type BaseFirewallSection interface {
    20  	GetFirewallSection() *FirewallSection
    21  }