SetNillableDownloads sets the "downloads" field if the given value is not nil.
(i *int)
| 486 | |
| 487 | // SetNillableDownloads sets the "downloads" field if the given value is not nil. |
| 488 | func (suo *ShareUpdateOne) SetNillableDownloads(i *int) *ShareUpdateOne { |
| 489 | if i != nil { |
| 490 | suo.SetDownloads(*i) |
| 491 | } |
| 492 | return suo |
| 493 | } |
| 494 | |
| 495 | // AddDownloads adds i to the "downloads" field. |
| 496 | func (suo *ShareUpdateOne) AddDownloads(i int) *ShareUpdateOne { |
nothing calls this directly
no test coverage detected