-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathbeta.go
More file actions
29 lines (24 loc) · 767 Bytes
/
Copy pathbeta.go
File metadata and controls
29 lines (24 loc) · 767 Bytes
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
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
package openrouter
import (
"github.com/OpenRouterTeam/go-sdk/internal/config"
"github.com/OpenRouterTeam/go-sdk/internal/hooks"
)
type Beta struct {
// beta.Analytics endpoints
Analytics *BetaAnalytics
// beta.responses endpoints
Responses *Responses
rootSDK *OpenRouter
sdkConfiguration config.SDKConfiguration
hooks *hooks.Hooks
}
func newBeta(rootSDK *OpenRouter, sdkConfig config.SDKConfiguration, hooks *hooks.Hooks) *Beta {
return &Beta{
rootSDK: rootSDK,
sdkConfiguration: sdkConfig,
hooks: hooks,
Analytics: newBetaAnalytics(rootSDK, sdkConfig, hooks),
Responses: newResponses(rootSDK, sdkConfig, hooks),
}
}