FolderMetadataOperation

public enum FolderMetadataOperation

Operations on a folder metadata

  • Adds new metadata path/value pair

    Declaration

    Swift

    case add(path: String, value: String)
  • Replaces metadata for path with a new value

    Declaration

    Swift

    case replace(path: String, value: String)
  • Tests expected metadata value for given path

    Declaration

    Swift

    case test(path: String, value: String)
  • Removes metadata for given path

    Declaration

    Swift

    case remove(path: String)
  • Creates JSON dictionary representation of an operation option.

    Declaration

    Swift

    public func json() -> [String : Any]

    Return Value

    JSON dictionary representation of an operation option.