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

com.sumologic.client.model.SumoEntity Maven / Gradle / Ivy

package com.sumologic.client.model;

import com.fasterxml.jackson.annotation.JsonIgnore;

public abstract class SumoEntity {

    private String eTag;

    /**
     * Gets the ETag.
     *
     * @return The ETag.
     */
    @JsonIgnore public String getETag() {
        return eTag;
    }

    /**
     * Sets the ETag. Used for optimistic locking; if an invalid ETag is provided, update
     * operations will fail, so only modify this if you know what you're doing.
     */
    public void setETag(String eTag) {
        this.eTag = eTag;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy