Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to string | Gets or sets the name of the new playlist. | [optional] |
Ids | Pointer to []string | Gets or sets item ids to add to the playlist. | [optional] |
UserId | Pointer to NullableString | Gets or sets the user id. | [optional] |
MediaType | Pointer to NullableMediaType | Gets or sets the media type. | [optional] |
Users | Pointer to []PlaylistUserPermissions | Gets or sets the playlist users. | [optional] |
IsPublic | Pointer to bool | Gets or sets a value indicating whether the playlist is public. | [optional] |
func NewCreatePlaylistDto() *CreatePlaylistDto
NewCreatePlaylistDto instantiates a new CreatePlaylistDto 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 NewCreatePlaylistDtoWithDefaults() *CreatePlaylistDto
NewCreatePlaylistDtoWithDefaults instantiates a new CreatePlaylistDto 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 *CreatePlaylistDto) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreatePlaylistDto) 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.
func (o *CreatePlaylistDto) SetName(v string)
SetName sets Name field to given value.
func (o *CreatePlaylistDto) HasName() bool
HasName returns a boolean if a field has been set.
func (o *CreatePlaylistDto) GetIds() []string
GetIds returns the Ids field if non-nil, zero value otherwise.
func (o *CreatePlaylistDto) GetIdsOk() (*[]string, bool)
GetIdsOk returns a tuple with the Ids field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreatePlaylistDto) SetIds(v []string)
SetIds sets Ids field to given value.
func (o *CreatePlaylistDto) HasIds() bool
HasIds returns a boolean if a field has been set.
func (o *CreatePlaylistDto) GetUserId() string
GetUserId returns the UserId field if non-nil, zero value otherwise.
func (o *CreatePlaylistDto) 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.
func (o *CreatePlaylistDto) SetUserId(v string)
SetUserId sets UserId field to given value.
func (o *CreatePlaylistDto) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (o *CreatePlaylistDto) SetUserIdNil(b bool)
SetUserIdNil sets the value for UserId to be an explicit nil
func (o *CreatePlaylistDto) UnsetUserId()
UnsetUserId ensures that no value is present for UserId, not even an explicit nil
func (o *CreatePlaylistDto) GetMediaType() MediaType
GetMediaType returns the MediaType field if non-nil, zero value otherwise.
func (o *CreatePlaylistDto) GetMediaTypeOk() (*MediaType, bool)
GetMediaTypeOk returns a tuple with the MediaType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreatePlaylistDto) SetMediaType(v MediaType)
SetMediaType sets MediaType field to given value.
func (o *CreatePlaylistDto) HasMediaType() bool
HasMediaType returns a boolean if a field has been set.
func (o *CreatePlaylistDto) SetMediaTypeNil(b bool)
SetMediaTypeNil sets the value for MediaType to be an explicit nil
func (o *CreatePlaylistDto) UnsetMediaType()
UnsetMediaType ensures that no value is present for MediaType, not even an explicit nil
func (o *CreatePlaylistDto) GetUsers() []PlaylistUserPermissions
GetUsers returns the Users field if non-nil, zero value otherwise.
func (o *CreatePlaylistDto) GetUsersOk() (*[]PlaylistUserPermissions, bool)
GetUsersOk returns a tuple with the Users field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreatePlaylistDto) SetUsers(v []PlaylistUserPermissions)
SetUsers sets Users field to given value.
func (o *CreatePlaylistDto) HasUsers() bool
HasUsers returns a boolean if a field has been set.
func (o *CreatePlaylistDto) GetIsPublic() bool
GetIsPublic returns the IsPublic field if non-nil, zero value otherwise.
func (o *CreatePlaylistDto) GetIsPublicOk() (*bool, bool)
GetIsPublicOk returns a tuple with the IsPublic field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreatePlaylistDto) SetIsPublic(v bool)
SetIsPublic sets IsPublic field to given value.
func (o *CreatePlaylistDto) HasIsPublic() bool
HasIsPublic returns a boolean if a field has been set.