package com.github.dockerjava.api.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.github.dockerjava.core.RemoteApiVersion;

/**
 * @since {@link RemoteApiVersion#VERSION_1_24}
 */
public enum ServiceUpdateState {
    @JsonProperty("updating")
    UPDATING,

    @JsonProperty("paused")
    PAUSED,

    @JsonProperty("completed")
    COMPLETED
}

@@ -361,11 +361,76 @@
 OMPLETED
+,%0A%0A    @JsonProperty(%22rollback_completed%22)%0A    ROLLBACK_COMPLETED
 %0A%7D%0A

support rollback_completed value in ServiceUpdateState