DriveCredentialRequest class final
Client → Hub: manage the caller's own git credentials on nodeId.
op is add | list | remove. host is set for add/remove; credential
carries the omnydrive GitCredential JSON for add. The caller's principal is
NOT sent — the hub stamps it onto NodeDriveCredentialRequest.
- Inheritance
-
- Object
- ControlMessage
- DriveCredentialRequest
Constructors
Properties
- channelId → int?
-
The channel this message pertains to, or
nullfor connection-level messages (the envelopecfield).no setterinherited -
credential
→ Map<
String, dynamic> ? -
The omnydrive
GitCredentialJSON for add (null otherwise).final - hashCode → int
-
The hash code for this object.
no setterinherited
- host → String?
-
The git host for add/remove (null for list).
final
- nodeId → String
-
The target node.
final
- op → String
-
The operation:
add,list, orremove.final - requestId → String
-
The correlation id echoed in the response.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
The stable type discriminator (the envelope
tfield).no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
The message payload (the envelope
dfield), without the type or channel.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
int? channel, Map< String, dynamic> d) → DriveCredentialRequest - Decodes a DriveCredentialRequest.