MemberBadge

public struct MemberBadge : Codable, Equatable

Struct representing Member badge summary related values.

  • id

    Value representing the entity id.

    Declaration

    Swift

    public var id: Int
  • Label of badge.

    Declaration

    Swift

    public var label: String
  • Type of badge.

    Declaration

    Swift

    public var type: String
  • Date when the badge was granted.

    Declaration

    Swift

    public var grantedAt: String
  • Date when the badge will expire.

    Declaration

    Swift

    public var expiresAt: String
  • Bolean value indicating whether the badge is expired.

    Declaration

    Swift

    public var expired: Bool
  • Number of badge.

    Declaration

    Swift

    public var count: Int
  • Undocumented

    Declaration

    Swift

    public init(id: Int, label: String, type: String, grantedAt: String,
                expiresAt: String, expired: Bool, count: Int)
  • Declaration

    Swift

    public init(from decoder: Decoder) throws