SetNillablePassword sets the "password" field if the given value is not nil.
(s *string)
| 444 | |
| 445 | // SetNillablePassword sets the "password" field if the given value is not nil. |
| 446 | func (suo *ShareUpdateOne) SetNillablePassword(s *string) *ShareUpdateOne { |
| 447 | if s != nil { |
| 448 | suo.SetPassword(*s) |
| 449 | } |
| 450 | return suo |
| 451 | } |
| 452 | |
| 453 | // ClearPassword clears the value of the "password" field. |
| 454 | func (suo *ShareUpdateOne) ClearPassword() *ShareUpdateOne { |
nothing calls this directly
no test coverage detected