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;
}
}