com.mailchimp.domain.Batch Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mailchimp-java Show documentation
Show all versions of mailchimp-java Show documentation
Java client to communicate with MailChimp API 3.0
The newest version!
package com.mailchimp.domain;
import java.time.ZonedDateTime;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.mailchimp.jackson.MailChimpZonedDateTimeDeserializer;
import lombok.Data;
@Data
public class Batch {
@JsonProperty("id")
private String id;
@JsonProperty("status")
private String status;
@JsonProperty("total_operations")
private Integer totalOperations;
@JsonProperty("finished_operations")
private Integer finishedOperations;
@JsonProperty("errored_operations")
private Integer erroredOperations;
@JsonProperty("submitted_at")
@JsonDeserialize(using = MailChimpZonedDateTimeDeserializer.class)
private ZonedDateTime submittedAt;
@JsonProperty("completed_at")
@JsonDeserialize(using = MailChimpZonedDateTimeDeserializer.class)
private ZonedDateTime completedAt;
@JsonProperty("response_body_url")
private String responseBodyUrl;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy