Endpoint class
Full metadata for a registered Agent Registry endpoint.
Constructors
-
Endpoint({String? name, String? endpointId, String? displayName, String? description, List<
Interface> interfaces = const <Interface>[], String? createTime, String? updateTime, Map<String, Object?> attributes = const <String, Object?>{}}) -
Creates an Endpoint.
const
-
Endpoint.fromJson(Map<
String, Object?> json) -
Creates an Endpoint from a JSON map.
factory
Properties
-
attributes
→ Map<
String, Object?> -
Additional endpoint attributes.
final
- createTime → String?
-
Creation timestamp (RFC 3339).
final
- description → String?
-
Optional endpoint description.
final
- displayName → String?
-
Human-readable display name.
final
- endpointId → String?
-
Stable endpoint identifier.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
interfaces
→ List<
Interface> -
Connection interfaces exposed by this endpoint.
final
- name → String?
-
Resource name of the endpoint.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updateTime → String?
-
Last update timestamp (RFC 3339).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - Serializes this endpoint to a JSON map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited