Files
decort-golang-sdk/pkg/cloudbroker/sep/ids.go
2023-11-03 11:17:45 +03:00

11 lines
208 B
Go

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