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

com.symphony.api.model.V1DLPDictionaryContent Maven / Gradle / Ivy

There is a newer version: 8.0.5
Show newest version
package com.symphony.api.model;

import io.swagger.v3.oas.annotations.media.Schema;

import io.swagger.v3.oas.annotations.media.Schema;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonValue;
import com.fasterxml.jackson.annotation.JsonCreator;

/**
  * Content of a dictionary
 **/
@Schema(description="Content of a dictionary")
public class V1DLPDictionaryContent   {
  
  @Schema(description = "A comma separated string which contains a lot of keywords/regexes. ")
 /**
   * A comma separated string which contains a lot of keywords/regexes.   
  **/
  private String data = null;
  
  @Schema(description = "Number of Keywords in dictionary")
 /**
   * Number of Keywords in dictionary  
  **/
  private Integer numKeywords = null;
  
  @Schema(description = "MD5 value of the content")
 /**
   * MD5 value of the content  
  **/
  private String md5 = null;
 /**
   * A comma separated string which contains a lot of keywords/regexes. 
   * @return data
  **/
  @JsonProperty("data")
  public String getData() {
    return data;
  }

  public void setData(String data) {
    this.data = data;
  }

  public V1DLPDictionaryContent data(String data) {
    this.data = data;
    return this;
  }

 /**
   * Number of Keywords in dictionary
   * @return numKeywords
  **/
  @JsonProperty("numKeywords")
  public Integer getNumKeywords() {
    return numKeywords;
  }

  public void setNumKeywords(Integer numKeywords) {
    this.numKeywords = numKeywords;
  }

  public V1DLPDictionaryContent numKeywords(Integer numKeywords) {
    this.numKeywords = numKeywords;
    return this;
  }

 /**
   * MD5 value of the content
   * @return md5
  **/
  @JsonProperty("md5")
  public String getMd5() {
    return md5;
  }

  public void setMd5(String md5) {
    this.md5 = md5;
  }

  public V1DLPDictionaryContent md5(String md5) {
    this.md5 = md5;
    return this;
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class V1DLPDictionaryContent {\n");
    
    sb.append("    data: ").append(toIndentedString(data)).append("\n");
    sb.append("    numKeywords: ").append(toIndentedString(numKeywords)).append("\n");
    sb.append("    md5: ").append(toIndentedString(md5)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private static String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy