Functions and interfaces moved to interact properly with connector package. Fields are no longer exported until the required functions are moved to the exchange package.
15 lines
536 B
Go
15 lines
536 B
Go
package graph
|
|
|
|
import msgraphsdk "github.com/microsoftgraph/msgraph-sdk-go"
|
|
|
|
type Service interface {
|
|
// Client() returns msgraph Service client that can be used to process and execute
|
|
// the majority of the queries to the M365 Backstore
|
|
Client() *msgraphsdk.GraphServiceClient
|
|
// Adapter() returns GraphRequest adapter used to process large requests, create batches
|
|
// and page iterators
|
|
Adapter() *msgraphsdk.GraphRequestAdapter
|
|
// ErrPolicy returns if the service is implementing a Fast-Fail policy or not
|
|
ErrPolicy() bool
|
|
}
|