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

nl.vpro.sourcingservice.StatusResponse Maven / Gradle / Ivy

The newest version!
package nl.vpro.sourcingservice;

import lombok.*;

import java.time.Instant;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

@Getter
@ToString(callSuper = true)
public class StatusResponse extends AbstractResponse {


    final Response response;

    @JsonCreator
    public StatusResponse(@JsonProperty("status") String status, @JsonProperty("response") Response response) {
        super(status);
        this.response = response;
    }

    @Data
    @Builder
    public static class Response {

        Instant created_at;
        Instant deleted_at;
        Instant hard_delete_at;
        Instant filesent_at;
        Instant streamstatus_updated;
        Instant published_at;
        String status;
        String filename;
        String original_filename;
        String mid;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy