BotFightModeConfiguration class

Annotations
  • @JsonSerializable.new(createToJson: true)

Constructors

BotFightModeConfiguration()
BotFightModeConfiguration.empty()
Factory method to create an empty BotFightModeConfiguration object for skeleton loading states
factory
BotFightModeConfiguration.fromJson(Map<String, dynamic> json)
factory

Properties

ai_bots_protection String
Enable rule to block AI Scrapers and Crawlers. Please note the value only_on_ad_pages is currently not available for Enterprise customers.
getter/setter pair
cf_robots_variant String
Specifies the Robots Access Control License variant to use.
getter/setter pair
crawler_protection String
Enable rule to punish AI Scrapers and Crawlers via a link maze.
getter/setter pair
enable_js bool
Use lightweight, invisible JavaScript detections to improve Bot Management. Learn more about JavaScript Detections. https://developers.cloudflare.com/bots/reference/javascript-detections/
getter/setter pair
fight_mode bool
Whether to enable Bot Fight Mode.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
is_robots_txt_managed bool
Enable cloudflare managed robots.txt. If an existing robots.txt is detected, then managed robots.txt will be prepended to the existing robots.txt.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
using_latest_model bool
A read-only field that indicates whether the zone currently is running the latest ML model.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited