CreateEndpointIn class
Constructors
-
CreateEndpointIn({String? description, List<
String> events = const [], String? status, String? url}) - Returns a new CreateEndpointIn instance.
Properties
- description ↔ String?
-
Description is a free-text label for the console. Optional, clipped to 1024 bytes.
getter/setter pair
-
events
↔ List<
String> -
Events are NATS subject patterns to subscribe to (e.g. "commerce.order.>"). An empty or omitted list means EVERY event on the platform bus. Max 64 patterns, each max 256 bytes.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ String?
-
Status is "active" or "disabled". Empty defaults to active. A disabled endpoint receives no bus deliveries, but can still be exercised with POST /v1/webhook/{id}/test.
getter/setter pair
- url ↔ String?
-
URL is the https:// address each matching event is POSTed to. Required, max 2048 bytes; http:// and every other scheme is refused, because a webhook carries signed event data and must not travel in the clear.
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → CreateEndpointIn? -
Returns a new CreateEndpointIn instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< CreateEndpointIn> -
mapFromJson(
dynamic json) → Map< String, CreateEndpointIn> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< CreateEndpointIn> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.