org.hisp.dhis.response.datavalueset.DataValueSetResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dhis2-java-client Show documentation
Show all versions of dhis2-java-client Show documentation
DHIS 2 API client for Java.
package org.hisp.dhis.response.datavalueset;
import java.util.ArrayList;
import java.util.List;
import lombok.Getter;
import lombok.Setter;
import org.hisp.dhis.response.BaseHttpResponse;
import com.fasterxml.jackson.annotation.JsonProperty;
@Getter
@Setter
public class DataValueSetResponse
extends BaseHttpResponse
{
@JsonProperty
private Status status;
@JsonProperty
private String description;
@JsonProperty
private ImportCount importCount;
@JsonProperty
private List conflicts = new ArrayList<>();
@JsonProperty
private String dataSetComplete;
public DataValueSetResponse()
{
}
@Override
public String toString()
{
return new StringBuilder( "[" )
.append( "status: " ).append( status ).append( ", " )
.append( "description: " ).append( description ).append( ", " )
.append( "importCount: " ).append( importCount ).append( ", " )
.append( "conflicts: " ).append( conflicts ).append( ", " )
.append( "dataSetComplete: " ).append( dataSetComplete ).append( ", " )
.append( "httpStatusCode: " ).append( httpStatusCode ).append( "]" ).toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy