// Generated by Create API
// https://github.com/CreateAPI/CreateAPI

import Foundation
import Get
import URLQueryEncoder

extension Paths.Social {
    public var recommendUsers: RecommendUsers {
        RecommendUsers(path: path + "/recommend-users")
    }

    public struct RecommendUsers {
        /// Path: `/api/social/recommend-users`
        public let path: String

        /// Recommend Users
        ///
        /// Api post request for 'Recommend Users' section of Homepage
        /// Post request have more controls on inputs with nested data structure.
        /// returns: list of SimpleProfileInfoSchemas (can be empty) of each user to be displayed.
        ///     users must be initialized in User model to be pulled.
        public func post(_ body: GenAPI.RecommendUserReq) -> Request<GenAPI.RecommendUserResp> {
            Request(path: path, method: "POST", body: body, id: "studio_api_social_api_recommend_users")
        }
    }
}
