CreateRequest class final

Parameters for creating an upload request.

Carries constraints, display, subject, and recipient, among other supported fields.

Constructors

CreateRequest({ConstraintsInput? constraints, DisplayInput? display, PartyInput? subject, PartyInput? recipient, ResourceInput? resource, ActorInput? requester, AttemptsRequest? attempts, CustomData? customData, DateTime? expiresAt, required String purpose})
const
CreateRequest.fromJson(Map<String, Object?> json)
factory

Properties

attempts → AttemptsRequest?
final
constraints → ConstraintsInput?
final
customData → CustomData?
final
display → DisplayInput?
final
expiresAt → DateTime?
final
hashCode → int
The hash code for this object.
no setterinherited
purpose → String
final
recipient → PartyInput?
final
requester → ActorInput?
final
resource → ResourceInput?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subject → PartyInput?
final

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