diff --git a/vngcloud/entity/listener.go b/vngcloud/entity/listener.go index b8a7573..76cd433 100644 --- a/vngcloud/entity/listener.go +++ b/vngcloud/entity/listener.go @@ -43,6 +43,10 @@ func (s *Listener) GetId() string { return s.UUID } +func (s *Listener) GetDefaultPoolId() string { + return s.DefaultPoolId +} + func (s *ListListeners) At(index int) *Listener { if index < 0 || index >= len(s.Items) { return nil