-
Notifications
You must be signed in to change notification settings - Fork 0
/
githubtriggeractionrequest.go
52 lines (45 loc) · 1.14 KB
/
githubtriggeractionrequest.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
50
51
52
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
package shared
// GithubTriggerActionRequest - A request to trigger an action on a GitHub target
type GithubTriggerActionRequest struct {
// The generation lock ID
GenLockID string `json:"gen_lock_id"`
// The GitHub organization name
Org string `json:"org"`
// The GitHub repository name
RepoName string `json:"repo_name"`
// A version to override the SDK too in workflow dispatch
SetVersion *string `json:"set_version,omitempty"`
// The target name for the action
TargetName *string `json:"target_name,omitempty"`
}
func (o *GithubTriggerActionRequest) GetGenLockID() string {
if o == nil {
return ""
}
return o.GenLockID
}
func (o *GithubTriggerActionRequest) GetOrg() string {
if o == nil {
return ""
}
return o.Org
}
func (o *GithubTriggerActionRequest) GetRepoName() string {
if o == nil {
return ""
}
return o.RepoName
}
func (o *GithubTriggerActionRequest) GetSetVersion() *string {
if o == nil {
return nil
}
return o.SetVersion
}
func (o *GithubTriggerActionRequest) GetTargetName() *string {
if o == nil {
return nil
}
return o.TargetName
}