Module FilesResource.ModifiedDateBehavior

type t =
| Default
| FromBody

Set modifiedDate to the value provided in the body of the request. No change if no value was provided.

| FromBodyIfNeeded

Set modifiedDate to the value provided in the body of the request depending on other contents of the update.

| FromBodyOrNow

Set modifiedDate to the value provided in the body of the request, or to the current time if no value was provided.

| NoChange

Maintain the previous value of modifiedDate.

| Now

Set modifiedDate to the current time.

| NowIfNeeded

Set modifiedDate to the current time depending on contents of the update.

val to_string : t -> string
val of_string : string -> t