ResourceResponse class

Resource is an entity that can have metadata. E.g., a Docker image.

Constructors

ResourceResponse({required Input<HashResponse> contentHash, required Input<String> name, required Input<String> uri})
Creates a new ResourceResponse. contentHash The hash of the resource content. E.g., the Docker digest. name The name of the resource. E.g., the name of a Docker image - "Debian". uri The unique URI of the resource. E.g., "https://gcr.io/project/image@sha256:foo" for a Docker image.
const
ResourceResponse.fromMap(Map<String, dynamic> map)
factory

Properties

contentHash → Input<HashResponse>
The hash of the resource content. E.g., the Docker digest.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String>
The name of the resource. E.g., the name of a Docker image - "Debian".
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uri → Input<String>
The unique URI of the resource. E.g., "https://gcr.io/project/image@sha256:foo" for a Docker image.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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