PresignedRequestSetRequestsItem class

PresignedRequestSetRequestsItem, generated from its schema.

Constructors

PresignedRequestSetRequestsItem({required int index, required PresignOperation operation, required PresignedRequestSetRequestsItemMethod method, required String url, Map<String, String>? headers, required String expiresAt})
const
PresignedRequestSetRequestsItem.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

expiresAt → String
When storage stops honouring the URL. Storage checks expiry when a request begins.
final
hashCode → int
The hash code for this object.
no setterinherited
headers → Map<String, String>?
The signed headers, which the request MUST carry exactly as given: for put and upload-part, Content-Length and x-amz-checksum-sha256; for create-multipart, x-amz-checksum-algorithm; for complete-multipart, x-amz-mp-object-size; for head, x-amz-checksum-mode. A consumer adds nothing storage would treat as signed.
final
index → int
The position of the operation in the request's presign.requests that this answers.
final
method → PresignedRequestSetRequestsItemMethod
The HTTP method the signature covers: GET for get and list-parts, HEAD for head, PUT for put and upload-part, POST for create-multipart and complete-multipart, DELETE for delete and abort-multipart.
final
operation → PresignOperation
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url → String
The presigned URL, its query carrying the signature, the expiry and — for the multipart operations — the upload id and part number the signature covers.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serialize to a JSON-encodable map, omitting absent members.
toString() → String
A string representation of this object.
inherited

Operators

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