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

com.dropchop.textonic.model.dto.doc.TextSpanSimple Maven / Gradle / Ivy

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

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.eclipse.microprofile.openapi.annotations.media.Schema;

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

/**
 * @author Nikola Ivačič  on 10. 08. 22.
 */
@Getter
@Setter
@NoArgsConstructor
@JsonInclude(NON_NULL)
public class TextSpanSimple extends TextSpan {

  @JsonProperty("v")
  @Schema(
    description = "Context dependent text data."
  )
  private String value;

  public TextSpanSimple(String value) {
    this.value = value;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy