SetNillableDownloads sets the "downloads" field if the given value is not nil.
(i *int)
| 325 | |
| 326 | // SetNillableDownloads sets the "downloads" field if the given value is not nil. |
| 327 | func (dluo *DirectLinkUpdateOne) SetNillableDownloads(i *int) *DirectLinkUpdateOne { |
| 328 | if i != nil { |
| 329 | dluo.SetDownloads(*i) |
| 330 | } |
| 331 | return dluo |
| 332 | } |
| 333 | |
| 334 | // AddDownloads adds i to the "downloads" field. |
| 335 | func (dluo *DirectLinkUpdateOne) AddDownloads(i int) *DirectLinkUpdateOne { |
nothing calls this directly
no test coverage detected