Package com.affinda.api.client.models
Class Tag
- java.lang.Object
-
- com.affinda.api.client.models.Tag
-
public final class Tag extends Object
The Tag model.
-
-
Constructor Summary
Constructors Constructor Description Tag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDocumentCount()Get the documentCount property: Number of documents tagged with this.intgetId()Get the id property: Uniquely identify a tag.StringgetName()Get the name property: The name property.StringgetWorkspace()Get the workspace property: Uniquely identify a workspace.TagsetDocumentCount(int documentCount)Set the documentCount property: Number of documents tagged with this.TagsetId(int id)Set the id property: Uniquely identify a tag.TagsetName(String name)Set the name property: The name property.TagsetWorkspace(String workspace)Set the workspace property: Uniquely identify a workspace.
-
-
-
Method Detail
-
getId
public int getId()
Get the id property: Uniquely identify a tag.- Returns:
- the id value.
-
setId
public Tag setId(int id)
Set the id property: Uniquely identify a tag.- Parameters:
id- the id value to set.- Returns:
- the Tag object itself.
-
getName
public String getName()
Get the name property: The name property.- Returns:
- the name value.
-
setName
public Tag setName(String name)
Set the name property: The name property.- Parameters:
name- the name value to set.- Returns:
- the Tag object itself.
-
getWorkspace
public String getWorkspace()
Get the workspace property: Uniquely identify a workspace.- Returns:
- the workspace value.
-
setWorkspace
public Tag setWorkspace(String workspace)
Set the workspace property: Uniquely identify a workspace.- Parameters:
workspace- the workspace value to set.- Returns:
- the Tag object itself.
-
getDocumentCount
public int getDocumentCount()
Get the documentCount property: Number of documents tagged with this.- Returns:
- the documentCount value.
-
setDocumentCount
public Tag setDocumentCount(int documentCount)
Set the documentCount property: Number of documents tagged with this.- Parameters:
documentCount- the documentCount value to set.- Returns:
- the Tag object itself.
-
-