Files
pkurchatov 149b80a37f Sendable DivData
commit_hash:ae183ed8d06f2c89c8693f59bedba49752638377
2025-01-16 16:25:07 +03:00

39 lines
858 B
Swift

// Generated code. Do not modify.
import Foundation
import Serialization
import VGSL
public final class DivPhoneInputMask: DivInputMaskBase, Sendable {
public static let type: String = "phone"
public let rawTextVariable: String
init(
rawTextVariable: String
) {
self.rawTextVariable = rawTextVariable
}
}
#if DEBUG
extension DivPhoneInputMask: Equatable {
public static func ==(lhs: DivPhoneInputMask, rhs: DivPhoneInputMask) -> Bool {
guard
lhs.rawTextVariable == rhs.rawTextVariable
else {
return false
}
return true
}
}
#endif
extension DivPhoneInputMask: Serializable {
public func toDictionary() -> [String: ValidSerializationValue] {
var result: [String: ValidSerializationValue] = [:]
result["type"] = Self.type
result["raw_text_variable"] = rawTextVariable
return result
}
}