Files
Woka_Native_iOS/WOKA/Network Adapter/BaseResponseModel.swift
BilalKhanWDI 3c69db0032 - Added send OTP api
- Added verify  OTP api
- Modified the flow
- Made a authfunc to handle the type of user and the language selected
- Added OTP fields combine logic. Also handled the otp blank checks.
- Added API for intrestes get
2024-05-07 19:33:29 +05:30

24 lines
395 B
Swift

//
// BaseResponseModel.swift
// WOKA
//
// Created by MacBook Pro on 06/05/24.
//
import Foundation
// MARK: - BaseResponseModel
class BaseResponseModel<T: Codable> : Codable {
//class BaseResponseModel: Codable {
let success: Int?
let message: String?
let data: T?
enum CodingKeys: String, CodingKey {
case success
case message
case data
}
}