(bd *managementv2.UpdateBotDetectionSettingsResponseContent)
| 246 | } |
| 247 | |
| 248 | func makeBotDetectionUpdateView(bd *managementv2.UpdateBotDetectionSettingsResponseContent) *botDetectionView { |
| 249 | return &botDetectionView{ |
| 250 | BotDetectionLevel: string(bd.GetBotDetectionLevel()), |
| 251 | ChallengePasswordPolicy: string(bd.GetChallengePasswordPolicy()), |
| 252 | ChallengePasswordlessPolicy: string(bd.GetChallengePasswordlessPolicy()), |
| 253 | ChallengePasswordResetPolicy: string(bd.GetChallengePasswordResetPolicy()), |
| 254 | AllowList: bd.GetAllowlist(), |
| 255 | MonitoringModeEnabled: boolean(bd.GetMonitoringModeEnabled()), |
| 256 | |
| 257 | raw: bd, |
| 258 | } |
| 259 | } |
no test coverage detected