Skip to content

Latest commit

 

History

History
570 lines (317 loc) · 19 KB

PlaybackInfoDto.md

File metadata and controls

570 lines (317 loc) · 19 KB

PlaybackInfoDto

Properties

Name Type Description Notes
UserId Pointer to NullableString Gets or sets the playback userId. [optional]
MaxStreamingBitrate Pointer to NullableInt32 Gets or sets the max streaming bitrate. [optional]
StartTimeTicks Pointer to NullableInt64 Gets or sets the start time in ticks. [optional]
AudioStreamIndex Pointer to NullableInt32 Gets or sets the audio stream index. [optional]
SubtitleStreamIndex Pointer to NullableInt32 Gets or sets the subtitle stream index. [optional]
MaxAudioChannels Pointer to NullableInt32 Gets or sets the max audio channels. [optional]
MediaSourceId Pointer to NullableString Gets or sets the media source id. [optional]
LiveStreamId Pointer to NullableString Gets or sets the live stream id. [optional]
DeviceProfile Pointer to NullableDeviceProfile A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play. <br /> Specifically, it defines the supported <see cref=&quot;P:MediaBrowser.Model.Dlna.DeviceProfile.ContainerProfiles&quot;>containers</see> and <see cref=&quot;P:MediaBrowser.Model.Dlna.DeviceProfile.CodecProfiles&quot;>codecs</see> (video and/or audio, including codec profiles and levels) the device is able to direct play (without transcoding or remuxing), as well as which <see cref=&quot;P:MediaBrowser.Model.Dlna.DeviceProfile.TranscodingProfiles&quot;>containers/codecs to transcode to</see> in case it isn't. [optional]
EnableDirectPlay Pointer to NullableBool Gets or sets a value indicating whether to enable direct play. [optional]
EnableDirectStream Pointer to NullableBool Gets or sets a value indicating whether to enable direct stream. [optional]
EnableTranscoding Pointer to NullableBool Gets or sets a value indicating whether to enable transcoding. [optional]
AllowVideoStreamCopy Pointer to NullableBool Gets or sets a value indicating whether to enable video stream copy. [optional]
AllowAudioStreamCopy Pointer to NullableBool Gets or sets a value indicating whether to allow audio stream copy. [optional]
AutoOpenLiveStream Pointer to NullableBool Gets or sets a value indicating whether to auto open the live stream. [optional]

Methods

NewPlaybackInfoDto

func NewPlaybackInfoDto() *PlaybackInfoDto

NewPlaybackInfoDto instantiates a new PlaybackInfoDto 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

NewPlaybackInfoDtoWithDefaults

func NewPlaybackInfoDtoWithDefaults() *PlaybackInfoDto

NewPlaybackInfoDtoWithDefaults instantiates a new PlaybackInfoDto 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

GetUserId

func (o *PlaybackInfoDto) GetUserId() string

GetUserId returns the UserId field if non-nil, zero value otherwise.

GetUserIdOk

func (o *PlaybackInfoDto) GetUserIdOk() (*string, bool)

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

SetUserId

func (o *PlaybackInfoDto) SetUserId(v string)

SetUserId sets UserId field to given value.

HasUserId

func (o *PlaybackInfoDto) HasUserId() bool

HasUserId returns a boolean if a field has been set.

SetUserIdNil

func (o *PlaybackInfoDto) SetUserIdNil(b bool)

SetUserIdNil sets the value for UserId to be an explicit nil

UnsetUserId

func (o *PlaybackInfoDto) UnsetUserId()

UnsetUserId ensures that no value is present for UserId, not even an explicit nil

GetMaxStreamingBitrate

func (o *PlaybackInfoDto) GetMaxStreamingBitrate() int32

GetMaxStreamingBitrate returns the MaxStreamingBitrate field if non-nil, zero value otherwise.

GetMaxStreamingBitrateOk

func (o *PlaybackInfoDto) GetMaxStreamingBitrateOk() (*int32, bool)

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

SetMaxStreamingBitrate

func (o *PlaybackInfoDto) SetMaxStreamingBitrate(v int32)

SetMaxStreamingBitrate sets MaxStreamingBitrate field to given value.

HasMaxStreamingBitrate

func (o *PlaybackInfoDto) HasMaxStreamingBitrate() bool

HasMaxStreamingBitrate returns a boolean if a field has been set.

SetMaxStreamingBitrateNil

func (o *PlaybackInfoDto) SetMaxStreamingBitrateNil(b bool)

SetMaxStreamingBitrateNil sets the value for MaxStreamingBitrate to be an explicit nil

UnsetMaxStreamingBitrate

func (o *PlaybackInfoDto) UnsetMaxStreamingBitrate()

UnsetMaxStreamingBitrate ensures that no value is present for MaxStreamingBitrate, not even an explicit nil

GetStartTimeTicks

func (o *PlaybackInfoDto) GetStartTimeTicks() int64

GetStartTimeTicks returns the StartTimeTicks field if non-nil, zero value otherwise.

GetStartTimeTicksOk

func (o *PlaybackInfoDto) GetStartTimeTicksOk() (*int64, bool)

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

SetStartTimeTicks

func (o *PlaybackInfoDto) SetStartTimeTicks(v int64)

SetStartTimeTicks sets StartTimeTicks field to given value.

HasStartTimeTicks

func (o *PlaybackInfoDto) HasStartTimeTicks() bool

HasStartTimeTicks returns a boolean if a field has been set.

SetStartTimeTicksNil

func (o *PlaybackInfoDto) SetStartTimeTicksNil(b bool)

SetStartTimeTicksNil sets the value for StartTimeTicks to be an explicit nil

UnsetStartTimeTicks

func (o *PlaybackInfoDto) UnsetStartTimeTicks()

UnsetStartTimeTicks ensures that no value is present for StartTimeTicks, not even an explicit nil

GetAudioStreamIndex

func (o *PlaybackInfoDto) GetAudioStreamIndex() int32

GetAudioStreamIndex returns the AudioStreamIndex field if non-nil, zero value otherwise.

GetAudioStreamIndexOk

func (o *PlaybackInfoDto) GetAudioStreamIndexOk() (*int32, bool)

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

SetAudioStreamIndex

func (o *PlaybackInfoDto) SetAudioStreamIndex(v int32)

SetAudioStreamIndex sets AudioStreamIndex field to given value.

HasAudioStreamIndex

func (o *PlaybackInfoDto) HasAudioStreamIndex() bool

HasAudioStreamIndex returns a boolean if a field has been set.

SetAudioStreamIndexNil

func (o *PlaybackInfoDto) SetAudioStreamIndexNil(b bool)

SetAudioStreamIndexNil sets the value for AudioStreamIndex to be an explicit nil

UnsetAudioStreamIndex

func (o *PlaybackInfoDto) UnsetAudioStreamIndex()

UnsetAudioStreamIndex ensures that no value is present for AudioStreamIndex, not even an explicit nil

GetSubtitleStreamIndex

func (o *PlaybackInfoDto) GetSubtitleStreamIndex() int32

GetSubtitleStreamIndex returns the SubtitleStreamIndex field if non-nil, zero value otherwise.

GetSubtitleStreamIndexOk

func (o *PlaybackInfoDto) GetSubtitleStreamIndexOk() (*int32, bool)

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

SetSubtitleStreamIndex

func (o *PlaybackInfoDto) SetSubtitleStreamIndex(v int32)

SetSubtitleStreamIndex sets SubtitleStreamIndex field to given value.

HasSubtitleStreamIndex

func (o *PlaybackInfoDto) HasSubtitleStreamIndex() bool

HasSubtitleStreamIndex returns a boolean if a field has been set.

SetSubtitleStreamIndexNil

func (o *PlaybackInfoDto) SetSubtitleStreamIndexNil(b bool)

SetSubtitleStreamIndexNil sets the value for SubtitleStreamIndex to be an explicit nil

UnsetSubtitleStreamIndex

func (o *PlaybackInfoDto) UnsetSubtitleStreamIndex()

UnsetSubtitleStreamIndex ensures that no value is present for SubtitleStreamIndex, not even an explicit nil

GetMaxAudioChannels

func (o *PlaybackInfoDto) GetMaxAudioChannels() int32

GetMaxAudioChannels returns the MaxAudioChannels field if non-nil, zero value otherwise.

GetMaxAudioChannelsOk

func (o *PlaybackInfoDto) GetMaxAudioChannelsOk() (*int32, bool)

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

SetMaxAudioChannels

func (o *PlaybackInfoDto) SetMaxAudioChannels(v int32)

SetMaxAudioChannels sets MaxAudioChannels field to given value.

HasMaxAudioChannels

func (o *PlaybackInfoDto) HasMaxAudioChannels() bool

HasMaxAudioChannels returns a boolean if a field has been set.

SetMaxAudioChannelsNil

func (o *PlaybackInfoDto) SetMaxAudioChannelsNil(b bool)

SetMaxAudioChannelsNil sets the value for MaxAudioChannels to be an explicit nil

UnsetMaxAudioChannels

func (o *PlaybackInfoDto) UnsetMaxAudioChannels()

UnsetMaxAudioChannels ensures that no value is present for MaxAudioChannels, not even an explicit nil

GetMediaSourceId

func (o *PlaybackInfoDto) GetMediaSourceId() string

GetMediaSourceId returns the MediaSourceId field if non-nil, zero value otherwise.

GetMediaSourceIdOk

func (o *PlaybackInfoDto) GetMediaSourceIdOk() (*string, bool)

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

SetMediaSourceId

func (o *PlaybackInfoDto) SetMediaSourceId(v string)

SetMediaSourceId sets MediaSourceId field to given value.

HasMediaSourceId

func (o *PlaybackInfoDto) HasMediaSourceId() bool

HasMediaSourceId returns a boolean if a field has been set.

SetMediaSourceIdNil

func (o *PlaybackInfoDto) SetMediaSourceIdNil(b bool)

SetMediaSourceIdNil sets the value for MediaSourceId to be an explicit nil

UnsetMediaSourceId

func (o *PlaybackInfoDto) UnsetMediaSourceId()

UnsetMediaSourceId ensures that no value is present for MediaSourceId, not even an explicit nil

GetLiveStreamId

func (o *PlaybackInfoDto) GetLiveStreamId() string

GetLiveStreamId returns the LiveStreamId field if non-nil, zero value otherwise.

GetLiveStreamIdOk

func (o *PlaybackInfoDto) GetLiveStreamIdOk() (*string, bool)

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

SetLiveStreamId

func (o *PlaybackInfoDto) SetLiveStreamId(v string)

SetLiveStreamId sets LiveStreamId field to given value.

HasLiveStreamId

func (o *PlaybackInfoDto) HasLiveStreamId() bool

HasLiveStreamId returns a boolean if a field has been set.

SetLiveStreamIdNil

func (o *PlaybackInfoDto) SetLiveStreamIdNil(b bool)

SetLiveStreamIdNil sets the value for LiveStreamId to be an explicit nil

UnsetLiveStreamId

func (o *PlaybackInfoDto) UnsetLiveStreamId()

UnsetLiveStreamId ensures that no value is present for LiveStreamId, not even an explicit nil

GetDeviceProfile

func (o *PlaybackInfoDto) GetDeviceProfile() DeviceProfile

GetDeviceProfile returns the DeviceProfile field if non-nil, zero value otherwise.

GetDeviceProfileOk

func (o *PlaybackInfoDto) GetDeviceProfileOk() (*DeviceProfile, bool)

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

SetDeviceProfile

func (o *PlaybackInfoDto) SetDeviceProfile(v DeviceProfile)

SetDeviceProfile sets DeviceProfile field to given value.

HasDeviceProfile

func (o *PlaybackInfoDto) HasDeviceProfile() bool

HasDeviceProfile returns a boolean if a field has been set.

SetDeviceProfileNil

func (o *PlaybackInfoDto) SetDeviceProfileNil(b bool)

SetDeviceProfileNil sets the value for DeviceProfile to be an explicit nil

UnsetDeviceProfile

func (o *PlaybackInfoDto) UnsetDeviceProfile()

UnsetDeviceProfile ensures that no value is present for DeviceProfile, not even an explicit nil

GetEnableDirectPlay

func (o *PlaybackInfoDto) GetEnableDirectPlay() bool

GetEnableDirectPlay returns the EnableDirectPlay field if non-nil, zero value otherwise.

GetEnableDirectPlayOk

func (o *PlaybackInfoDto) GetEnableDirectPlayOk() (*bool, bool)

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

SetEnableDirectPlay

func (o *PlaybackInfoDto) SetEnableDirectPlay(v bool)

SetEnableDirectPlay sets EnableDirectPlay field to given value.

HasEnableDirectPlay

func (o *PlaybackInfoDto) HasEnableDirectPlay() bool

HasEnableDirectPlay returns a boolean if a field has been set.

SetEnableDirectPlayNil

func (o *PlaybackInfoDto) SetEnableDirectPlayNil(b bool)

SetEnableDirectPlayNil sets the value for EnableDirectPlay to be an explicit nil

UnsetEnableDirectPlay

func (o *PlaybackInfoDto) UnsetEnableDirectPlay()

UnsetEnableDirectPlay ensures that no value is present for EnableDirectPlay, not even an explicit nil

GetEnableDirectStream

func (o *PlaybackInfoDto) GetEnableDirectStream() bool

GetEnableDirectStream returns the EnableDirectStream field if non-nil, zero value otherwise.

GetEnableDirectStreamOk

func (o *PlaybackInfoDto) GetEnableDirectStreamOk() (*bool, bool)

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

SetEnableDirectStream

func (o *PlaybackInfoDto) SetEnableDirectStream(v bool)

SetEnableDirectStream sets EnableDirectStream field to given value.

HasEnableDirectStream

func (o *PlaybackInfoDto) HasEnableDirectStream() bool

HasEnableDirectStream returns a boolean if a field has been set.

SetEnableDirectStreamNil

func (o *PlaybackInfoDto) SetEnableDirectStreamNil(b bool)

SetEnableDirectStreamNil sets the value for EnableDirectStream to be an explicit nil

UnsetEnableDirectStream

func (o *PlaybackInfoDto) UnsetEnableDirectStream()

UnsetEnableDirectStream ensures that no value is present for EnableDirectStream, not even an explicit nil

GetEnableTranscoding

func (o *PlaybackInfoDto) GetEnableTranscoding() bool

GetEnableTranscoding returns the EnableTranscoding field if non-nil, zero value otherwise.

GetEnableTranscodingOk

func (o *PlaybackInfoDto) GetEnableTranscodingOk() (*bool, bool)

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

SetEnableTranscoding

func (o *PlaybackInfoDto) SetEnableTranscoding(v bool)

SetEnableTranscoding sets EnableTranscoding field to given value.

HasEnableTranscoding

func (o *PlaybackInfoDto) HasEnableTranscoding() bool

HasEnableTranscoding returns a boolean if a field has been set.

SetEnableTranscodingNil

func (o *PlaybackInfoDto) SetEnableTranscodingNil(b bool)

SetEnableTranscodingNil sets the value for EnableTranscoding to be an explicit nil

UnsetEnableTranscoding

func (o *PlaybackInfoDto) UnsetEnableTranscoding()

UnsetEnableTranscoding ensures that no value is present for EnableTranscoding, not even an explicit nil

GetAllowVideoStreamCopy

func (o *PlaybackInfoDto) GetAllowVideoStreamCopy() bool

GetAllowVideoStreamCopy returns the AllowVideoStreamCopy field if non-nil, zero value otherwise.

GetAllowVideoStreamCopyOk

func (o *PlaybackInfoDto) GetAllowVideoStreamCopyOk() (*bool, bool)

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

SetAllowVideoStreamCopy

func (o *PlaybackInfoDto) SetAllowVideoStreamCopy(v bool)

SetAllowVideoStreamCopy sets AllowVideoStreamCopy field to given value.

HasAllowVideoStreamCopy

func (o *PlaybackInfoDto) HasAllowVideoStreamCopy() bool

HasAllowVideoStreamCopy returns a boolean if a field has been set.

SetAllowVideoStreamCopyNil

func (o *PlaybackInfoDto) SetAllowVideoStreamCopyNil(b bool)

SetAllowVideoStreamCopyNil sets the value for AllowVideoStreamCopy to be an explicit nil

UnsetAllowVideoStreamCopy

func (o *PlaybackInfoDto) UnsetAllowVideoStreamCopy()

UnsetAllowVideoStreamCopy ensures that no value is present for AllowVideoStreamCopy, not even an explicit nil

GetAllowAudioStreamCopy

func (o *PlaybackInfoDto) GetAllowAudioStreamCopy() bool

GetAllowAudioStreamCopy returns the AllowAudioStreamCopy field if non-nil, zero value otherwise.

GetAllowAudioStreamCopyOk

func (o *PlaybackInfoDto) GetAllowAudioStreamCopyOk() (*bool, bool)

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

SetAllowAudioStreamCopy

func (o *PlaybackInfoDto) SetAllowAudioStreamCopy(v bool)

SetAllowAudioStreamCopy sets AllowAudioStreamCopy field to given value.

HasAllowAudioStreamCopy

func (o *PlaybackInfoDto) HasAllowAudioStreamCopy() bool

HasAllowAudioStreamCopy returns a boolean if a field has been set.

SetAllowAudioStreamCopyNil

func (o *PlaybackInfoDto) SetAllowAudioStreamCopyNil(b bool)

SetAllowAudioStreamCopyNil sets the value for AllowAudioStreamCopy to be an explicit nil

UnsetAllowAudioStreamCopy

func (o *PlaybackInfoDto) UnsetAllowAudioStreamCopy()

UnsetAllowAudioStreamCopy ensures that no value is present for AllowAudioStreamCopy, not even an explicit nil

GetAutoOpenLiveStream

func (o *PlaybackInfoDto) GetAutoOpenLiveStream() bool

GetAutoOpenLiveStream returns the AutoOpenLiveStream field if non-nil, zero value otherwise.

GetAutoOpenLiveStreamOk

func (o *PlaybackInfoDto) GetAutoOpenLiveStreamOk() (*bool, bool)

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

SetAutoOpenLiveStream

func (o *PlaybackInfoDto) SetAutoOpenLiveStream(v bool)

SetAutoOpenLiveStream sets AutoOpenLiveStream field to given value.

HasAutoOpenLiveStream

func (o *PlaybackInfoDto) HasAutoOpenLiveStream() bool

HasAutoOpenLiveStream returns a boolean if a field has been set.

SetAutoOpenLiveStreamNil

func (o *PlaybackInfoDto) SetAutoOpenLiveStreamNil(b bool)

SetAutoOpenLiveStreamNil sets the value for AutoOpenLiveStream to be an explicit nil

UnsetAutoOpenLiveStream

func (o *PlaybackInfoDto) UnsetAutoOpenLiveStream()

UnsetAutoOpenLiveStream ensures that no value is present for AutoOpenLiveStream, not even an explicit nil

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