InfinityOptions🔗
Definition🔗
class InfinityOptions:
method: dashboardv2beta1.HttpRequestMethod
url: str
body: typing.Optional[str]
# These are 2D arrays of strings, each representing a key-value pair
# We are defining them this way because we can't generate a go struct that
# that would have exactly two strings in each sub-array
query_params: typing.Optional[list[list[str]]]
datasource_uid: str
headers: typing.Optional[list[list[str]]]
Methods🔗
to_json🔗
Converts this object into a representation that can easily be encoded to JSON.
from_json🔗
Builds this object from a JSON-decoded dict.