You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
decort-golang-sdk/pkg/sdn/routers/policies/models.go

40 lines
716 B

4 days ago
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"`
}