Option

public enum Option : Hashable

Options available to send to Parse Server.

  • Use the masterKey if it was provided during initial configuraration.

    Declaration

    Swift

    case useMasterKey
  • Use a specific session token.

    Note

    The session token of the current user is provided by default.

    Declaration

    Swift

    case sessionToken(String)
  • Use a specific installationId.

    Note

    The installationId of the current user is provided by default.

    Declaration

    Swift

    case installationId(String)
  • Specify mimeType.

    Declaration

    Swift

    case mimeType(String)
  • Specify fileSize.

    Declaration

    Swift

    case fileSize(String)
  • Remove mimeType.

    Note

    This is typically used indirectly by ParseFile.

    Declaration

    Swift

    case removeMimeType
  • Specify metadata.

    Note

    This is typically used indirectly by ParseFile.

    Declaration

    Swift

    case metadata([String : String])
  • Specify tags.

    Note

    This is typically used indirectly by ParseFile.

    Declaration

    Swift

    case tags([String : String])
  • Add context.

    Warning

    Requires Parse Server > 4.5.0.

    Declaration

    Swift

    case context(Encodable)
  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)
  • Declaration

    Swift

    public static func == (lhs: API.Option, rhs: API.Option) -> Bool