All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.zanella.nomad.v1.nodes.models.NodeInfo Maven / Gradle / Ivy

The newest version!
package io.github.zanella.nomad.v1.nodes.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

import java.util.Map;

@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class NodeInfo extends NodeSummary {

    @JsonProperty("HTTPAddr") String httpAddr;

    @JsonProperty("TLSEnabled") boolean tlsEnabled;

    @JsonProperty("Attributes") Map attributes;

    @JsonProperty("Resources") Resources resources;

    @JsonProperty("Reserved") Resources reserved;

    @JsonProperty("Links") Map links;

    @JsonProperty("Meta") Object meta;

    public String superToString() { return super.toString(); }

    public boolean superEquals(NodeSummary nodeSummary) { return super.equals(nodeSummary); }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy