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

com.dropchop.textonic.model.dto.ml.Model Maven / Gradle / Ivy

package com.dropchop.textonic.model.dto.ml;

import com.dropchop.recyclone.base.dto.model.base.DtoCode;
import com.dropchop.recyclone.base.dto.model.localization.Language;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.Singular;
import org.eclipse.microprofile.openapi.annotations.media.Schema;

import java.time.ZonedDateTime;
import java.util.List;

import static com.fasterxml.jackson.annotation.JsonInclude.Include.NON_EMPTY;
import static com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL;

/**
 * @author Nikola Ivačič  on 23. 06. 22.
 */
@Getter
@Setter
@NoArgsConstructor
@JsonInclude(NON_NULL)
public class Model extends DtoCode implements com.dropchop.textonic.model.api.ml.Model {

  private List languages;

  private ZonedDateTime created;

  private ZonedDateTime modified;

  private Licence licence;

  @Singular
  @Schema(
    description = "Supported analysis steps."
  )
  @JsonInclude(NON_EMPTY)
  private List steps;

  private boolean forCollection;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy