ResponseInfo
public struct ResponseInfo : Codable, Equatable
Struct representing challenge response info values.
-
Returns if the challenge is respondable or not.
Declaration
Swift
public var isRespondable: Bool -
Respondable info of the challenge.
Declaration
Swift
public var respondableInfo: RespondableInfo? -
Message from the response.
Declaration
Swift
public var responseMessage: String -
The secondary prize of the challenge.
Declaration
Swift
public var secondaryPrize: SecondaryPrize? -
The id of the prize of the challenge.
Declaration
Swift
public var prizeId: Int -
The prizes of the challenge as a
String.Declaration
Swift
public var prize: String -
The number of instances of the prize.
Declaration
Swift
public var prizeInstances: Int -
init(response:isRespondable: respondableInfo: responseMessage: secondaryPrize: prizeId: prize: prizeInstances: ) Undocumented
Declaration
Swift
public init(response: Response?, isRespondable: Bool, respondableInfo: RespondableInfo?, responseMessage: String, secondaryPrize: SecondaryPrize?, prizeId: Int, prize: String, prizeInstances: Int) -
Declaration
Swift
public init(from decoder: Decoder) throws -
Declaration
Swift
public func encode(to encoder: Encoder) throws
View on GitHub
ResponseInfo Structure Reference