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

org.hisp.dhis.response.datavalueset.DataValueSetResponse Maven / Gradle / Ivy

There is a newer version: 2.0.4
Show newest version
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