org.hisp.dhis.response.job.JobNotification 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.job;
import java.util.Date;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import org.hisp.dhis.response.NotificationLevel;
import com.fasterxml.jackson.annotation.JsonProperty;
@Getter
@Setter
@ToString
@NoArgsConstructor
public class JobNotification
{
@JsonProperty
private String uid;
@JsonProperty
private NotificationLevel level;
@JsonProperty
private JobCategory category;
@JsonProperty
private Date time;
@JsonProperty
private String message;
@JsonProperty
private boolean completed;
public JobNotification( String uid, NotificationLevel level, JobCategory category, String message )
{
this.uid = uid;
this.level = level;
this.category = category;
this.message = message;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy