/
command.go
69 lines (56 loc) · 2.17 KB
/
command.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// Code generated by cdpgen. DO NOT EDIT.
package cast
// EnableArgs represents the arguments for Enable in the Cast domain.
type EnableArgs struct {
PresentationURL *string `json:"presentationUrl,omitempty"` // No description.
}
// NewEnableArgs initializes EnableArgs with the required arguments.
func NewEnableArgs() *EnableArgs {
args := new(EnableArgs)
return args
}
// SetPresentationURL sets the PresentationURL optional argument.
func (a *EnableArgs) SetPresentationURL(presentationURL string) *EnableArgs {
a.PresentationURL = &presentationURL
return a
}
// SetSinkToUseArgs represents the arguments for SetSinkToUse in the Cast domain.
type SetSinkToUseArgs struct {
SinkName string `json:"sinkName"` // No description.
}
// NewSetSinkToUseArgs initializes SetSinkToUseArgs with the required arguments.
func NewSetSinkToUseArgs(sinkName string) *SetSinkToUseArgs {
args := new(SetSinkToUseArgs)
args.SinkName = sinkName
return args
}
// StartDesktopMirroringArgs represents the arguments for StartDesktopMirroring in the Cast domain.
type StartDesktopMirroringArgs struct {
SinkName string `json:"sinkName"` // No description.
}
// NewStartDesktopMirroringArgs initializes StartDesktopMirroringArgs with the required arguments.
func NewStartDesktopMirroringArgs(sinkName string) *StartDesktopMirroringArgs {
args := new(StartDesktopMirroringArgs)
args.SinkName = sinkName
return args
}
// StartTabMirroringArgs represents the arguments for StartTabMirroring in the Cast domain.
type StartTabMirroringArgs struct {
SinkName string `json:"sinkName"` // No description.
}
// NewStartTabMirroringArgs initializes StartTabMirroringArgs with the required arguments.
func NewStartTabMirroringArgs(sinkName string) *StartTabMirroringArgs {
args := new(StartTabMirroringArgs)
args.SinkName = sinkName
return args
}
// StopCastingArgs represents the arguments for StopCasting in the Cast domain.
type StopCastingArgs struct {
SinkName string `json:"sinkName"` // No description.
}
// NewStopCastingArgs initializes StopCastingArgs with the required arguments.
func NewStopCastingArgs(sinkName string) *StopCastingArgs {
args := new(StopCastingArgs)
args.SinkName = sinkName
return args
}