SetNillablePassword sets the "password" field if the given value is not nil.
(s *string)
| 75 | |
| 76 | // SetNillablePassword sets the "password" field if the given value is not nil. |
| 77 | func (sc *ShareCreate) SetNillablePassword(s *string) *ShareCreate { |
| 78 | if s != nil { |
| 79 | sc.SetPassword(*s) |
| 80 | } |
| 81 | return sc |
| 82 | } |
| 83 | |
| 84 | // SetViews sets the "views" field. |
| 85 | func (sc *ShareCreate) SetViews(i int) *ShareCreate { |
nothing calls this directly
no test coverage detected