Files
dynamix-golang-sdk/pkg/sdn/secpolicies/rule/ids.go
2025-11-14 17:59:31 +03:00

11 lines
219 B
Go

package rule
// IDs gets array of IDs from SecurityRulesList struct
func (srl SecurityRulesList) IDs() []string {
res := make([]string, 0, len(srl))
for _, c := range srl {
res = append(res, c.ID)
}
return res
}