Files
dynamix-golang-sdk/pkg/sdn/secpolicies/rule/ids.go

11 lines
219 B
Go
Raw Normal View History

2025-11-14 17:59:31 +03:00
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
}