Class KnowledgebaseDTO
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.knowledge.qnamaker.models.KnowledgebaseDTO
-
public class KnowledgebaseDTO extends Object
Response schema for CreateKb operation.
-
-
Constructor Summary
Constructors Constructor Description KnowledgebaseDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
hostName()
Get the hostName value.String
id()
Get the id value.String
lastAccessedTimestamp()
Get the lastAccessedTimestamp value.String
lastChangedTimestamp()
Get the lastChangedTimestamp value.String
lastPublishedTimestamp()
Get the lastPublishedTimestamp value.String
name()
Get the name value.List<String>
sources()
Get the sources value.List<String>
urls()
Get the urls value.String
userId()
Get the userId value.KnowledgebaseDTO
withHostName(String hostName)
Set the hostName value.KnowledgebaseDTO
withId(String id)
Set the id value.KnowledgebaseDTO
withLastAccessedTimestamp(String lastAccessedTimestamp)
Set the lastAccessedTimestamp value.KnowledgebaseDTO
withLastChangedTimestamp(String lastChangedTimestamp)
Set the lastChangedTimestamp value.KnowledgebaseDTO
withLastPublishedTimestamp(String lastPublishedTimestamp)
Set the lastPublishedTimestamp value.KnowledgebaseDTO
withName(String name)
Set the name value.KnowledgebaseDTO
withSources(List<String> sources)
Set the sources value.KnowledgebaseDTO
withUrls(List<String> urls)
Set the urls value.KnowledgebaseDTO
withUserId(String userId)
Set the userId value.
-
-
-
Method Detail
-
id
public String id()
Get the id value.- Returns:
- the id value
-
withId
public KnowledgebaseDTO withId(String id)
Set the id value.- Parameters:
id
- the id value to set- Returns:
- the KnowledgebaseDTO object itself.
-
hostName
public String hostName()
Get the hostName value.- Returns:
- the hostName value
-
withHostName
public KnowledgebaseDTO withHostName(String hostName)
Set the hostName value.- Parameters:
hostName
- the hostName value to set- Returns:
- the KnowledgebaseDTO object itself.
-
lastAccessedTimestamp
public String lastAccessedTimestamp()
Get the lastAccessedTimestamp value.- Returns:
- the lastAccessedTimestamp value
-
withLastAccessedTimestamp
public KnowledgebaseDTO withLastAccessedTimestamp(String lastAccessedTimestamp)
Set the lastAccessedTimestamp value.- Parameters:
lastAccessedTimestamp
- the lastAccessedTimestamp value to set- Returns:
- the KnowledgebaseDTO object itself.
-
lastChangedTimestamp
public String lastChangedTimestamp()
Get the lastChangedTimestamp value.- Returns:
- the lastChangedTimestamp value
-
withLastChangedTimestamp
public KnowledgebaseDTO withLastChangedTimestamp(String lastChangedTimestamp)
Set the lastChangedTimestamp value.- Parameters:
lastChangedTimestamp
- the lastChangedTimestamp value to set- Returns:
- the KnowledgebaseDTO object itself.
-
lastPublishedTimestamp
public String lastPublishedTimestamp()
Get the lastPublishedTimestamp value.- Returns:
- the lastPublishedTimestamp value
-
withLastPublishedTimestamp
public KnowledgebaseDTO withLastPublishedTimestamp(String lastPublishedTimestamp)
Set the lastPublishedTimestamp value.- Parameters:
lastPublishedTimestamp
- the lastPublishedTimestamp value to set- Returns:
- the KnowledgebaseDTO object itself.
-
name
public String name()
Get the name value.- Returns:
- the name value
-
withName
public KnowledgebaseDTO withName(String name)
Set the name value.- Parameters:
name
- the name value to set- Returns:
- the KnowledgebaseDTO object itself.
-
userId
public String userId()
Get the userId value.- Returns:
- the userId value
-
withUserId
public KnowledgebaseDTO withUserId(String userId)
Set the userId value.- Parameters:
userId
- the userId value to set- Returns:
- the KnowledgebaseDTO object itself.
-
withUrls
public KnowledgebaseDTO withUrls(List<String> urls)
Set the urls value.- Parameters:
urls
- the urls value to set- Returns:
- the KnowledgebaseDTO object itself.
-
withSources
public KnowledgebaseDTO withSources(List<String> sources)
Set the sources value.- Parameters:
sources
- the sources value to set- Returns:
- the KnowledgebaseDTO object itself.
-
-