-
Notifications
You must be signed in to change notification settings - Fork 21
/
sourcesurveysparrowcreaterequest.go
49 lines (42 loc) · 1.21 KB
/
sourcesurveysparrowcreaterequest.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 SourceSurveySparrowCreateRequest struct {
Configuration SourceSurveySparrow `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 *SourceSurveySparrowCreateRequest) GetConfiguration() SourceSurveySparrow {
if o == nil {
return SourceSurveySparrow{}
}
return o.Configuration
}
func (o *SourceSurveySparrowCreateRequest) GetDefinitionID() *string {
if o == nil {
return nil
}
return o.DefinitionID
}
func (o *SourceSurveySparrowCreateRequest) GetName() string {
if o == nil {
return ""
}
return o.Name
}
func (o *SourceSurveySparrowCreateRequest) GetSecretID() *string {
if o == nil {
return nil
}
return o.SecretID
}
func (o *SourceSurveySparrowCreateRequest) GetWorkspaceID() string {
if o == nil {
return ""
}
return o.WorkspaceID
}