-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathclient.go
More file actions
57 lines (52 loc) · 2.01 KB
/
client.go
File metadata and controls
57 lines (52 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
package apiclientgo
import (
"github.com/gleanwork/api-client-go/internal/config"
"github.com/gleanwork/api-client-go/internal/hooks"
)
type Client struct {
Activity *Activity
Announcements *Announcements
Answers *Answers
Authentication *ClientAuthentication
Chat *Chat
Agents *Agents
Collections *Collections
Documents *ClientDocuments
Insights *Insights
Messages *Messages
Pins *Pins
Search *Search
Entities *Entities
Shortcuts *ClientShortcuts
Verification *Verification
Tools *Tools
Governance *ClientGovernance
rootSDK *Glean
sdkConfiguration config.SDKConfiguration
hooks *hooks.Hooks
}
func newClient(rootSDK *Glean, sdkConfig config.SDKConfiguration, hooks *hooks.Hooks) *Client {
return &Client{
rootSDK: rootSDK,
sdkConfiguration: sdkConfig,
hooks: hooks,
Activity: newActivity(rootSDK, sdkConfig, hooks),
Announcements: newAnnouncements(rootSDK, sdkConfig, hooks),
Answers: newAnswers(rootSDK, sdkConfig, hooks),
Authentication: newClientAuthentication(rootSDK, sdkConfig, hooks),
Chat: newChat(rootSDK, sdkConfig, hooks),
Agents: newAgents(rootSDK, sdkConfig, hooks),
Collections: newCollections(rootSDK, sdkConfig, hooks),
Documents: newClientDocuments(rootSDK, sdkConfig, hooks),
Insights: newInsights(rootSDK, sdkConfig, hooks),
Messages: newMessages(rootSDK, sdkConfig, hooks),
Pins: newPins(rootSDK, sdkConfig, hooks),
Search: newSearch(rootSDK, sdkConfig, hooks),
Entities: newEntities(rootSDK, sdkConfig, hooks),
Shortcuts: newClientShortcuts(rootSDK, sdkConfig, hooks),
Verification: newVerification(rootSDK, sdkConfig, hooks),
Tools: newTools(rootSDK, sdkConfig, hooks),
Governance: newClientGovernance(rootSDK, sdkConfig, hooks),
}
}