()
| 228 | } |
| 229 | |
| 230 | func (in PullReqLabelAssignInput) Validate() error { |
| 231 | if (in.ValueID != nil && *in.ValueID > 0) && in.Value != "" { |
| 232 | return errors.InvalidArgument("cannot accept both value id and value") |
| 233 | } |
| 234 | return nil |
| 235 | } |
| 236 | |
| 237 | type SaveLabelInput struct { |
| 238 | ID int64 `json:"id"` |
nothing calls this directly
no test coverage detected