com.textkernel.tx.models.dataenrichment.ProfessionMultipleDescriptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tx-java Show documentation
Show all versions of tx-java Show documentation
The official Java SDK for the Textkernel Tx v10 API.
The newest version!
package com.textkernel.tx.models.dataenrichment;
import java.util.List;
/**
* A skill object.
*/
public class ProfessionMultipleDescriptions extends Profession {
/**
* A list of descriptions of the skill in all supported/requested languages.
*/
public List Descriptions;
/**
* The description of the skill in the requested language.
NOTE: if multiple languages were requested, this is simply the first from {@link Descriptions}
*/
public ProfessionMultipleDescriptions(){
this.Description = (Descriptions != null && !Descriptions.isEmpty()) ? Descriptions.get(0).Description : null;
}
}