Badge
public struct Badge : Codable, Equatable
Struct representing Badge related values.
-
Value representing the entity id.
Declaration
Swift
public var id: Int -
Internal name of the badge.
Declaration
Swift
public var name: String -
Display name of the badge.
Declaration
Swift
public var label: String -
Type of the badge.
Declaration
Swift
public var type: String -
Description of the badge.
Declaration
Swift
public var description: String -
Status of the badge.
Declaration
Swift
public var status: String -
Start period of the badge.
Declaration
Swift
public var startPeriod: String -
End period of the badge.
Declaration
Swift
public var endPeriod: String -
Expiration Interval of the badge. example: 1.
Declaration
Swift
public var expirationInterval: Int -
Expiration Interval Period of the badge. example: “month”.
Declaration
Swift
public var expirationIntervalPeriod: String -
Payment type of the badge.
Declaration
Swift
public var paymentType: String -
Response Currency Amount of the badge.
Declaration
Swift
public var responseCurrencyAmount: String -
Response Currency Name of the badge.
Declaration
Swift
public var responseCurrencyName: String -
init(id:name: label: type: description: status: startPeriod: endPeriod: expirationInterval: expirationIntervalPeriod: paymentType: responseCurrencyAmount: responseCurrencyName: ) Undocumented
Declaration
Swift
public init(id: Int, name: String, label: String, type: String, description: String, status: String, startPeriod: String, endPeriod: String, expirationInterval: Int, expirationIntervalPeriod: String, paymentType: String, responseCurrencyAmount: String, responseCurrencyName: String) -
Declaration
Swift
public init(from decoder: Decoder) throws
View on GitHub
Badge Structure Reference