IpWhitelistService class

IP Whitelist da conta (/ip-whitelist/{action}).

Inheritance

Constructors

IpWhitelistService(ApiHttpClient http)

Properties

hashCode → int
The hash code for this object.
no setterinherited
http → ApiHttpClient
The HTTP client instance.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(Json body, [RequestOptions options = const RequestOptions()]) → Future<Json>
Adiciona IP: POST /ip-whitelist.
buildUrl(String path) → String
Builds the full URL for an endpoint.
inherited
delete(String path, [Object? body, RequestOptions options = const RequestOptions()]) → Future<Json>
Executes a DELETE request.
inherited
download(String path, [Object? body, RequestOptions options = const RequestOptions()]) → Future<List<int>>
Downloads raw bytes (PDF, images, etc.).
inherited
get(String path, [RequestOptions options = const RequestOptions()]) → Future<Json>
Executes a GET request.
inherited
list([RequestOptions options = const RequestOptions()]) → Future<Json>
Lista IPs: GET /ip-whitelist.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(String path, [Object? body, RequestOptions options = const RequestOptions()]) → Future<Json>
Executes a PATCH request.
inherited
post(String path, [Object? body, RequestOptions options = const RequestOptions()]) → Future<Json>
Executes a POST request.
inherited
put(String path, [Object? body, RequestOptions options = const RequestOptions()]) → Future<Json>
Executes a PUT request.
inherited
remove(String id, [RequestOptions options = const RequestOptions()]) → Future<Json>
Remove IP: DELETE /ip-whitelist/{id}.
toString() → String
A string representation of this object.
inherited

Operators

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