Deployment class
An immutable representation of a RestApi resource that can be called by users using Stages. A deployment must be associated with a Stage for it to be callable over the Internet.
To create a deployment, call
POST
on the
Deployments resource of a RestApi. To view, update, or delete
a deployment, call GET
, PATCH
, or
DELETE
on the specified deployment resource
(/restapis/{restapi_id}/deployments/{deployment_id}
).Constructors
-
Deployment({Map<
String, Map< ? apiSummary, DateTime? createdDate, String? description, String? id})String, MethodSnapshot> > -
Deployment.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
apiSummary
→ Map<
String, Map< ?String, MethodSnapshot> > -
A summary of the RestApi at the date and time that the deployment
resource was created.
final
- createdDate → DateTime?
-
The date and time that the deployment resource was created.
final
- description → String?
-
The description for the deployment resource.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The identifier for the deployment resource.
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited