corso/src/internal/m365/graph/interfaces.go
Keepers 49bbdfc096
add getPostIDs in conversations pager (#4578)
adds the getPostIDs func to ensure conversations
complies with standard data paging patterns

---

#### Does this PR need a docs update or release note?

- [x]  No

#### Type of change

- [x] 🌻 Feature

#### Issue(s)

* #4536

#### Test Plan

- [x]  Unit test
- [x] 💚 E2E
2023-11-07 21:57:55 +00:00

30 lines
442 B
Go

package graph
import (
"time"
)
type GetIDer interface {
GetId() *string
}
type GetLastModifiedDateTimer interface {
GetLastModifiedDateTime() *time.Time
}
type GetAdditionalDataer interface {
GetAdditionalData() map[string]any
}
type GetDeletedDateTimer interface {
GetDeletedDateTime() *time.Time
}
type GetDisplayNamer interface {
GetDisplayName() *string
}
type GetParentFolderIDer interface {
GetParentFolderId() *string
}