Files
decort-golang-sdk/pkg/cloudapi/sep/ids.go
2025-04-09 11:21:07 +03:00

11 lines
220 B
Go

package sep
// IDs gets array of SEPIDs from ListSEP struct
func (ls ListAvailableSEP) IDs() []uint64 {
res := make([]uint64, 0, len(ls.Data))
for _, s := range ls.Data {
res = append(res, s.SEPID)
}
return res
}