SetNillableCommitHash sets the "commit_hash" field if the given value is not nil.
(s *string)
| 45 | |
| 46 | // SetNillableCommitHash sets the "commit_hash" field if the given value is not nil. |
| 47 | func (gcu *GitCommitUpdate) SetNillableCommitHash(s *string) *GitCommitUpdate { |
| 48 | if s != nil { |
| 49 | gcu.SetCommitHash(*s) |
| 50 | } |
| 51 | return gcu |
| 52 | } |
| 53 | |
| 54 | // SetBranchName sets the "branch_name" field. |
| 55 | func (gcu *GitCommitUpdate) SetBranchName(s string) *GitCommitUpdate { |
nothing calls this directly
no test coverage detected