SetNillablePrNumber sets the "pr_number" field if the given value is not nil.
(s *string)
| 119 | |
| 120 | // SetNillablePrNumber sets the "pr_number" field if the given value is not nil. |
| 121 | func (gcc *GitCommitCreate) SetNillablePrNumber(s *string) *GitCommitCreate { |
| 122 | if s != nil { |
| 123 | gcc.SetPrNumber(*s) |
| 124 | } |
| 125 | return gcc |
| 126 | } |
| 127 | |
| 128 | // SetID sets the "id" field. |
| 129 | func (gcc *GitCommitCreate) SetID(u uuid.UUID) *GitCommitCreate { |
nothing calls this directly
no test coverage detected