(bd *managementv2.GetBotDetectionSettingsResponseContent)
| 233 | } |
| 234 | |
| 235 | func makeBotDetectionShowView(bd *managementv2.GetBotDetectionSettingsResponseContent) *botDetectionView { |
| 236 | return &botDetectionView{ |
| 237 | BotDetectionLevel: string(bd.GetBotDetectionLevel()), |
| 238 | ChallengePasswordPolicy: string(bd.GetChallengePasswordPolicy()), |
| 239 | ChallengePasswordlessPolicy: string(bd.GetChallengePasswordlessPolicy()), |
| 240 | ChallengePasswordResetPolicy: string(bd.GetChallengePasswordResetPolicy()), |
| 241 | AllowList: bd.GetAllowlist(), |
| 242 | MonitoringModeEnabled: boolean(bd.GetMonitoringModeEnabled()), |
| 243 | |
| 244 | raw: bd, |
| 245 | } |
| 246 | } |
| 247 | |
| 248 | func makeBotDetectionUpdateView(bd *managementv2.UpdateBotDetectionSettingsResponseContent) *botDetectionView { |
| 249 | return &botDetectionView{ |
no test coverage detected