SyncReq class
Constructors
- SyncReq({String? actor, String? direction, String? kind, bool? run, EndpointReq? source_, EndpointReq? target, String? trigger})
- Returns a new SyncReq instance.
Properties
- actor ↔ String?
-
Actor is the identity the sync writes as, used as the loop guard so its own writes do not re-trigger it. Defaults to the deployment's GIT_SYNC_ACTOR.
getter/setter pair
- direction ↔ String?
-
Direction is both (the default), pull, push or off.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- kind ↔ String?
-
Kind is what is being synced. Only "git" today, which is also the default.
getter/setter pair
- run ↔ bool?
-
Run reconciles once immediately after the upsert, in the background.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source_ ↔ EndpointReq?
-
Source is the upstream end. Required.
getter/setter pair
- target ↔ EndpointReq?
-
Target is the downstream end. Optional for git: a native repository named after the source is derived when it is omitted.
getter/setter pair
- trigger ↔ String?
-
Trigger is what starts a reconcile: webhook (the default), poll or manual.
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) → SyncReq? -
Returns a new SyncReq instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< SyncReq> -
mapFromJson(
dynamic json) → Map< String, SyncReq> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< SyncReq> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.