package policies

type PoliciesList []Policy

// Policy information
type Policy struct {
	// Action
	Action string `json:"action"`

	// Created time
	CreatedAt string `json:"created_at"`

	// Display name
	DisplayName string `json:"display_name"`

	// Enabled flag
	Enabled bool `json:"enabled"`

	// ID
	ID string `json:"id"`

	// Match criteria
	Match map[string]interface{} `json:"match"`

	// Next IPv4 addresses list
	NextIPv4Address []string `json:"next_ipv4_address"`

	// Next IPv6 addresses list
	NextIPv6Address []string `json:"next_ipv6_address"`

	// Priority
	Priority int `json:"priority"`

	// Updated time
	UpdatedAt string `json:"updated_at"`

	// Version ID
	VersionID uint64 `json:"version_id"`
}
