LongRunningResponse class

Describes settings to use when generating API methods that use the long-running operation pattern. All default values below are from those used in the client library generators (e.g. Java).

Constructors

LongRunningResponse({required Input<String> initialPollDelay, required Input<String> maxPollDelay, required Input<double> pollDelayMultiplier, required Input<String> totalPollTimeout})
Creates a new LongRunningResponse. initialPollDelay Initial delay after which the first poll request will be made. Default value: 5 seconds. maxPollDelay Maximum time between two subsequent poll requests. Default value: 45 seconds. pollDelayMultiplier Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay. Default value: 1.5. totalPollTimeout Total polling timeout. Default value: 5 minutes.
const
LongRunningResponse.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
initialPollDelay → Input<String>
Initial delay after which the first poll request will be made. Default value: 5 seconds.
final
maxPollDelay → Input<String>
Maximum time between two subsequent poll requests. Default value: 45 seconds.
final
pollDelayMultiplier → Input<double>
Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay. Default value: 1.5.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totalPollTimeout → Input<String>
Total polling timeout. Default value: 5 minutes.
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