Debian Codegraph @

api/requests/outputs/xx_generated.getoutputinfo.go

raw symbols SCIP
1 // This file has been automatically generated. Don't edit it.
2
3 package outputsscip-go gomod github.com/andreykaipov/goobs . `github.com/andreykaipov/goobs/api/requests/outputs`/
4
5 import (
6 requestsscip-go gomod github.com/andreykaipov/goobs . `github.com/andreykaipov/goobs/api/requests`/ "github.com/andreykaipov/goobs/api/requestsscip-go gomod github.com/andreykaipov/goobs . `github.com/andreykaipov/goobs/api/requests`/"
7 typedefsscip-go gomod github.com/andreykaipov/goobs . `github.com/andreykaipov/goobs/api/typedefs`/ "github.com/andreykaipov/goobs/api/typedefsscip-go gomod github.com/andreykaipov/goobs . `github.com/andreykaipov/goobs/api/typedefs`/"
8 )
9
10 /*
11 GetOutputInfoParams represents the params body for the "GetOutputInfo" request.
12 Get information about a single output
13 Since 4.7.0.
14 */
15 type GetOutputInfoParamsscip-go gomod github.com/andreykaipov/goobs . `github.com/andreykaipov/goobs/api/requests/outputs`/GetOutputInfoParams# struct {
16 requestsscip-go gomod github.com/andreykaipov/goobs . `github.com/andreykaipov/goobs/api/requests`/.ParamsBasicscip-go gomod github.com/andreykaipov/goobs . `github.com/andreykaipov/goobs/api/requests/outputs`/GetOutputInfoParams#ParamsBasic.
17
18 // Output name
19 OutputNamescip-go gomod github.com/andreykaipov/goobs . `github.com/andreykaipov/goobs/api/requests/outputs`/GetOutputInfoParams#OutputName. string `json:"outputName,omitempty"`
20 }
21
22 // GetSelfName just returns "GetOutputInfo".
23 func (o *GetOutputInfoParamsscip-go gomod github.com/andreykaipov/goobs . `github.com/andreykaipov/goobs/api/requests/outputs`/GetOutputInfoParams#) GetSelfNamescip-go gomod github.com/andreykaipov/goobs . `github.com/andreykaipov/goobs/api/requests/outputs`/GetOutputInfoParams#GetSelfName().() string {
24 return "GetOutputInfo"
25 }
26
27 /*
28 GetOutputInfoResponse represents the response body for the "GetOutputInfo" request.
29 Get information about a single output
30 Since v4.7.0.
31 */
32 type GetOutputInfoResponsescip-go gomod github.com/andreykaipov/goobs . `github.com/andreykaipov/goobs/api/requests/outputs`/GetOutputInfoResponse# struct {
33 requestsscip-go gomod github.com/andreykaipov/goobs . `github.com/andreykaipov/goobs/api/requests`/.ResponseBasicscip-go gomod github.com/andreykaipov/goobs . `github.com/andreykaipov/goobs/api/requests/outputs`/GetOutputInfoResponse#ResponseBasic.
34
35 // Output info
36 OutputInfoscip-go gomod github.com/andreykaipov/goobs . `github.com/andreykaipov/goobs/api/requests/outputs`/GetOutputInfoResponse#OutputInfo. typedefsscip-go gomod github.com/andreykaipov/goobs . `github.com/andreykaipov/goobs/api/typedefs`/.Outputscip-go gomod github.com/andreykaipov/goobs . `github.com/andreykaipov/goobs/api/typedefs`/Output# `json:"outputInfo,omitempty"`
37 }
38
39 // GetOutputInfo sends the corresponding request to the connected OBS WebSockets server.
40 func (c *Clientscip-go gomod github.com/andreykaipov/goobs . `github.com/andreykaipov/goobs/api/requests/outputs`/Client#) GetOutputInfoscip-go gomod github.com/andreykaipov/goobs . `github.com/andreykaipov/goobs/api/requests/outputs`/Client#GetOutputInfo().(params *GetOutputInfoParamsscip-go gomod github.com/andreykaipov/goobs . `github.com/andreykaipov/goobs/api/requests/outputs`/GetOutputInfoParams#) (*GetOutputInfoResponsescip-go gomod github.com/andreykaipov/goobs . `github.com/andreykaipov/goobs/api/requests/outputs`/GetOutputInfoResponse#, error) {
41 data := &GetOutputInfoResponsescip-go gomod github.com/andreykaipov/goobs . `github.com/andreykaipov/goobs/api/requests/outputs`/GetOutputInfoResponse#{}
42 if err := c.SendRequestscip-go gomod github.com/andreykaipov/goobs . `github.com/andreykaipov/goobs/api/requests`/Client#SendRequest().(params, data); err != nil {
43 return nil, err
44 }
45 return data, nil
46 }