ObjectFilterProperty

public class ObjectFilterProperty : Codable

Defines the format of nested properties used in ObjectFilter conditions and orderByProperties clauses. Both dot notation ("property.subproperty.subsubproperty") and array notation (["property", "subproperty", "subsubproperty"]) are supported for naming nested properties. Note that dot notation cannot be used if one of the properties contains a dot (.) in its name. In such cases, array notation must be used.

  • The name of a single filter property.

    Declaration

    Swift

    internal(set) public var objectFilterProperty: String? { get }
  • The ordered collection of names of chained filter properties.

    Declaration

    Swift

    internal(set) public var objectFilterProperties: [String]? { get }
  • Create an instance of ObjectFilterProperty.

    Declaration

    Swift

    public convenience init(_ objectFilterProperty: String)

    Parameters

    objectFilterProperty

    Specifies filter property in dot notation ("property.subproperty.subsubproperty"). Note that dot notation cannot be used if one of the properties contains a dot (.) in its name. In such cases, array notation (see objectFilterProperties) must be used.

  • Create an instance of ObjectFilterProperty.

    Declaration

    Swift

    public convenience init(_ objectFilterProperties: [String])

    Parameters

    objectFilterProperties

    Specifies filter property in array notation (["property", "subproperty", "subsubproperty"]).

  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws
  • Declaration

    Swift

    public required init(from decoder: Decoder) throws