Skip to content

Latest commit

 

History

History
480 lines (263 loc) · 12.3 KB

Video.md

File metadata and controls

480 lines (263 loc) · 12.3 KB

Video

Properties

Name Type Description Notes
Id Pointer to string [optional]
Title Pointer to string [optional]
Type Pointer to string [optional]
TopicId Pointer to NullableString corresponds to a Topic ID, Videos of type `clip` cannot not have topic. Streams may or may not have topic. [optional]
PublishedAt Pointer to NullableTime [optional]
AvailableAt Pointer to time.Time Takes on the first non-null value of end_actual, start_actual, start_scheduled, or published_at [optional]
Duration Pointer to int32 Duration of the video in seconds [optional]
Status Pointer to string [optional]
StartScheduled Pointer to NullableTime Included when includes contains 'live_info' [optional]
StartActual Pointer to NullableTime Included when includes contains 'live_info' [optional]
EndActual Pointer to NullableTime Included when includes contains 'live_info' [optional]
LiveViewers Pointer to NullableInt32 Included when includes contains 'live_info' [optional]
Description Pointer to string Included when includes contains 'description' [optional]
Songcount Pointer to float32 Number of tagged songs for this video [optional]
ChannelId Pointer to string [optional]

Methods

NewVideo

func NewVideo() *Video

NewVideo instantiates a new Video 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

NewVideoWithDefaults

func NewVideoWithDefaults() *Video

NewVideoWithDefaults instantiates a new Video 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

GetId

func (o *Video) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *Video) GetIdOk() (*string, bool)

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

SetId

func (o *Video) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *Video) HasId() bool

HasId returns a boolean if a field has been set.

GetTitle

func (o *Video) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

GetTitleOk

func (o *Video) GetTitleOk() (*string, bool)

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

SetTitle

func (o *Video) SetTitle(v string)

SetTitle sets Title field to given value.

HasTitle

func (o *Video) HasTitle() bool

HasTitle returns a boolean if a field has been set.

GetType

func (o *Video) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *Video) GetTypeOk() (*string, bool)

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

SetType

func (o *Video) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *Video) HasType() bool

HasType returns a boolean if a field has been set.

GetTopicId

func (o *Video) GetTopicId() string

GetTopicId returns the TopicId field if non-nil, zero value otherwise.

GetTopicIdOk

func (o *Video) GetTopicIdOk() (*string, bool)

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

SetTopicId

func (o *Video) SetTopicId(v string)

SetTopicId sets TopicId field to given value.

HasTopicId

func (o *Video) HasTopicId() bool

HasTopicId returns a boolean if a field has been set.

SetTopicIdNil

func (o *Video) SetTopicIdNil(b bool)

SetTopicIdNil sets the value for TopicId to be an explicit nil

UnsetTopicId

func (o *Video) UnsetTopicId()

UnsetTopicId ensures that no value is present for TopicId, not even an explicit nil

GetPublishedAt

func (o *Video) GetPublishedAt() time.Time

GetPublishedAt returns the PublishedAt field if non-nil, zero value otherwise.

GetPublishedAtOk

func (o *Video) GetPublishedAtOk() (*time.Time, bool)

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

SetPublishedAt

func (o *Video) SetPublishedAt(v time.Time)

SetPublishedAt sets PublishedAt field to given value.

HasPublishedAt

func (o *Video) HasPublishedAt() bool

HasPublishedAt returns a boolean if a field has been set.

SetPublishedAtNil

func (o *Video) SetPublishedAtNil(b bool)

SetPublishedAtNil sets the value for PublishedAt to be an explicit nil

UnsetPublishedAt

func (o *Video) UnsetPublishedAt()

UnsetPublishedAt ensures that no value is present for PublishedAt, not even an explicit nil

GetAvailableAt

func (o *Video) GetAvailableAt() time.Time

GetAvailableAt returns the AvailableAt field if non-nil, zero value otherwise.

GetAvailableAtOk

func (o *Video) GetAvailableAtOk() (*time.Time, bool)

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

SetAvailableAt

func (o *Video) SetAvailableAt(v time.Time)

SetAvailableAt sets AvailableAt field to given value.

HasAvailableAt

func (o *Video) HasAvailableAt() bool

HasAvailableAt returns a boolean if a field has been set.

GetDuration

func (o *Video) GetDuration() int32

GetDuration returns the Duration field if non-nil, zero value otherwise.

GetDurationOk

func (o *Video) GetDurationOk() (*int32, bool)

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

SetDuration

func (o *Video) SetDuration(v int32)

SetDuration sets Duration field to given value.

HasDuration

func (o *Video) HasDuration() bool

HasDuration returns a boolean if a field has been set.

GetStatus

func (o *Video) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *Video) GetStatusOk() (*string, bool)

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

SetStatus

func (o *Video) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *Video) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetStartScheduled

func (o *Video) GetStartScheduled() time.Time

GetStartScheduled returns the StartScheduled field if non-nil, zero value otherwise.

GetStartScheduledOk

func (o *Video) GetStartScheduledOk() (*time.Time, bool)

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

SetStartScheduled

func (o *Video) SetStartScheduled(v time.Time)

SetStartScheduled sets StartScheduled field to given value.

HasStartScheduled

func (o *Video) HasStartScheduled() bool

HasStartScheduled returns a boolean if a field has been set.

SetStartScheduledNil

func (o *Video) SetStartScheduledNil(b bool)

SetStartScheduledNil sets the value for StartScheduled to be an explicit nil

UnsetStartScheduled

func (o *Video) UnsetStartScheduled()

UnsetStartScheduled ensures that no value is present for StartScheduled, not even an explicit nil

GetStartActual

func (o *Video) GetStartActual() time.Time

GetStartActual returns the StartActual field if non-nil, zero value otherwise.

GetStartActualOk

func (o *Video) GetStartActualOk() (*time.Time, bool)

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

SetStartActual

func (o *Video) SetStartActual(v time.Time)

SetStartActual sets StartActual field to given value.

HasStartActual

func (o *Video) HasStartActual() bool

HasStartActual returns a boolean if a field has been set.

SetStartActualNil

func (o *Video) SetStartActualNil(b bool)

SetStartActualNil sets the value for StartActual to be an explicit nil

UnsetStartActual

func (o *Video) UnsetStartActual()

UnsetStartActual ensures that no value is present for StartActual, not even an explicit nil

GetEndActual

func (o *Video) GetEndActual() time.Time

GetEndActual returns the EndActual field if non-nil, zero value otherwise.

GetEndActualOk

func (o *Video) GetEndActualOk() (*time.Time, bool)

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

SetEndActual

func (o *Video) SetEndActual(v time.Time)

SetEndActual sets EndActual field to given value.

HasEndActual

func (o *Video) HasEndActual() bool

HasEndActual returns a boolean if a field has been set.

SetEndActualNil

func (o *Video) SetEndActualNil(b bool)

SetEndActualNil sets the value for EndActual to be an explicit nil

UnsetEndActual

func (o *Video) UnsetEndActual()

UnsetEndActual ensures that no value is present for EndActual, not even an explicit nil

GetLiveViewers

func (o *Video) GetLiveViewers() int32

GetLiveViewers returns the LiveViewers field if non-nil, zero value otherwise.

GetLiveViewersOk

func (o *Video) GetLiveViewersOk() (*int32, bool)

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

SetLiveViewers

func (o *Video) SetLiveViewers(v int32)

SetLiveViewers sets LiveViewers field to given value.

HasLiveViewers

func (o *Video) HasLiveViewers() bool

HasLiveViewers returns a boolean if a field has been set.

SetLiveViewersNil

func (o *Video) SetLiveViewersNil(b bool)

SetLiveViewersNil sets the value for LiveViewers to be an explicit nil

UnsetLiveViewers

func (o *Video) UnsetLiveViewers()

UnsetLiveViewers ensures that no value is present for LiveViewers, not even an explicit nil

GetDescription

func (o *Video) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *Video) GetDescriptionOk() (*string, bool)

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

SetDescription

func (o *Video) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *Video) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetSongcount

func (o *Video) GetSongcount() float32

GetSongcount returns the Songcount field if non-nil, zero value otherwise.

GetSongcountOk

func (o *Video) GetSongcountOk() (*float32, bool)

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

SetSongcount

func (o *Video) SetSongcount(v float32)

SetSongcount sets Songcount field to given value.

HasSongcount

func (o *Video) HasSongcount() bool

HasSongcount returns a boolean if a field has been set.

GetChannelId

func (o *Video) GetChannelId() string

GetChannelId returns the ChannelId field if non-nil, zero value otherwise.

GetChannelIdOk

func (o *Video) GetChannelIdOk() (*string, bool)

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

SetChannelId

func (o *Video) SetChannelId(v string)

SetChannelId sets ChannelId field to given value.

HasChannelId

func (o *Video) HasChannelId() bool

HasChannelId returns a boolean if a field has been set.

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