Route settings specific to HTTP routes.
Name | Type | Description | Notes |
---|---|---|---|
fleets | List[str] | list of Fleet UIDs to apply route to, if any. If empty, applies to all Fleets | [optional] |
filter | HttpFilter | [optional] | |
transform | HttpTransform | [optional] | |
throttle_ms | int | Minimum time between requests in Miliseconds | [optional] |
url | str | Route URL | [optional] |
http_headers | Dict[str, str] | [optional] | |
disable_http_headers | bool | [optional] [default to False] | |
timeout | int | Timeout in seconds for each request | [optional] [default to 15] |
from notehub_py.models.http import Http
# TODO update the JSON string below
json = "{}"
# create an instance of Http from a JSON string
http_instance = Http.from_json(json)
# print the JSON string representation of the object
print(Http.to_json())
# convert the object into a dict
http_dict = http_instance.to_dict()
# create an instance of Http from a dict
http_from_dict = Http.from_dict(http_dict)