Punch
public struct Punch : Codable, Equatable
Struct representing Punch Card “Punch” related values.
-
Value representing the entity id.
Declaration
Swift
public var id: Int
-
Label of punch.
Declaration
Swift
public var label: String
-
Name of punch.
Declaration
Swift
public var name: String
-
Sequence of punch.
Declaration
Swift
public var sequence: String
-
Maximum punches for punch.
Declaration
Swift
public var maxAllowed: Int
-
Image URL of punch.
Declaration
Swift
public var imageUrl: String
-
NUmber of punches of punch.
Declaration
Swift
public var punches: Int
-
Flag if punched.
Declaration
Swift
public var isPunched: Bool
-
Type of punch.
Declaration
Swift
public var type: String
-
Index of punch.
Declaration
Swift
public var index: Int
-
Undocumented
Declaration
Swift
public init(id: Int, label: String, name: String, sequence: String, maxAllowed: Int, imageUrl: String, punches: Int, isPunched: Bool, type: String, index: Int)
-
Declaration
Swift
public init(from decoder: Decoder) throws