ProjectConnections class final

Constructors

ProjectConnections({required List<ProjectConnection> connections, required List<ProjectConnectorSecret> projectSecrets, required bool canLink, required bool canConnect, required bool inAccount})
const
ProjectConnections.fromJson(Map<String, Object?> json)
factory

Properties

canConnect → bool
Whether the caller may also connect one of an organizationOwner connector here (a store account): a signed-in owner of the project’s organization.
final
Whether the caller may link and unlink this project’s connections, and connect one of a projectOwner connector here: a signed-in owner of the project, an owner of its organization raised to one. Linking a connection also takes holding it: each connection’s mayLink says.
final
connections → List<ProjectConnection>
The project’s own connections, each with its link, or link null where none names it. Store accounts: the one each store links, whichever organization holds it; and, for a signed-in caller when the project is one of their organization’s (inAccount), that organization’s others. The linked first, then by connector and name.
final
hashCode → int
The hash code for this object.
no setterinherited
inAccount → bool
Whether the project is one of the caller’s organization’s projects. A store account links only to its own organization’s projects: off it, an owner of the organization the project belongs to links one.
final
projectSecrets → List<ProjectConnectorSecret>
For each store connector the project links no connection of, the project’s own key when it holds one: its releases use that key. Metadata only, never the value, and only for a caller with secrets:read.
final
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, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited