Name | Type | Description | Notes |
---|---|---|---|
Url | string | ||
Seed | int32 | ||
Nsfw | bool |
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
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
func (o *Media) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
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.
func (o *Media) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *Media) GetSeed() int32
GetSeed returns the Seed field if non-nil, zero value otherwise.
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.
func (o *Media) SetSeed(v int32)
SetSeed sets Seed field to given value.
func (o *Media) GetNsfw() bool
GetNsfw returns the Nsfw field if non-nil, zero value otherwise.
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.
func (o *Media) SetNsfw(v bool)
SetNsfw sets Nsfw field to given value.