com.sumologic.client.collectors.model.CreateSourceResponse 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 created source.
*
* @author Jeffrey Wang
*/
public class CreateSourceResponse 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;
}
}