com.symphony.api.model.V1DLPDictionaryRef Maven / Gradle / Ivy
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;
/**
* Basic information needed to identify a dictionary
**/
@Schema(description="Basic information needed to identify a dictionary")
public class V1DLPDictionaryRef {
@Schema(description = "Unique dictionary id")
/**
* Unique dictionary id
**/
private String dictId = null;
@Schema(required = true, description = "Unique name of a dictionary, max 30 characters, with trimmed leading and trailing blank spaces.")
/**
* Unique name of a dictionary, max 30 characters, with trimmed leading and trailing blank spaces.
**/
private String name = null;
@Schema(description = "The version of a dictionary, in format \"major.minor\". Initial value will set by backend as \"1.0\" when created. Whenever the dictionary version needs to be changed, the minor version by 1 unless minor == 999, then the major version is increased by 1 until it reaches 999. ")
/**
* The version of a dictionary, in format \"major.minor\". Initial value will set by backend as \"1.0\" when created. Whenever the dictionary version needs to be changed, the minor version by 1 unless minor == 999, then the major version is increased by 1 until it reaches 999.
**/
private String version = null;
/**
* Unique dictionary id
* @return dictId
**/
@JsonProperty("dictId")
public String getDictId() {
return dictId;
}
public void setDictId(String dictId) {
this.dictId = dictId;
}
public V1DLPDictionaryRef dictId(String dictId) {
this.dictId = dictId;
return this;
}
/**
* Unique name of a dictionary, max 30 characters, with trimmed leading and trailing blank spaces.
* @return name
**/
@JsonProperty("name")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public V1DLPDictionaryRef name(String name) {
this.name = name;
return this;
}
/**
* The version of a dictionary, in format \"major.minor\". Initial value will set by backend as \"1.0\" when created. Whenever the dictionary version needs to be changed, the minor version by 1 unless minor == 999, then the major version is increased by 1 until it reaches 999.
* @return version
**/
@JsonProperty("version")
public String getVersion() {
return version;
}
public void setVersion(String version) {
this.version = version;
}
public V1DLPDictionaryRef version(String version) {
this.version = version;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class V1DLPDictionaryRef {\n");
sb.append(" dictId: ").append(toIndentedString(dictId)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).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