RecordTarget

public class RecordTarget : RecordTargetType
extension RecordTarget: DecodableTargetType

Returns the data for the specific record defined by the table’s primary key

  • Undocumented

    Declaration

    Swift

    public let table: String
  • key

    Undocumented

    Declaration

    Swift

    public let key: CustomStringConvertible
  • Undocumented

    Declaration

    Swift

    public let attributes: [String]
  • Undocumented

    Declaration

    Swift

    public var bodyParameters: [String : Any]
  • Undocumented

    Declaration

    Swift

    @discardableResult
    public func attributes(_ attributes: [String]) -> Self
  • Declaration

    Swift

    public var method: Moya.Method
  • Undocumented

    Declaration

    Swift

    public var parameters: [String : Any]
  • Declaration

    Swift

    public var task: Task { get }
  • Declaration

    Swift

    public var sampleData: Data { get }

record $method

  • Set the $method.

    Declaration

    Swift

    @discardableResult
    public func restMethod(_ method: Method) -> Self
  • Return the current rest Method

    Declaration

    Swift

    public var restMethod: Method? { get }

one record