[JsonProperty("X_Object_Public")]
public string PublicUrl { get; set; }
+ public string PreviousHash { get; set; }
+
public ObjectInfo()
{}
}
Permissions = permDict;
}
+
+ //The previous values that correspond to a NoModification object
+ //have the same account, container and possibly the same folder
+ public bool CorrespondsTo(ObjectInfo other)
+ {
+ return other.Account == this.Account
+ && other.Container == this.Container
+ && (this.Name == null || other.Name.StartsWith(this.Name));
+ }
}
}
\ No newline at end of file