refactor(api module): enforce typed definitions (#2238)

This commit is contained in:
Damian Debkowski authored and GitHub committed 2022-07-21 15:21:31 -07:00
1 parent d6c1402223
commit c2bfcc0664
79 files changed
+906 -551

No files matched your search

+2 -2
View File
@@ -34,7 +34,7 @@ type ManagedGroupReadResult struct {
response *api.Response
}
func (n ManagedGroupReadResult) GetItem() interface{} {
func (n ManagedGroupReadResult) GetItem() *ManagedGroup {
return n.Item
}
@@ -63,7 +63,7 @@ type ManagedGroupListResult struct {
response *api.Response
}
func (n ManagedGroupListResult) GetItems() interface{} {
func (n ManagedGroupListResult) GetItems() []*ManagedGroup {
return n.Items
}