-
Notifications
You must be signed in to change notification settings - Fork 21
/
sourcemetabasecreaterequest.go
49 lines (42 loc) · 1.17 KB
/
sourcemetabasecreaterequest.go
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
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
package shared
type SourceMetabaseCreateRequest struct {
Configuration SourceMetabase `json:"configuration"`
// The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided.
DefinitionID *string `json:"definitionId,omitempty"`
// Name of the source e.g. dev-mysql-instance.
Name string `json:"name"`
// Optional secretID obtained through the public API OAuth redirect flow.
SecretID *string `json:"secretId,omitempty"`
WorkspaceID string `json:"workspaceId"`
}
func (o *SourceMetabaseCreateRequest) GetConfiguration() SourceMetabase {
if o == nil {
return SourceMetabase{}
}
return o.Configuration
}
func (o *SourceMetabaseCreateRequest) GetDefinitionID() *string {
if o == nil {
return nil
}
return o.DefinitionID
}
func (o *SourceMetabaseCreateRequest) GetName() string {
if o == nil {
return ""
}
return o.Name
}
func (o *SourceMetabaseCreateRequest) GetSecretID() *string {
if o == nil {
return nil
}
return o.SecretID
}
func (o *SourceMetabaseCreateRequest) GetWorkspaceID() string {
if o == nil {
return ""
}
return o.WorkspaceID
}