UpdateEndpointIn class

Constructors

UpdateEndpointIn({String? description, List<String> events = const [], String? status, String? url})
Returns a new UpdateEndpointIn 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. An empty or omitted list means EVERY event. 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.
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.
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) → UpdateEndpointIn?
Returns a new UpdateEndpointIn instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<UpdateEndpointIn>
mapFromJson(dynamic json) → Map<String, UpdateEndpointIn>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<UpdateEndpointIn>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.