ActionParameterRule
public enum ActionParameterRule
extension ActionParameterRule: Codable
extension ActionParameterRule: JSONDecodable
extension ActionParameterRule: DictionaryConvertible
Rules to fill action parameter.
-
alias for object comparable with min and max rule
Declaration
Swift
public typealias Comparable = Double
-
alias for isMultipleOf rule data
Declaration
Swift
public typealias IsMultipleOf = Double
-
mandatory rule, must fill the data.
Declaration
Swift
case mandatory
-
min rule
Declaration
Swift
case min(Comparable)
-
max rule
Declaration
Swift
case max(Comparable)
-
minimum length rule
Declaration
Swift
case minLength(Int)
-
maximum length rule
Declaration
Swift
case maxLength(Int)
-
exact length rule
Declaration
Swift
case exactLength(Int)
-
regex rule
Declaration
Swift
case regex(String)
-
IsMultipleOf rule
Declaration
Swift
case isMultipleOf(IsMultipleOf)
-
Declaration
Swift
public init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Undocumented
Declaration
Swift
public init?(json: JSON)
-
Declaration
Swift
public var dictionary: ActionParameterRule.Dico { get }
-
Undocumented
Declaration
Swift
public var json: JSON { get }