Skip to content

Latest commit

 

History

History
446 lines (241 loc) · 13.6 KB

PlayerThemeCreationPayload.md

File metadata and controls

446 lines (241 loc) · 13.6 KB

PlayerThemeCreationPayload

Properties

Name Type Description Notes
Name Pointer to string Add a name for your player theme here. [optional]
Text Pointer to string RGBA color for timer text. Default: rgba(255, 255, 255, 1) [optional]
Link Pointer to string RGBA color for all controls. Default: rgba(255, 255, 255, 1) [optional]
LinkHover Pointer to string RGBA color for all controls when hovered. Default: rgba(255, 255, 255, 1) [optional]
LinkActive Pointer to string RGBA color for the play button when hovered. [optional]
TrackPlayed Pointer to string RGBA color playback bar: played content. Default: rgba(88, 131, 255, .95) [optional]
TrackUnplayed Pointer to string RGBA color playback bar: downloaded but unplayed (buffered) content. Default: rgba(255, 255, 255, .35) [optional]
TrackBackground Pointer to string RGBA color playback bar: background. Default: rgba(255, 255, 255, .2) [optional]
BackgroundTop Pointer to string RGBA color: top 50% of background. Default: rgba(0, 0, 0, .7) [optional]
BackgroundBottom Pointer to string RGBA color: bottom 50% of background. Default: rgba(0, 0, 0, .7) [optional]
BackgroundText Pointer to string RGBA color for title text. Default: rgba(255, 255, 255, 1) [optional]
EnableApi Pointer to bool enable/disable player SDK access. Default: true [optional] [default to true]
EnableControls Pointer to bool enable/disable player controls. Default: true [optional] [default to true]
ForceAutoplay Pointer to bool enable/disable player autoplay. Default: false [optional] [default to false]
HideTitle Pointer to bool enable/disable title. Default: false [optional] [default to false]
ForceLoop Pointer to bool enable/disable looping. Default: false [optional] [default to false]

Methods

NewPlayerThemeCreationPayload

func NewPlayerThemeCreationPayload() *PlayerThemeCreationPayload

NewPlayerThemeCreationPayload instantiates a new PlayerThemeCreationPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewPlayerThemeCreationPayloadWithDefaults

func NewPlayerThemeCreationPayloadWithDefaults() *PlayerThemeCreationPayload

NewPlayerThemeCreationPayloadWithDefaults instantiates a new PlayerThemeCreationPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetName

func (o *PlayerThemeCreationPayload) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *PlayerThemeCreationPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *PlayerThemeCreationPayload) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *PlayerThemeCreationPayload) HasName() bool

HasName returns a boolean if a field has been set.

GetText

func (o *PlayerThemeCreationPayload) GetText() string

GetText returns the Text field if non-nil, zero value otherwise.

GetTextOk

func (o *PlayerThemeCreationPayload) GetTextOk() (*string, bool)

GetTextOk returns a tuple with the Text field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetText

func (o *PlayerThemeCreationPayload) SetText(v string)

SetText sets Text field to given value.

HasText

func (o *PlayerThemeCreationPayload) HasText() bool

HasText returns a boolean if a field has been set.

GetLink

func (o *PlayerThemeCreationPayload) GetLink() string

GetLink returns the Link field if non-nil, zero value otherwise.

GetLinkOk

func (o *PlayerThemeCreationPayload) GetLinkOk() (*string, bool)

GetLinkOk returns a tuple with the Link field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLink

func (o *PlayerThemeCreationPayload) SetLink(v string)

SetLink sets Link field to given value.

HasLink

func (o *PlayerThemeCreationPayload) HasLink() bool

HasLink returns a boolean if a field has been set.

GetLinkHover

func (o *PlayerThemeCreationPayload) GetLinkHover() string

GetLinkHover returns the LinkHover field if non-nil, zero value otherwise.

GetLinkHoverOk

func (o *PlayerThemeCreationPayload) GetLinkHoverOk() (*string, bool)

GetLinkHoverOk returns a tuple with the LinkHover field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLinkHover

func (o *PlayerThemeCreationPayload) SetLinkHover(v string)

SetLinkHover sets LinkHover field to given value.

HasLinkHover

func (o *PlayerThemeCreationPayload) HasLinkHover() bool

HasLinkHover returns a boolean if a field has been set.

GetLinkActive

func (o *PlayerThemeCreationPayload) GetLinkActive() string

GetLinkActive returns the LinkActive field if non-nil, zero value otherwise.

GetLinkActiveOk

func (o *PlayerThemeCreationPayload) GetLinkActiveOk() (*string, bool)

GetLinkActiveOk returns a tuple with the LinkActive field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLinkActive

func (o *PlayerThemeCreationPayload) SetLinkActive(v string)

SetLinkActive sets LinkActive field to given value.

HasLinkActive

func (o *PlayerThemeCreationPayload) HasLinkActive() bool

HasLinkActive returns a boolean if a field has been set.

GetTrackPlayed

func (o *PlayerThemeCreationPayload) GetTrackPlayed() string

GetTrackPlayed returns the TrackPlayed field if non-nil, zero value otherwise.

GetTrackPlayedOk

func (o *PlayerThemeCreationPayload) GetTrackPlayedOk() (*string, bool)

GetTrackPlayedOk returns a tuple with the TrackPlayed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTrackPlayed

func (o *PlayerThemeCreationPayload) SetTrackPlayed(v string)

SetTrackPlayed sets TrackPlayed field to given value.

HasTrackPlayed

func (o *PlayerThemeCreationPayload) HasTrackPlayed() bool

HasTrackPlayed returns a boolean if a field has been set.

GetTrackUnplayed

func (o *PlayerThemeCreationPayload) GetTrackUnplayed() string

GetTrackUnplayed returns the TrackUnplayed field if non-nil, zero value otherwise.

GetTrackUnplayedOk

func (o *PlayerThemeCreationPayload) GetTrackUnplayedOk() (*string, bool)

GetTrackUnplayedOk returns a tuple with the TrackUnplayed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTrackUnplayed

func (o *PlayerThemeCreationPayload) SetTrackUnplayed(v string)

SetTrackUnplayed sets TrackUnplayed field to given value.

HasTrackUnplayed

func (o *PlayerThemeCreationPayload) HasTrackUnplayed() bool

HasTrackUnplayed returns a boolean if a field has been set.

GetTrackBackground

func (o *PlayerThemeCreationPayload) GetTrackBackground() string

GetTrackBackground returns the TrackBackground field if non-nil, zero value otherwise.

GetTrackBackgroundOk

func (o *PlayerThemeCreationPayload) GetTrackBackgroundOk() (*string, bool)

GetTrackBackgroundOk returns a tuple with the TrackBackground field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTrackBackground

func (o *PlayerThemeCreationPayload) SetTrackBackground(v string)

SetTrackBackground sets TrackBackground field to given value.

HasTrackBackground

func (o *PlayerThemeCreationPayload) HasTrackBackground() bool

HasTrackBackground returns a boolean if a field has been set.

GetBackgroundTop

func (o *PlayerThemeCreationPayload) GetBackgroundTop() string

GetBackgroundTop returns the BackgroundTop field if non-nil, zero value otherwise.

GetBackgroundTopOk

func (o *PlayerThemeCreationPayload) GetBackgroundTopOk() (*string, bool)

GetBackgroundTopOk returns a tuple with the BackgroundTop field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBackgroundTop

func (o *PlayerThemeCreationPayload) SetBackgroundTop(v string)

SetBackgroundTop sets BackgroundTop field to given value.

HasBackgroundTop

func (o *PlayerThemeCreationPayload) HasBackgroundTop() bool

HasBackgroundTop returns a boolean if a field has been set.

GetBackgroundBottom

func (o *PlayerThemeCreationPayload) GetBackgroundBottom() string

GetBackgroundBottom returns the BackgroundBottom field if non-nil, zero value otherwise.

GetBackgroundBottomOk

func (o *PlayerThemeCreationPayload) GetBackgroundBottomOk() (*string, bool)

GetBackgroundBottomOk returns a tuple with the BackgroundBottom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBackgroundBottom

func (o *PlayerThemeCreationPayload) SetBackgroundBottom(v string)

SetBackgroundBottom sets BackgroundBottom field to given value.

HasBackgroundBottom

func (o *PlayerThemeCreationPayload) HasBackgroundBottom() bool

HasBackgroundBottom returns a boolean if a field has been set.

GetBackgroundText

func (o *PlayerThemeCreationPayload) GetBackgroundText() string

GetBackgroundText returns the BackgroundText field if non-nil, zero value otherwise.

GetBackgroundTextOk

func (o *PlayerThemeCreationPayload) GetBackgroundTextOk() (*string, bool)

GetBackgroundTextOk returns a tuple with the BackgroundText field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBackgroundText

func (o *PlayerThemeCreationPayload) SetBackgroundText(v string)

SetBackgroundText sets BackgroundText field to given value.

HasBackgroundText

func (o *PlayerThemeCreationPayload) HasBackgroundText() bool

HasBackgroundText returns a boolean if a field has been set.

GetEnableApi

func (o *PlayerThemeCreationPayload) GetEnableApi() bool

GetEnableApi returns the EnableApi field if non-nil, zero value otherwise.

GetEnableApiOk

func (o *PlayerThemeCreationPayload) GetEnableApiOk() (*bool, bool)

GetEnableApiOk returns a tuple with the EnableApi field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEnableApi

func (o *PlayerThemeCreationPayload) SetEnableApi(v bool)

SetEnableApi sets EnableApi field to given value.

HasEnableApi

func (o *PlayerThemeCreationPayload) HasEnableApi() bool

HasEnableApi returns a boolean if a field has been set.

GetEnableControls

func (o *PlayerThemeCreationPayload) GetEnableControls() bool

GetEnableControls returns the EnableControls field if non-nil, zero value otherwise.

GetEnableControlsOk

func (o *PlayerThemeCreationPayload) GetEnableControlsOk() (*bool, bool)

GetEnableControlsOk returns a tuple with the EnableControls field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEnableControls

func (o *PlayerThemeCreationPayload) SetEnableControls(v bool)

SetEnableControls sets EnableControls field to given value.

HasEnableControls

func (o *PlayerThemeCreationPayload) HasEnableControls() bool

HasEnableControls returns a boolean if a field has been set.

GetForceAutoplay

func (o *PlayerThemeCreationPayload) GetForceAutoplay() bool

GetForceAutoplay returns the ForceAutoplay field if non-nil, zero value otherwise.

GetForceAutoplayOk

func (o *PlayerThemeCreationPayload) GetForceAutoplayOk() (*bool, bool)

GetForceAutoplayOk returns a tuple with the ForceAutoplay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetForceAutoplay

func (o *PlayerThemeCreationPayload) SetForceAutoplay(v bool)

SetForceAutoplay sets ForceAutoplay field to given value.

HasForceAutoplay

func (o *PlayerThemeCreationPayload) HasForceAutoplay() bool

HasForceAutoplay returns a boolean if a field has been set.

GetHideTitle

func (o *PlayerThemeCreationPayload) GetHideTitle() bool

GetHideTitle returns the HideTitle field if non-nil, zero value otherwise.

GetHideTitleOk

func (o *PlayerThemeCreationPayload) GetHideTitleOk() (*bool, bool)

GetHideTitleOk returns a tuple with the HideTitle field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetHideTitle

func (o *PlayerThemeCreationPayload) SetHideTitle(v bool)

SetHideTitle sets HideTitle field to given value.

HasHideTitle

func (o *PlayerThemeCreationPayload) HasHideTitle() bool

HasHideTitle returns a boolean if a field has been set.

GetForceLoop

func (o *PlayerThemeCreationPayload) GetForceLoop() bool

GetForceLoop returns the ForceLoop field if non-nil, zero value otherwise.

GetForceLoopOk

func (o *PlayerThemeCreationPayload) GetForceLoopOk() (*bool, bool)

GetForceLoopOk returns a tuple with the ForceLoop field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetForceLoop

func (o *PlayerThemeCreationPayload) SetForceLoop(v bool)

SetForceLoop sets ForceLoop field to given value.

HasForceLoop

func (o *PlayerThemeCreationPayload) HasForceLoop() bool

HasForceLoop returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]