PunchCardsRequest
public enum PunchCardsRequest : URLRequestConvertible
Enumeration of network requests for Activities.
-
Get punchcards with optional
Parameters
.Declaration
Swift
case getPunchCards(parameters: Parameters?)
-
Get punchcard by ID with optional
Parameters
.Declaration
Swift
case getPunchCard(id: Int, parameters: Parameters?)
-
Get punchcard with name and optional
Parameters
.Declaration
Swift
case getPunchCardWithName(name: String, parameters: Parameters?)
-
Get punchcard type with name and optional
Parameters
.Declaration
Swift
case getTypeOfPunchCardWithName(name: String, parameters: Parameters?)
-
Declaration
Swift
public var path: String { get }
-
Declaration
Swift
public var method: HTTPMethod { get }
-
Declaration
Swift
public var parameters: Parameters? { get }