Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

Latest commit

 

History

History
93 lines (50 loc) · 2.12 KB

Media.md

File metadata and controls

93 lines (50 loc) · 2.12 KB

Media

Properties

Name Type Description Notes
Url string
Seed int32
Nsfw bool

Methods

NewMedia

func NewMedia(url string, seed int32, nsfw bool, ) *Media

NewMedia instantiates a new Media 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

NewMediaWithDefaults

func NewMediaWithDefaults() *Media

NewMediaWithDefaults instantiates a new Media 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

GetUrl

func (o *Media) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

func (o *Media) GetUrlOk() (*string, bool)

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

SetUrl

func (o *Media) SetUrl(v string)

SetUrl sets Url field to given value.

GetSeed

func (o *Media) GetSeed() int32

GetSeed returns the Seed field if non-nil, zero value otherwise.

GetSeedOk

func (o *Media) GetSeedOk() (*int32, bool)

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

SetSeed

func (o *Media) SetSeed(v int32)

SetSeed sets Seed field to given value.

GetNsfw

func (o *Media) GetNsfw() bool

GetNsfw returns the Nsfw field if non-nil, zero value otherwise.

GetNsfwOk

func (o *Media) GetNsfwOk() (*bool, bool)

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

SetNsfw

func (o *Media) SetNsfw(v bool)

SetNsfw sets Nsfw field to given value.

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