CatalogEntry class

Constructors

CatalogEntry({bool? configured, String? description, String? displayName, String? kind, String? provider})
Returns a new CatalogEntry instance.

Properties

configured ↔ bool?
Configured is whether THIS DEPLOYMENT holds the OAuth client credentials for the provider. False means Connect would dead-end, so the console can offer it disabled instead of broken. It is deployment-wide and says nothing about whether the caller's org has connected the source — that is the connector list's status.
getter/setter pair
description ↔ String?
Description is one line of shop copy: what connecting this source pulls in. Native connectors carry written prose; a piece-backed one reads "activepieces connector (
getter/setter pair
displayName ↔ String?
DisplayName is the label to show a person. First-party connectors carry a written name ("GitHub", "Google Drive"); a piece-backed one falls back to the provider capitalized, because the rich activepieces metadata lives behind a cross-service call this read will not make.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
kind ↔ String?
"native" | "piece"
getter/setter pair
provider ↔ String?
Provider is the source's id and the address every connector op takes it by (/v1/knowledge/connectors/:provider). One of github, slack, google, notion.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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) → CatalogEntry?
Returns a new CatalogEntry instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<CatalogEntry>
mapFromJson(dynamic json) → Map<String, CatalogEntry>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<CatalogEntry>>

Constants

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