Add mapstructure tags on Policy result
diff --git a/openstack/networking/v2/extensions/fwaas/policies/results.go b/openstack/networking/v2/extensions/fwaas/policies/results.go
index 98246db..a9a0c35 100644
--- a/openstack/networking/v2/extensions/fwaas/policies/results.go
+++ b/openstack/networking/v2/extensions/fwaas/policies/results.go
@@ -7,9 +7,12 @@
)
type Policy struct {
- ID string `json:"id"`
- Name string `json:"name"`
- Description string `json:"description"`
+ ID string `json:"id" mapstructure:"id"`
+ Name string `json:"name" mapstructure:"name"`
+ Description string `json:"description" mapstructure:"description"`
+ TenantID string `json:"tenant_id" mapstructure:"tenant_id"`
+ Audited bool `json:"audited" mapstructure:"audited"`
+ Shared bool `json:"shared" mapstructure:"shared"`
Rules []string `json:"firewall_rules,omitempty" mapstructure:"firewall_rules"`
}