RecordsTarget
public final class RecordsTarget : RecordTargetType, RecordsTargetType
extension RecordsTarget: DecodableTargetType
Returns the data for the records of specified table
-
Undocumented
Declaration
Swift
public let table: String
-
Undocumented
Declaration
Swift
public let attributes: [String]
-
Undocumented
Declaration
Swift
public var bodyParameters: [String : Any]
-
Undocumented
Declaration
Swift
public static let attributeInBody: Bool
-
Declaration
Swift
public var method: Moya.Method
-
Declaration
Swift
public var task: Task { get }
-
Declaration
Swift
public var sampleData: Data { get }
-
Undocumented
Declaration
Swift
public typealias ResultType = Page
-
Defind one parameter.
Declaration
Swift
public func setParameter(_ key: RecordsRequestKey, _ value: Any)
-
Get value for one parameter.
Declaration
Swift
public func getParameter(_ key: RecordsRequestKey) -> Any?
-
Defined the HTTP method of this request.
Declaration
Swift
public func setHTTPMethod(_ method: Moya.Method)
-
Create a
TableMethodTarget
from this records target.Declaration
Swift
public func method(name: String) -> TableMethodTarget