firewall_policies.go
func (c *Client) CreateFirewallPolicy(policyOptions *FirewallPolicyOptions) (*FirewallPolicy, error) {
	policy := new(FirewallPolicy)
	_, err := c.MakeApiRequest("POST", "/1.0/firewall_policies", policyOptions, &policy)
	if err != nil {
		return nil, err
	}
	return policy, nil
}
func (c *Client) CreateFirewallPolicy(policyOptions *FirewallPolicyOptions) (*FirewallPolicy, error) {
	policy := new(FirewallPolicy)
	_, err := c.MakeApiRequest("POST", "/1.0/firewall_policies", policyOptions, &policy)
	if err != nil {
		return nil, err
	}
	return policy, nil
}
func ( c * Client ) CreateFirewallPolicy ( policyOptions * FirewallPolicyOptions ) ( * FirewallPolicy , error ) { policy := new ( FirewallPolicy ) _ , err := c . MakeApiRequest ( " " , " " , policyOptions , & policy ) if err != nil { return nil , err } return policy , nil }
// CreateFirewallPolicy creates a new firewall policy.
//
// It takes a FirewallPolicyOptions struct for specifying name and other
// attributes. Not all attributes can be specified at create time (such as Id,
// which is allocated for you)
CreateFirewallPolicy creates a new firewall policy . It takes a FirewallPolicyOptions struct for specifying name and other attributes . Not all attributes can be specified at create time ( such as Id which is allocated for you )