Files
Woka_Native_iOS/WOKA/Authentication/Model/AvatarDM.swift
BilalKhanWDI d6624b8de7 - Added api for username check
- Added checks and error for the name, username and password
- On gender select adding values to the post reg struct.
- Handled the interest selection into a array to post to the reg struct
- Finalised the Age Select vc with gender select, date select, interest select
- Added Avatar API
2024-05-08 19:36:20 +05:30

33 lines
649 B
Swift

//
// AvatarDM.swift
// WOKA
//
// Created by MacBook Pro on 08/05/24.
//
import Foundation
// MARK: - AvatarDM
struct AvatarDM: Codable {
let result: [ResultRecords]?
let totalRecords: Int?
enum CodingKeys: String, CodingKey {
case result
case totalRecords = "total_records"
}
// MARK: - Result
struct ResultRecords: Codable {
let id: Int?
let avatarName: String?
let avatarImageURL: String?
enum CodingKeys: String, CodingKey {
case id
case avatarName = "avatar_name"
case avatarImageURL = "avatar_image_url"
}
}
}