$WebhooksClient class

Constructors

$WebhooksClient($Client _rootClient)
Creates a new DynamiteClient for webhooks requests.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

$$show_Request({required int id, bool? oCSAPIRequest}) → Request
Get details on a registered webhook.
$$show_Serializer() → DynamiteSerializer<WebhooksShowResponseApplicationJson, void>
Builds a serializer to parse the response of $$show_Request.
$$update_Request({required int id, required WebhooksUpdateRequestApplicationJson $body, bool? oCSAPIRequest}) → Request
Update an existing webhook registration.
$$update_Serializer() → DynamiteSerializer<WebhooksUpdateResponseApplicationJson, void>
Builds a serializer to parse the response of $$update_Request.
$create_Request({required WebhooksCreateRequestApplicationJson $body, bool? oCSAPIRequest}) → Request
Register a new webhook.
$create_Serializer() → DynamiteSerializer<WebhooksCreateResponseApplicationJson, void>
Builds a serializer to parse the response of $create_Request.
$deleteByAppId_Request({required String appid, bool? oCSAPIRequest}) → Request
Remove all existing webhook registration mapped to an AppAPI app id.
$deleteByAppId_Serializer() → DynamiteSerializer<WebhooksDeleteByAppIdResponseApplicationJson, void>
Builds a serializer to parse the response of $deleteByAppId_Request.
$destroy_Request({required int id, bool? oCSAPIRequest}) → Request
Remove an existing webhook registration.
$destroy_Serializer() → DynamiteSerializer<WebhooksDestroyResponseApplicationJson, void>
Builds a serializer to parse the response of $destroy_Request.
$index_Request({String? uri, bool? oCSAPIRequest}) → Request
List registered webhooks.
$index_Serializer() → DynamiteSerializer<WebhooksIndexResponseApplicationJson, void>
Builds a serializer to parse the response of $index_Request.
$show({required int id, bool? oCSAPIRequest}) Future<DynamiteResponse<WebhooksShowResponseApplicationJson, void>>
Get details on a registered webhook.
$update({required int id, required WebhooksUpdateRequestApplicationJson $body, bool? oCSAPIRequest}) Future<DynamiteResponse<WebhooksUpdateResponseApplicationJson, void>>
Update an existing webhook registration.
create({required WebhooksCreateRequestApplicationJson $body, bool? oCSAPIRequest}) Future<DynamiteResponse<WebhooksCreateResponseApplicationJson, void>>
Register a new webhook.
deleteByAppId({required String appid, bool? oCSAPIRequest}) Future<DynamiteResponse<WebhooksDeleteByAppIdResponseApplicationJson, void>>
Remove all existing webhook registration mapped to an AppAPI app id.
destroy({required int id, bool? oCSAPIRequest}) Future<DynamiteResponse<WebhooksDestroyResponseApplicationJson, void>>
Remove an existing webhook registration.
index({String? uri, bool? oCSAPIRequest}) Future<DynamiteResponse<WebhooksIndexResponseApplicationJson, void>>
List registered webhooks.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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