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

io.github.jpmorganchase.fusion.model.DatasetSeries Maven / Gradle / Ivy

There is a newer version: 0.0.14
Show newest version
package io.github.jpmorganchase.fusion.model;

import com.google.gson.annotations.SerializedName;
import java.time.LocalDate;
import java.util.Map;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.Value;

@Value
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DatasetSeries extends CatalogResource {

    LocalDate fromDate;
    LocalDate toDate;
    LocalDate createdDate;

    @SerializedName(value = "@id")
    String linkedEntity;

    @Builder
    public DatasetSeries(
            String identifier,
            Map varArgs,
            LocalDate fromDate,
            LocalDate toDate,
            LocalDate createdDate,
            String linkedEntity) {
        super(identifier, varArgs);
        this.fromDate = fromDate;
        this.toDate = toDate;
        this.createdDate = createdDate;
        this.linkedEntity = linkedEntity;
    }

    public static class DatasetSeriesBuilder {
        @SuppressWarnings("FieldCanBeLocal")
        private Map varArgs;

        public DatasetSeriesBuilder varArgs(Map varArgs) {
            this.varArgs = copyMap(varArgs);
            return this;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy