GetID returns the ID field if it's non-nil, zero value otherwise.
()
| 28184 | |
| 28185 | // GetID returns the ID field if it's non-nil, zero value otherwise. |
| 28186 | func (p *ProjectV2Item) GetID() int64 { |
| 28187 | if p == nil || p.ID == nil { |
| 28188 | return 0 |
| 28189 | } |
| 28190 | return *p.ID |
| 28191 | } |
| 28192 | |
| 28193 | // GetItemURL returns the ItemURL field if it's non-nil, zero value otherwise. |
| 28194 | func (p *ProjectV2Item) GetItemURL() string { |
no outgoing calls