Skip to content

Latest commit

 

History

History
208 lines (111 loc) · 5.15 KB

File metadata and controls

208 lines (111 loc) · 5.15 KB

MusicDetail

Properties

Name Type Description Notes
Id string
Title string
Author string
CoverUrl string
Duration float32 Seconds
IsOriginal bool
PlayUrl NullableString
UserCount int32 Number of videos that used this music

Methods

NewMusicDetail

func NewMusicDetail(id string, title string, author string, coverUrl string, duration float32, isOriginal bool, playUrl NullableString, userCount int32, ) *MusicDetail

NewMusicDetail instantiates a new MusicDetail 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

NewMusicDetailWithDefaults

func NewMusicDetailWithDefaults() *MusicDetail

NewMusicDetailWithDefaults instantiates a new MusicDetail 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 *MusicDetail) GetId() string

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

GetIdOk

func (o *MusicDetail) 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 *MusicDetail) SetId(v string)

SetId sets Id field to given value.

GetTitle

func (o *MusicDetail) GetTitle() string

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

GetTitleOk

func (o *MusicDetail) 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 *MusicDetail) SetTitle(v string)

SetTitle sets Title field to given value.

GetAuthor

func (o *MusicDetail) GetAuthor() string

GetAuthor returns the Author field if non-nil, zero value otherwise.

GetAuthorOk

func (o *MusicDetail) GetAuthorOk() (*string, bool)

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

SetAuthor

func (o *MusicDetail) SetAuthor(v string)

SetAuthor sets Author field to given value.

GetCoverUrl

func (o *MusicDetail) GetCoverUrl() string

GetCoverUrl returns the CoverUrl field if non-nil, zero value otherwise.

GetCoverUrlOk

func (o *MusicDetail) GetCoverUrlOk() (*string, bool)

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

SetCoverUrl

func (o *MusicDetail) SetCoverUrl(v string)

SetCoverUrl sets CoverUrl field to given value.

GetDuration

func (o *MusicDetail) GetDuration() float32

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

GetDurationOk

func (o *MusicDetail) GetDurationOk() (*float32, 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 *MusicDetail) SetDuration(v float32)

SetDuration sets Duration field to given value.

GetIsOriginal

func (o *MusicDetail) GetIsOriginal() bool

GetIsOriginal returns the IsOriginal field if non-nil, zero value otherwise.

GetIsOriginalOk

func (o *MusicDetail) GetIsOriginalOk() (*bool, bool)

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

SetIsOriginal

func (o *MusicDetail) SetIsOriginal(v bool)

SetIsOriginal sets IsOriginal field to given value.

GetPlayUrl

func (o *MusicDetail) GetPlayUrl() string

GetPlayUrl returns the PlayUrl field if non-nil, zero value otherwise.

GetPlayUrlOk

func (o *MusicDetail) GetPlayUrlOk() (*string, bool)

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

SetPlayUrl

func (o *MusicDetail) SetPlayUrl(v string)

SetPlayUrl sets PlayUrl field to given value.

SetPlayUrlNil

func (o *MusicDetail) SetPlayUrlNil(b bool)

SetPlayUrlNil sets the value for PlayUrl to be an explicit nil

UnsetPlayUrl

func (o *MusicDetail) UnsetPlayUrl()

UnsetPlayUrl ensures that no value is present for PlayUrl, not even an explicit nil

GetUserCount

func (o *MusicDetail) GetUserCount() int32

GetUserCount returns the UserCount field if non-nil, zero value otherwise.

GetUserCountOk

func (o *MusicDetail) GetUserCountOk() (*int32, bool)

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

SetUserCount

func (o *MusicDetail) SetUserCount(v int32)

SetUserCount sets UserCount field to given value.

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