sceneitems

package
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 2 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client represents a client for 'scene items' requests.

func NewClient added in v1.0.0

func NewClient(c *api.Client) *Client

NewSceneItems returns a new 'scene items' client.

func (*Client) CreateSceneItem

func (c *Client) CreateSceneItem(paramss ...*CreateSceneItemParams) (*CreateSceneItemResponse, error)

Creates a new scene item using a source.

Scenes only

func (*Client) DuplicateSceneItem

func (c *Client) DuplicateSceneItem(params *DuplicateSceneItemParams) (*DuplicateSceneItemResponse, error)

Duplicates a scene item, copying all transform and crop info.

Scenes only

func (*Client) GetGroupSceneItemList added in v0.11.0

func (c *Client) GetGroupSceneItemList(
	paramss ...*GetGroupSceneItemListParams,
) (*GetGroupSceneItemListResponse, error)

Basically GetSceneItemList, but for groups.

Using groups at all in OBS is discouraged, as they are very broken under the hood. Please use nested scenes instead.

Groups only

func (*Client) GetSceneItemBlendMode

func (c *Client) GetSceneItemBlendMode(params *GetSceneItemBlendModeParams) (*GetSceneItemBlendModeResponse, error)

Gets the blend mode of a scene item.

Blend modes:

- `OBS_BLEND_NORMAL` - `OBS_BLEND_ADDITIVE` - `OBS_BLEND_SUBTRACT` - `OBS_BLEND_SCREEN` - `OBS_BLEND_MULTIPLY` - `OBS_BLEND_LIGHTEN` - `OBS_BLEND_DARKEN`

Scenes and Groups

func (*Client) GetSceneItemEnabled

func (c *Client) GetSceneItemEnabled(params *GetSceneItemEnabledParams) (*GetSceneItemEnabledResponse, error)

Gets the enable state of a scene item.

Scenes and Groups

func (*Client) GetSceneItemId

func (c *Client) GetSceneItemId(params *GetSceneItemIdParams) (*GetSceneItemIdResponse, error)

Searches a scene for a source, and returns its id.

Scenes and Groups

func (*Client) GetSceneItemIndex

func (c *Client) GetSceneItemIndex(params *GetSceneItemIndexParams) (*GetSceneItemIndexResponse, error)

Gets the index position of a scene item in a scene.

An index of 0 is at the bottom of the source list in the UI.

Scenes and Groups

func (*Client) GetSceneItemList

func (c *Client) GetSceneItemList(paramss ...*GetSceneItemListParams) (*GetSceneItemListResponse, error)

Gets a list of all scene items in a scene.

Scenes only

func (*Client) GetSceneItemLocked

func (c *Client) GetSceneItemLocked(params *GetSceneItemLockedParams) (*GetSceneItemLockedResponse, error)

Gets the lock state of a scene item.

Scenes and Groups

func (*Client) GetSceneItemSource added in v1.2.0

func (c *Client) GetSceneItemSource(params *GetSceneItemSourceParams) (*GetSceneItemSourceResponse, error)

Gets the source associated with a scene item.

func (*Client) GetSceneItemTransform

func (c *Client) GetSceneItemTransform(params *GetSceneItemTransformParams) (*GetSceneItemTransformResponse, error)

Gets the transform and crop info of a scene item.

Scenes and Groups

func (*Client) RemoveSceneItem

func (c *Client) RemoveSceneItem(params *RemoveSceneItemParams) (*RemoveSceneItemResponse, error)

Removes a scene item from a scene.

Scenes only

func (*Client) SetSceneItemBlendMode

func (c *Client) SetSceneItemBlendMode(params *SetSceneItemBlendModeParams) (*SetSceneItemBlendModeResponse, error)

Sets the blend mode of a scene item.

Scenes and Groups

func (*Client) SetSceneItemEnabled

func (c *Client) SetSceneItemEnabled(params *SetSceneItemEnabledParams) (*SetSceneItemEnabledResponse, error)

Sets the enable state of a scene item.

Scenes and Groups

func (*Client) SetSceneItemIndex

func (c *Client) SetSceneItemIndex(params *SetSceneItemIndexParams) (*SetSceneItemIndexResponse, error)

Sets the index position of a scene item in a scene.

Scenes and Groups

func (*Client) SetSceneItemLocked

func (c *Client) SetSceneItemLocked(params *SetSceneItemLockedParams) (*SetSceneItemLockedResponse, error)

Sets the lock state of a scene item.

Scenes and Group

func (*Client) SetSceneItemTransform

func (c *Client) SetSceneItemTransform(params *SetSceneItemTransformParams) (*SetSceneItemTransformResponse, error)

Sets the transform and crop info of a scene item.

type CreateSceneItemParams

type CreateSceneItemParams struct {
	// Enable state to apply to the scene item on creation
	SceneItemEnabled *bool `json:"sceneItemEnabled,omitempty"`

	// Name of the scene to create the new item in
	SceneName *string `json:"sceneName,omitempty"`

	// UUID of the scene to create the new item in
	SceneUuid *string `json:"sceneUuid,omitempty"`

	// Name of the source to add to the scene
	SourceName *string `json:"sourceName,omitempty"`

	// UUID of the source to add to the scene
	SourceUuid *string `json:"sourceUuid,omitempty"`
}

Represents the request body for the CreateSceneItem request.

func NewCreateSceneItemParams added in v1.0.0

func NewCreateSceneItemParams() *CreateSceneItemParams

func (*CreateSceneItemParams) GetRequestName

func (o *CreateSceneItemParams) GetRequestName() string

Returns the associated request.

func (*CreateSceneItemParams) WithSceneItemEnabled added in v1.0.0

func (o *CreateSceneItemParams) WithSceneItemEnabled(x bool) *CreateSceneItemParams

func (*CreateSceneItemParams) WithSceneName added in v1.0.0

func (o *CreateSceneItemParams) WithSceneName(x string) *CreateSceneItemParams

func (*CreateSceneItemParams) WithSceneUuid added in v1.2.0

func (o *CreateSceneItemParams) WithSceneUuid(x string) *CreateSceneItemParams

func (*CreateSceneItemParams) WithSourceName added in v1.0.0

func (o *CreateSceneItemParams) WithSourceName(x string) *CreateSceneItemParams

func (*CreateSceneItemParams) WithSourceUuid added in v1.2.0

func (o *CreateSceneItemParams) WithSourceUuid(x string) *CreateSceneItemParams

type CreateSceneItemResponse

type CreateSceneItemResponse struct {

	// Numeric ID of the scene item
	SceneItemId int `json:"sceneItemId,omitempty"`
	// contains filtered or unexported fields
}

Represents the response body for the CreateSceneItem request.

type DuplicateSceneItemParams

type DuplicateSceneItemParams struct {
	// Name of the scene to create the duplicated item in
	DestinationSceneName *string `json:"destinationSceneName,omitempty"`

	// UUID of the scene to create the duplicated item in
	DestinationSceneUuid *string `json:"destinationSceneUuid,omitempty"`

	// Numeric ID of the scene item
	SceneItemId *int `json:"sceneItemId,omitempty"`

	// Name of the scene the item is in
	SceneName *string `json:"sceneName,omitempty"`

	// UUID of the scene the item is in
	SceneUuid *string `json:"sceneUuid,omitempty"`
}

Represents the request body for the DuplicateSceneItem request.

func NewDuplicateSceneItemParams added in v1.0.0

func NewDuplicateSceneItemParams() *DuplicateSceneItemParams

func (*DuplicateSceneItemParams) GetRequestName

func (o *DuplicateSceneItemParams) GetRequestName() string

Returns the associated request.

func (*DuplicateSceneItemParams) WithDestinationSceneName added in v1.0.0

func (o *DuplicateSceneItemParams) WithDestinationSceneName(x string) *DuplicateSceneItemParams

func (*DuplicateSceneItemParams) WithDestinationSceneUuid added in v1.2.0

func (o *DuplicateSceneItemParams) WithDestinationSceneUuid(x string) *DuplicateSceneItemParams

func (*DuplicateSceneItemParams) WithSceneItemId added in v1.0.0

func (o *DuplicateSceneItemParams) WithSceneItemId(x int) *DuplicateSceneItemParams

func (*DuplicateSceneItemParams) WithSceneName added in v1.0.0

func (*DuplicateSceneItemParams) WithSceneUuid added in v1.2.0

type DuplicateSceneItemResponse

type DuplicateSceneItemResponse struct {

	// Numeric ID of the duplicated scene item
	SceneItemId int `json:"sceneItemId,omitempty"`
	// contains filtered or unexported fields
}

Represents the response body for the DuplicateSceneItem request.

type GetGroupSceneItemListParams added in v0.11.0

type GetGroupSceneItemListParams struct {
	// Name of the group to get the items of
	SceneName *string `json:"sceneName,omitempty"`

	// UUID of the group to get the items of
	SceneUuid *string `json:"sceneUuid,omitempty"`
}

Represents the request body for the GetGroupSceneItemList request.

func NewGetGroupSceneItemListParams added in v1.0.0

func NewGetGroupSceneItemListParams() *GetGroupSceneItemListParams

func (*GetGroupSceneItemListParams) GetRequestName added in v0.11.0

func (o *GetGroupSceneItemListParams) GetRequestName() string

Returns the associated request.

func (*GetGroupSceneItemListParams) WithSceneName added in v1.0.0

func (*GetGroupSceneItemListParams) WithSceneUuid added in v1.2.0

type GetGroupSceneItemListResponse added in v0.11.0

type GetGroupSceneItemListResponse struct {

	// Array of scene items in the group
	SceneItems []*typedefs.SceneItem `json:"sceneItems,omitempty"`
	// contains filtered or unexported fields
}

Represents the response body for the GetGroupSceneItemList request.

type GetSceneItemBlendModeParams

type GetSceneItemBlendModeParams struct {
	// Numeric ID of the scene item
	SceneItemId *int `json:"sceneItemId,omitempty"`

	// Name of the scene the item is in
	SceneName *string `json:"sceneName,omitempty"`

	// UUID of the scene the item is in
	SceneUuid *string `json:"sceneUuid,omitempty"`
}

Represents the request body for the GetSceneItemBlendMode request.

func NewGetSceneItemBlendModeParams added in v1.0.0

func NewGetSceneItemBlendModeParams() *GetSceneItemBlendModeParams

func (*GetSceneItemBlendModeParams) GetRequestName

func (o *GetSceneItemBlendModeParams) GetRequestName() string

Returns the associated request.

func (*GetSceneItemBlendModeParams) WithSceneItemId added in v1.0.0

func (*GetSceneItemBlendModeParams) WithSceneName added in v1.0.0

func (*GetSceneItemBlendModeParams) WithSceneUuid added in v1.2.0

type GetSceneItemBlendModeResponse

type GetSceneItemBlendModeResponse struct {

	// Current blend mode
	SceneItemBlendMode string `json:"sceneItemBlendMode,omitempty"`
	// contains filtered or unexported fields
}

Represents the response body for the GetSceneItemBlendMode request.

type GetSceneItemEnabledParams

type GetSceneItemEnabledParams struct {
	// Numeric ID of the scene item
	SceneItemId *int `json:"sceneItemId,omitempty"`

	// Name of the scene the item is in
	SceneName *string `json:"sceneName,omitempty"`

	// UUID of the scene the item is in
	SceneUuid *string `json:"sceneUuid,omitempty"`
}

Represents the request body for the GetSceneItemEnabled request.

func NewGetSceneItemEnabledParams added in v1.0.0

func NewGetSceneItemEnabledParams() *GetSceneItemEnabledParams

func (*GetSceneItemEnabledParams) GetRequestName

func (o *GetSceneItemEnabledParams) GetRequestName() string

Returns the associated request.

func (*GetSceneItemEnabledParams) WithSceneItemId added in v1.0.0

func (*GetSceneItemEnabledParams) WithSceneName added in v1.0.0

func (*GetSceneItemEnabledParams) WithSceneUuid added in v1.2.0

type GetSceneItemEnabledResponse

type GetSceneItemEnabledResponse struct {

	// Whether the scene item is enabled. `true` for enabled, `false` for disabled
	SceneItemEnabled bool `json:"sceneItemEnabled,omitempty"`
	// contains filtered or unexported fields
}

Represents the response body for the GetSceneItemEnabled request.

type GetSceneItemIdParams

type GetSceneItemIdParams struct {
	// Name of the scene or group to search in
	SceneName *string `json:"sceneName,omitempty"`

	// UUID of the scene or group to search in
	SceneUuid *string `json:"sceneUuid,omitempty"`

	// Number of matches to skip during search. >= 0 means first forward. -1 means last (top) item
	SearchOffset *float64 `json:"searchOffset,omitempty"`

	// Name of the source to find
	SourceName *string `json:"sourceName,omitempty"`
}

Represents the request body for the GetSceneItemId request.

func NewGetSceneItemIdParams added in v1.0.0

func NewGetSceneItemIdParams() *GetSceneItemIdParams

func (*GetSceneItemIdParams) GetRequestName

func (o *GetSceneItemIdParams) GetRequestName() string

Returns the associated request.

func (*GetSceneItemIdParams) WithSceneName added in v1.0.0

func (o *GetSceneItemIdParams) WithSceneName(x string) *GetSceneItemIdParams

func (*GetSceneItemIdParams) WithSceneUuid added in v1.2.0

func (o *GetSceneItemIdParams) WithSceneUuid(x string) *GetSceneItemIdParams

func (*GetSceneItemIdParams) WithSearchOffset added in v1.0.0

func (o *GetSceneItemIdParams) WithSearchOffset(x float64) *GetSceneItemIdParams

func (*GetSceneItemIdParams) WithSourceName added in v1.0.0

func (o *GetSceneItemIdParams) WithSourceName(x string) *GetSceneItemIdParams

type GetSceneItemIdResponse

type GetSceneItemIdResponse struct {

	// Numeric ID of the scene item
	SceneItemId int `json:"sceneItemId,omitempty"`
	// contains filtered or unexported fields
}

Represents the response body for the GetSceneItemId request.

type GetSceneItemIndexParams

type GetSceneItemIndexParams struct {
	// Numeric ID of the scene item
	SceneItemId *int `json:"sceneItemId,omitempty"`

	// Name of the scene the item is in
	SceneName *string `json:"sceneName,omitempty"`

	// UUID of the scene the item is in
	SceneUuid *string `json:"sceneUuid,omitempty"`
}

Represents the request body for the GetSceneItemIndex request.

func NewGetSceneItemIndexParams added in v1.0.0

func NewGetSceneItemIndexParams() *GetSceneItemIndexParams

func (*GetSceneItemIndexParams) GetRequestName

func (o *GetSceneItemIndexParams) GetRequestName() string

Returns the associated request.

func (*GetSceneItemIndexParams) WithSceneItemId added in v1.0.0

func (o *GetSceneItemIndexParams) WithSceneItemId(x int) *GetSceneItemIndexParams

func (*GetSceneItemIndexParams) WithSceneName added in v1.0.0

func (*GetSceneItemIndexParams) WithSceneUuid added in v1.2.0

type GetSceneItemIndexResponse

type GetSceneItemIndexResponse struct {

	// Index position of the scene item
	SceneItemIndex int `json:"sceneItemIndex,omitempty"`
	// contains filtered or unexported fields
}

Represents the response body for the GetSceneItemIndex request.

type GetSceneItemListParams

type GetSceneItemListParams struct {
	// Name of the scene to get the items of
	SceneName *string `json:"sceneName,omitempty"`

	// UUID of the scene to get the items of
	SceneUuid *string `json:"sceneUuid,omitempty"`
}

Represents the request body for the GetSceneItemList request.

func NewGetSceneItemListParams added in v1.0.0

func NewGetSceneItemListParams() *GetSceneItemListParams

func (*GetSceneItemListParams) GetRequestName

func (o *GetSceneItemListParams) GetRequestName() string

Returns the associated request.

func (*GetSceneItemListParams) WithSceneName added in v1.0.0

func (*GetSceneItemListParams) WithSceneUuid added in v1.2.0

type GetSceneItemListResponse

type GetSceneItemListResponse struct {

	// Array of scene items in the scene
	SceneItems []*typedefs.SceneItem `json:"sceneItems,omitempty"`
	// contains filtered or unexported fields
}

Represents the response body for the GetSceneItemList request.

type GetSceneItemLockedParams

type GetSceneItemLockedParams struct {
	// Numeric ID of the scene item
	SceneItemId *int `json:"sceneItemId,omitempty"`

	// Name of the scene the item is in
	SceneName *string `json:"sceneName,omitempty"`

	// UUID of the scene the item is in
	SceneUuid *string `json:"sceneUuid,omitempty"`
}

Represents the request body for the GetSceneItemLocked request.

func NewGetSceneItemLockedParams added in v1.0.0

func NewGetSceneItemLockedParams() *GetSceneItemLockedParams

func (*GetSceneItemLockedParams) GetRequestName

func (o *GetSceneItemLockedParams) GetRequestName() string

Returns the associated request.

func (*GetSceneItemLockedParams) WithSceneItemId added in v1.0.0

func (o *GetSceneItemLockedParams) WithSceneItemId(x int) *GetSceneItemLockedParams

func (*GetSceneItemLockedParams) WithSceneName added in v1.0.0

func (*GetSceneItemLockedParams) WithSceneUuid added in v1.2.0

type GetSceneItemLockedResponse

type GetSceneItemLockedResponse struct {

	// Whether the scene item is locked. `true` for locked, `false` for unlocked
	SceneItemLocked bool `json:"sceneItemLocked,omitempty"`
	// contains filtered or unexported fields
}

Represents the response body for the GetSceneItemLocked request.

type GetSceneItemSourceParams added in v1.2.0

type GetSceneItemSourceParams struct {
	// Numeric ID of the scene item
	SceneItemId *int `json:"sceneItemId,omitempty"`

	// Name of the scene the item is in
	SceneName *string `json:"sceneName,omitempty"`

	// UUID of the scene the item is in
	SceneUuid *string `json:"sceneUuid,omitempty"`
}

Represents the request body for the GetSceneItemSource request.

func NewGetSceneItemSourceParams added in v1.2.0

func NewGetSceneItemSourceParams() *GetSceneItemSourceParams

func (*GetSceneItemSourceParams) GetRequestName added in v1.2.0

func (o *GetSceneItemSourceParams) GetRequestName() string

Returns the associated request.

func (*GetSceneItemSourceParams) WithSceneItemId added in v1.2.0

func (o *GetSceneItemSourceParams) WithSceneItemId(x int) *GetSceneItemSourceParams

func (*GetSceneItemSourceParams) WithSceneName added in v1.2.0

func (*GetSceneItemSourceParams) WithSceneUuid added in v1.2.0

type GetSceneItemSourceResponse added in v1.2.0

type GetSceneItemSourceResponse struct {

	// Name of the source associated with the scene item
	SourceName string `json:"sourceName,omitempty"`

	// UUID of the source associated with the scene item
	SourceUuid string `json:"sourceUuid,omitempty"`
	// contains filtered or unexported fields
}

Represents the response body for the GetSceneItemSource request.

type GetSceneItemTransformParams

type GetSceneItemTransformParams struct {
	// Numeric ID of the scene item
	SceneItemId *int `json:"sceneItemId,omitempty"`

	// Name of the scene the item is in
	SceneName *string `json:"sceneName,omitempty"`

	// UUID of the scene the item is in
	SceneUuid *string `json:"sceneUuid,omitempty"`
}

Represents the request body for the GetSceneItemTransform request.

func NewGetSceneItemTransformParams added in v1.0.0

func NewGetSceneItemTransformParams() *GetSceneItemTransformParams

func (*GetSceneItemTransformParams) GetRequestName

func (o *GetSceneItemTransformParams) GetRequestName() string

Returns the associated request.

func (*GetSceneItemTransformParams) WithSceneItemId added in v1.0.0

func (*GetSceneItemTransformParams) WithSceneName added in v1.0.0

func (*GetSceneItemTransformParams) WithSceneUuid added in v1.2.0

type GetSceneItemTransformResponse

type GetSceneItemTransformResponse struct {

	// Object containing scene item transform info
	SceneItemTransform *typedefs.SceneItemTransform `json:"sceneItemTransform,omitempty"`
	// contains filtered or unexported fields
}

Represents the response body for the GetSceneItemTransform request.

type RemoveSceneItemParams

type RemoveSceneItemParams struct {
	// Numeric ID of the scene item
	SceneItemId *int `json:"sceneItemId,omitempty"`

	// Name of the scene the item is in
	SceneName *string `json:"sceneName,omitempty"`

	// UUID of the scene the item is in
	SceneUuid *string `json:"sceneUuid,omitempty"`
}

Represents the request body for the RemoveSceneItem request.

func NewRemoveSceneItemParams added in v1.0.0

func NewRemoveSceneItemParams() *RemoveSceneItemParams

func (*RemoveSceneItemParams) GetRequestName

func (o *RemoveSceneItemParams) GetRequestName() string

Returns the associated request.

func (*RemoveSceneItemParams) WithSceneItemId added in v1.0.0

func (o *RemoveSceneItemParams) WithSceneItemId(x int) *RemoveSceneItemParams

func (*RemoveSceneItemParams) WithSceneName added in v1.0.0

func (o *RemoveSceneItemParams) WithSceneName(x string) *RemoveSceneItemParams

func (*RemoveSceneItemParams) WithSceneUuid added in v1.2.0

func (o *RemoveSceneItemParams) WithSceneUuid(x string) *RemoveSceneItemParams

type RemoveSceneItemResponse

type RemoveSceneItemResponse struct {
	// contains filtered or unexported fields
}

Represents the response body for the RemoveSceneItem request.

type SetSceneItemBlendModeParams

type SetSceneItemBlendModeParams struct {
	// New blend mode
	SceneItemBlendMode *string `json:"sceneItemBlendMode,omitempty"`

	// Numeric ID of the scene item
	SceneItemId *int `json:"sceneItemId,omitempty"`

	// Name of the scene the item is in
	SceneName *string `json:"sceneName,omitempty"`

	// UUID of the scene the item is in
	SceneUuid *string `json:"sceneUuid,omitempty"`
}

Represents the request body for the SetSceneItemBlendMode request.

func NewSetSceneItemBlendModeParams added in v1.0.0

func NewSetSceneItemBlendModeParams() *SetSceneItemBlendModeParams

func (*SetSceneItemBlendModeParams) GetRequestName

func (o *SetSceneItemBlendModeParams) GetRequestName() string

Returns the associated request.

func (*SetSceneItemBlendModeParams) WithSceneItemBlendMode added in v1.0.0

func (o *SetSceneItemBlendModeParams) WithSceneItemBlendMode(x string) *SetSceneItemBlendModeParams

func (*SetSceneItemBlendModeParams) WithSceneItemId added in v1.0.0

func (*SetSceneItemBlendModeParams) WithSceneName added in v1.0.0

func (*SetSceneItemBlendModeParams) WithSceneUuid added in v1.2.0

type SetSceneItemBlendModeResponse

type SetSceneItemBlendModeResponse struct {
	// contains filtered or unexported fields
}

Represents the response body for the SetSceneItemBlendMode request.

type SetSceneItemEnabledParams

type SetSceneItemEnabledParams struct {
	// New enable state of the scene item
	SceneItemEnabled *bool `json:"sceneItemEnabled,omitempty"`

	// Numeric ID of the scene item
	SceneItemId *int `json:"sceneItemId,omitempty"`

	// Name of the scene the item is in
	SceneName *string `json:"sceneName,omitempty"`

	// UUID of the scene the item is in
	SceneUuid *string `json:"sceneUuid,omitempty"`
}

Represents the request body for the SetSceneItemEnabled request.

func NewSetSceneItemEnabledParams added in v1.0.0

func NewSetSceneItemEnabledParams() *SetSceneItemEnabledParams

func (*SetSceneItemEnabledParams) GetRequestName

func (o *SetSceneItemEnabledParams) GetRequestName() string

Returns the associated request.

func (*SetSceneItemEnabledParams) WithSceneItemEnabled added in v1.0.0

func (o *SetSceneItemEnabledParams) WithSceneItemEnabled(x bool) *SetSceneItemEnabledParams

func (*SetSceneItemEnabledParams) WithSceneItemId added in v1.0.0

func (*SetSceneItemEnabledParams) WithSceneName added in v1.0.0

func (*SetSceneItemEnabledParams) WithSceneUuid added in v1.2.0

type SetSceneItemEnabledResponse

type SetSceneItemEnabledResponse struct {
	// contains filtered or unexported fields
}

Represents the response body for the SetSceneItemEnabled request.

type SetSceneItemIndexParams

type SetSceneItemIndexParams struct {
	// Numeric ID of the scene item
	SceneItemId *int `json:"sceneItemId,omitempty"`

	// New index position of the scene item
	SceneItemIndex *int `json:"sceneItemIndex,omitempty"`

	// Name of the scene the item is in
	SceneName *string `json:"sceneName,omitempty"`

	// UUID of the scene the item is in
	SceneUuid *string `json:"sceneUuid,omitempty"`
}

Represents the request body for the SetSceneItemIndex request.

func NewSetSceneItemIndexParams added in v1.0.0

func NewSetSceneItemIndexParams() *SetSceneItemIndexParams

func (*SetSceneItemIndexParams) GetRequestName

func (o *SetSceneItemIndexParams) GetRequestName() string

Returns the associated request.

func (*SetSceneItemIndexParams) WithSceneItemId added in v1.0.0

func (o *SetSceneItemIndexParams) WithSceneItemId(x int) *SetSceneItemIndexParams

func (*SetSceneItemIndexParams) WithSceneItemIndex added in v1.0.0

func (o *SetSceneItemIndexParams) WithSceneItemIndex(x int) *SetSceneItemIndexParams

func (*SetSceneItemIndexParams) WithSceneName added in v1.0.0

func (*SetSceneItemIndexParams) WithSceneUuid added in v1.2.0

type SetSceneItemIndexResponse

type SetSceneItemIndexResponse struct {
	// contains filtered or unexported fields
}

Represents the response body for the SetSceneItemIndex request.

type SetSceneItemLockedParams

type SetSceneItemLockedParams struct {
	// Numeric ID of the scene item
	SceneItemId *int `json:"sceneItemId,omitempty"`

	// New lock state of the scene item
	SceneItemLocked *bool `json:"sceneItemLocked,omitempty"`

	// Name of the scene the item is in
	SceneName *string `json:"sceneName,omitempty"`

	// UUID of the scene the item is in
	SceneUuid *string `json:"sceneUuid,omitempty"`
}

Represents the request body for the SetSceneItemLocked request.

func NewSetSceneItemLockedParams added in v1.0.0

func NewSetSceneItemLockedParams() *SetSceneItemLockedParams

func (*SetSceneItemLockedParams) GetRequestName

func (o *SetSceneItemLockedParams) GetRequestName() string

Returns the associated request.

func (*SetSceneItemLockedParams) WithSceneItemId added in v1.0.0

func (o *SetSceneItemLockedParams) WithSceneItemId(x int) *SetSceneItemLockedParams

func (*SetSceneItemLockedParams) WithSceneItemLocked added in v1.0.0

func (o *SetSceneItemLockedParams) WithSceneItemLocked(x bool) *SetSceneItemLockedParams

func (*SetSceneItemLockedParams) WithSceneName added in v1.0.0

func (*SetSceneItemLockedParams) WithSceneUuid added in v1.2.0

type SetSceneItemLockedResponse

type SetSceneItemLockedResponse struct {
	// contains filtered or unexported fields
}

Represents the response body for the SetSceneItemLocked request.

type SetSceneItemTransformParams

type SetSceneItemTransformParams struct {
	// Numeric ID of the scene item
	SceneItemId *int `json:"sceneItemId,omitempty"`

	// Object containing scene item transform info to update
	SceneItemTransform *typedefs.SceneItemTransform `json:"sceneItemTransform,omitempty"`

	// Name of the scene the item is in
	SceneName *string `json:"sceneName,omitempty"`

	// UUID of the scene the item is in
	SceneUuid *string `json:"sceneUuid,omitempty"`
}

Represents the request body for the SetSceneItemTransform request.

func NewSetSceneItemTransformParams added in v1.0.0

func NewSetSceneItemTransformParams() *SetSceneItemTransformParams

func (*SetSceneItemTransformParams) GetRequestName

func (o *SetSceneItemTransformParams) GetRequestName() string

Returns the associated request.

func (*SetSceneItemTransformParams) WithSceneItemId added in v1.0.0

func (*SetSceneItemTransformParams) WithSceneItemTransform added in v1.0.0

func (*SetSceneItemTransformParams) WithSceneName added in v1.0.0

func (*SetSceneItemTransformParams) WithSceneUuid added in v1.2.0

type SetSceneItemTransformResponse

type SetSceneItemTransformResponse struct {
	// contains filtered or unexported fields
}

Represents the response body for the SetSceneItemTransform request.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL