(all bool)
| 281 | } |
| 282 | |
| 283 | func (m *CreateUserRequest) validate(all bool) error { |
| 284 | if m == nil { |
| 285 | return nil |
| 286 | } |
| 287 | |
| 288 | var errors []error |
| 289 | |
| 290 | if len(errors) > 0 { |
| 291 | return CreateUserRequestMultiError(errors) |
| 292 | } |
| 293 | |
| 294 | return nil |
| 295 | } |
| 296 | |
| 297 | // CreateUserRequestMultiError is an error wrapping multiple validation errors |
| 298 | // returned by CreateUserRequest.ValidateAll() if the designated constraints |
no test coverage detected