PromoteReq class

Constructors

PromoteReq({String? app, String? deploymentId, String? project, String? tag})
Returns a new PromoteReq instance.

Properties

app ↔ String?
App is the application's slug, from the path.
getter/setter pair
deploymentId ↔ String?
DeploymentID promotes that deployment's exact built image. One of this and Tag is required.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
project ↔ String?
Project is the project the application lives under, from the path.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tag ↔ String?
Tag promotes an image tag, resolved the same way a deploy resolves one.
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) → PromoteReq?
Returns a new PromoteReq instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<PromoteReq>
mapFromJson(dynamic json) → Map<String, PromoteReq>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<PromoteReq>>

Constants

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