Status200
public class Status200 : APIModel
Uses long polling to wait for a status change on a given pump. Returns as soon as the status has changed or after the number of seconds provided by the optional timeout
query parameter (default timeout is 30 seconds). In case of timeout (408 status code) you’re safe to start the request again. Instantaneously returns if lastStatus
was given and already changed between request. If successful, it returns the same structure as the normal status call
Only use after approaching, otherwise returns 403 Forbidden
.
-
Undocumented
Declaration
Swift
public var data: PCFuelingPumpResponse?
-
Undocumented
Declaration
Swift
public init(data: PCFuelingPumpResponse? = nil)
-
Declaration
Swift
public required init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Undocumented
Declaration
Swift
public func isEqual(to object: Any?) -> Bool
-
Declaration
Swift
public static func == (lhs: Status200, rhs: Status200) -> Bool