org.hisp.dhis.request.orgunit.OrgUnitMergeRequest 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.request.orgunit;
import java.util.ArrayList;
import java.util.List;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonProperty;
@Getter
@Setter
@Accessors( chain = true )
public class OrgUnitMergeRequest
{
@JsonProperty
private List sources = new ArrayList<>();
@JsonProperty
private String target;
@JsonProperty
private DataMergeStrategy dataValueMergeStrategy;
@JsonProperty
private DataMergeStrategy dataApprovalMergeStrategy;
@JsonProperty
private Boolean deleteSources;
public OrgUnitMergeRequest addSource( String source )
{
this.sources.add( source );
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy