Name | Type | Description | Notes |
---|---|---|---|
ItemIds | Pointer to []string | Gets or sets the item ids. | [optional] |
StartPositionTicks | Pointer to NullableInt64 | Gets or sets the start position ticks that the first item should be played at. | [optional] |
PlayCommand | Pointer to PlayCommand | Gets or sets the play command. | [optional] |
ControllingUserId | Pointer to string | Gets or sets the controlling user identifier. | [optional] |
SubtitleStreamIndex | Pointer to NullableInt32 | [optional] | |
AudioStreamIndex | Pointer to NullableInt32 | [optional] | |
MediaSourceId | Pointer to NullableString | [optional] | |
StartIndex | Pointer to NullableInt32 | [optional] |
func NewPlayRequest() *PlayRequest
NewPlayRequest instantiates a new PlayRequest 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
func NewPlayRequestWithDefaults() *PlayRequest
NewPlayRequestWithDefaults instantiates a new PlayRequest 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
func (o *PlayRequest) GetItemIds() []string
GetItemIds returns the ItemIds field if non-nil, zero value otherwise.
func (o *PlayRequest) GetItemIdsOk() (*[]string, bool)
GetItemIdsOk returns a tuple with the ItemIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlayRequest) SetItemIds(v []string)
SetItemIds sets ItemIds field to given value.
func (o *PlayRequest) HasItemIds() bool
HasItemIds returns a boolean if a field has been set.
func (o *PlayRequest) SetItemIdsNil(b bool)
SetItemIdsNil sets the value for ItemIds to be an explicit nil
func (o *PlayRequest) UnsetItemIds()
UnsetItemIds ensures that no value is present for ItemIds, not even an explicit nil
func (o *PlayRequest) GetStartPositionTicks() int64
GetStartPositionTicks returns the StartPositionTicks field if non-nil, zero value otherwise.
func (o *PlayRequest) GetStartPositionTicksOk() (*int64, bool)
GetStartPositionTicksOk returns a tuple with the StartPositionTicks field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlayRequest) SetStartPositionTicks(v int64)
SetStartPositionTicks sets StartPositionTicks field to given value.
func (o *PlayRequest) HasStartPositionTicks() bool
HasStartPositionTicks returns a boolean if a field has been set.
func (o *PlayRequest) SetStartPositionTicksNil(b bool)
SetStartPositionTicksNil sets the value for StartPositionTicks to be an explicit nil
func (o *PlayRequest) UnsetStartPositionTicks()
UnsetStartPositionTicks ensures that no value is present for StartPositionTicks, not even an explicit nil
func (o *PlayRequest) GetPlayCommand() PlayCommand
GetPlayCommand returns the PlayCommand field if non-nil, zero value otherwise.
func (o *PlayRequest) GetPlayCommandOk() (*PlayCommand, bool)
GetPlayCommandOk returns a tuple with the PlayCommand field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlayRequest) SetPlayCommand(v PlayCommand)
SetPlayCommand sets PlayCommand field to given value.
func (o *PlayRequest) HasPlayCommand() bool
HasPlayCommand returns a boolean if a field has been set.
func (o *PlayRequest) GetControllingUserId() string
GetControllingUserId returns the ControllingUserId field if non-nil, zero value otherwise.
func (o *PlayRequest) GetControllingUserIdOk() (*string, bool)
GetControllingUserIdOk returns a tuple with the ControllingUserId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlayRequest) SetControllingUserId(v string)
SetControllingUserId sets ControllingUserId field to given value.
func (o *PlayRequest) HasControllingUserId() bool
HasControllingUserId returns a boolean if a field has been set.
func (o *PlayRequest) GetSubtitleStreamIndex() int32
GetSubtitleStreamIndex returns the SubtitleStreamIndex field if non-nil, zero value otherwise.
func (o *PlayRequest) 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.
func (o *PlayRequest) SetSubtitleStreamIndex(v int32)
SetSubtitleStreamIndex sets SubtitleStreamIndex field to given value.
func (o *PlayRequest) HasSubtitleStreamIndex() bool
HasSubtitleStreamIndex returns a boolean if a field has been set.
func (o *PlayRequest) SetSubtitleStreamIndexNil(b bool)
SetSubtitleStreamIndexNil sets the value for SubtitleStreamIndex to be an explicit nil
func (o *PlayRequest) UnsetSubtitleStreamIndex()
UnsetSubtitleStreamIndex ensures that no value is present for SubtitleStreamIndex, not even an explicit nil
func (o *PlayRequest) GetAudioStreamIndex() int32
GetAudioStreamIndex returns the AudioStreamIndex field if non-nil, zero value otherwise.
func (o *PlayRequest) 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.
func (o *PlayRequest) SetAudioStreamIndex(v int32)
SetAudioStreamIndex sets AudioStreamIndex field to given value.
func (o *PlayRequest) HasAudioStreamIndex() bool
HasAudioStreamIndex returns a boolean if a field has been set.
func (o *PlayRequest) SetAudioStreamIndexNil(b bool)
SetAudioStreamIndexNil sets the value for AudioStreamIndex to be an explicit nil
func (o *PlayRequest) UnsetAudioStreamIndex()
UnsetAudioStreamIndex ensures that no value is present for AudioStreamIndex, not even an explicit nil
func (o *PlayRequest) GetMediaSourceId() string
GetMediaSourceId returns the MediaSourceId field if non-nil, zero value otherwise.
func (o *PlayRequest) 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.
func (o *PlayRequest) SetMediaSourceId(v string)
SetMediaSourceId sets MediaSourceId field to given value.
func (o *PlayRequest) HasMediaSourceId() bool
HasMediaSourceId returns a boolean if a field has been set.
func (o *PlayRequest) SetMediaSourceIdNil(b bool)
SetMediaSourceIdNil sets the value for MediaSourceId to be an explicit nil
func (o *PlayRequest) UnsetMediaSourceId()
UnsetMediaSourceId ensures that no value is present for MediaSourceId, not even an explicit nil
func (o *PlayRequest) GetStartIndex() int32
GetStartIndex returns the StartIndex field if non-nil, zero value otherwise.
func (o *PlayRequest) GetStartIndexOk() (*int32, bool)
GetStartIndexOk returns a tuple with the StartIndex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PlayRequest) SetStartIndex(v int32)
SetStartIndex sets StartIndex field to given value.
func (o *PlayRequest) HasStartIndex() bool
HasStartIndex returns a boolean if a field has been set.
func (o *PlayRequest) SetStartIndexNil(b bool)
SetStartIndexNil sets the value for StartIndex to be an explicit nil
func (o *PlayRequest) UnsetStartIndex()
UnsetStartIndex ensures that no value is present for StartIndex, not even an explicit nil