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

com.sumologic.client.collectors.model.GetSourceResponse Maven / Gradle / Ivy

package com.sumologic.client.collectors.model;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.sumologic.client.model.SumoEntity;
import com.sumologic.client.model.SumoEntityResponse;
import com.sumologic.client.util.SourceDeserializer;

/**
 * A response containing the requested source.
 *
 * @author Jeffrey Wang
 */
public class GetSourceResponse extends SumoEntityResponse {

    @JsonDeserialize(using = SourceDeserializer.class)
    private Source source;

    /**
     * Returns the source.
     *
     * @return The source.
     */
    public Source getSource() {
        return source;
    }

    @Override
    protected SumoEntity getEntity() {
        return source;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy