LongRunningResponse

data class LongRunningResponse(val initialPollDelay: String, val maxPollDelay: String, val pollDelayMultiplier: Double, val totalPollTimeout: String)

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

Link copied to clipboard
fun LongRunningResponse(initialPollDelay: String, maxPollDelay: String, pollDelayMultiplier: Double, totalPollTimeout: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Initial delay after which the first poll request will be made. Default value: 5 seconds.

Link copied to clipboard

Maximum time between two subsequent poll requests. Default value: 45 seconds.

Link copied to clipboard

Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay. Default value: 1.5.

Link copied to clipboard

Total polling timeout. Default value: 5 minutes.