package com.github.dockerjava.api.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.annotation.CheckForNull;
import java.io.Serializable;


/**
 * @since {@link RemoteApiVersion#VERSION_1_24}
 */
@EqualsAndHashCode
@ToString
public class SwarmNodeStatus implements Serializable {
    public static final long serialVersionUID = 1L;

    /**
     * @since 1.24
     */
    @JsonProperty("State")
    private SwarmNodeState state;

    /**
     * @see #state
     */
    @CheckForNull
    public SwarmNodeState getState() {
        return state;
    }

    /**
     * @see #state
     */
    public SwarmNodeStatus withState(SwarmNodeState state) {
        this.state = state;
        return this;
    }
}

@@ -506,16 +506,106 @@
 state;%0A%0A
+    /**%0A     * @since 1.25%0A     */%0A    @JsonProperty(%22Addr%22)%0A    private String address;%0A%0A
     /**%0A
@@ -867,11 +867,284 @@
 s;%0A    %7D
+%0A%0A    /**%0A     * @see #address%0A     */%0A    @CheckForNull%0A    public String getAddress() %7B%0A        return address;%0A    %7D%0A%0A    /**%0A     * @see #address%0A     */%0A    public SwarmNodeStatus withAddress(String address) %7B%0A        this.address = address;%0A        return this;%0A    %7D
 %0A%7D%0A

Add SwarmNodeStatus#address field (#1405)