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

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

package com.symphony.api.model;

import com.symphony.api.model.V1DLPDictionaryRef;
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;

/**
  * Dictionary's metadata (excluding content)
 **/
@Schema(description="Dictionary's metadata (excluding content)")
public class V1DLPDictionaryMetadata   {
  
  @Schema(description = "Creation time of the dictionary in milliseconds elapsed as of epoch time.")
 /**
   * Creation time of the dictionary in milliseconds elapsed as of epoch time.  
  **/
  private Long creationDate = null;
  
  @Schema(description = "Numeric userId of the creator")
 /**
   * Numeric userId of the creator  
  **/
  private String creatorId = null;
  
  @Schema(required = true, description = "")
  private V1DLPDictionaryRef dictRef = null;
  
  @Schema(description = "The recent update time of the dictionary in milliseconds")
 /**
   * The recent update time of the dictionary in milliseconds  
  **/
  private Long lastUpdatedDate = null;
  
  @Schema(required = true, description = "The type of dictionary, which specify the content is a list of words or a list of regexes. By default set to \"Word\" if not specified. Possible values - Word, Regex ")
 /**
   * The type of dictionary, which specify the content is a list of words or a list of regexes. By default set to \"Word\" if not specified. Possible values - Word, Regex   
  **/
  private String type = null;
 /**
   * Creation time of the dictionary in milliseconds elapsed as of epoch time.
   * @return creationDate
  **/
  @JsonProperty("creationDate")
  public Long getCreationDate() {
    return creationDate;
  }

  public void setCreationDate(Long creationDate) {
    this.creationDate = creationDate;
  }

  public V1DLPDictionaryMetadata creationDate(Long creationDate) {
    this.creationDate = creationDate;
    return this;
  }

 /**
   * Numeric userId of the creator
   * @return creatorId
  **/
  @JsonProperty("creatorId")
  public String getCreatorId() {
    return creatorId;
  }

  public void setCreatorId(String creatorId) {
    this.creatorId = creatorId;
  }

  public V1DLPDictionaryMetadata creatorId(String creatorId) {
    this.creatorId = creatorId;
    return this;
  }

 /**
   * Get dictRef
   * @return dictRef
  **/
  @JsonProperty("dictRef")
  public V1DLPDictionaryRef getDictRef() {
    return dictRef;
  }

  public void setDictRef(V1DLPDictionaryRef dictRef) {
    this.dictRef = dictRef;
  }

  public V1DLPDictionaryMetadata dictRef(V1DLPDictionaryRef dictRef) {
    this.dictRef = dictRef;
    return this;
  }

 /**
   * The recent update time of the dictionary in milliseconds
   * @return lastUpdatedDate
  **/
  @JsonProperty("lastUpdatedDate")
  public Long getLastUpdatedDate() {
    return lastUpdatedDate;
  }

  public void setLastUpdatedDate(Long lastUpdatedDate) {
    this.lastUpdatedDate = lastUpdatedDate;
  }

  public V1DLPDictionaryMetadata lastUpdatedDate(Long lastUpdatedDate) {
    this.lastUpdatedDate = lastUpdatedDate;
    return this;
  }

 /**
   * The type of dictionary, which specify the content is a list of words or a list of regexes. By default set to \"Word\" if not specified. Possible values - Word, Regex 
   * @return type
  **/
  @JsonProperty("type")
  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public V1DLPDictionaryMetadata type(String type) {
    this.type = type;
    return this;
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class V1DLPDictionaryMetadata {\n");
    
    sb.append("    creationDate: ").append(toIndentedString(creationDate)).append("\n");
    sb.append("    creatorId: ").append(toIndentedString(creatorId)).append("\n");
    sb.append("    dictRef: ").append(toIndentedString(dictRef)).append("\n");
    sb.append("    lastUpdatedDate: ").append(toIndentedString(lastUpdatedDate)).append("\n");
    sb.append("    type: ").append(toIndentedString(type)).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