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

pl.allegro.tech.hermes.api.InconsistentMetadata Maven / Gradle / Ivy

There is a newer version: 2.6.22
Show newest version
package pl.allegro.tech.hermes.api;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

public class InconsistentMetadata {
    private final String datacenter;
    private final String content;

    @JsonCreator
    public InconsistentMetadata(@JsonProperty("datacenter") String datacenter,
                                @JsonProperty("content") String content) {
        this.datacenter = datacenter;
        this.content = content;
    }

    public String getDatacenter() {
        return datacenter;
    }

    public String getContent() {
        return content;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy