Class VersionInfo
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.language.luis.authoring.models.VersionInfo
-
public class VersionInfo extends Object
Object model of an application version.
-
-
Constructor Summary
Constructors Constructor Description VersionInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
assignedEndpointKey()
Get the assignedEndpointKey value.org.joda.time.DateTime
createdDateTime()
Get the createdDateTime value.Integer
endpointHitsCount()
Get the endpointHitsCount value.String
endpointUrl()
Get the endpointUrl value.Integer
entitiesCount()
Get the entitiesCount value.Object
externalApiKeys()
Get the externalApiKeys value.Integer
intentsCount()
Get the intentsCount value.org.joda.time.DateTime
lastModifiedDateTime()
Get the lastModifiedDateTime value.org.joda.time.DateTime
lastPublishedDateTime()
Get the lastPublishedDateTime value.org.joda.time.DateTime
lastTrainedDateTime()
Get the lastTrainedDateTime value.TrainingStatus
trainingStatus()
Get the trainingStatus value.String
version()
Get the version value.VersionInfo
withAssignedEndpointKey(Map<String,String> assignedEndpointKey)
Set the assignedEndpointKey value.VersionInfo
withCreatedDateTime(org.joda.time.DateTime createdDateTime)
Set the createdDateTime value.VersionInfo
withEndpointHitsCount(Integer endpointHitsCount)
Set the endpointHitsCount value.VersionInfo
withEndpointUrl(String endpointUrl)
Set the endpointUrl value.VersionInfo
withEntitiesCount(Integer entitiesCount)
Set the entitiesCount value.VersionInfo
withExternalApiKeys(Object externalApiKeys)
Set the externalApiKeys value.VersionInfo
withIntentsCount(Integer intentsCount)
Set the intentsCount value.VersionInfo
withLastModifiedDateTime(org.joda.time.DateTime lastModifiedDateTime)
Set the lastModifiedDateTime value.VersionInfo
withLastPublishedDateTime(org.joda.time.DateTime lastPublishedDateTime)
Set the lastPublishedDateTime value.VersionInfo
withLastTrainedDateTime(org.joda.time.DateTime lastTrainedDateTime)
Set the lastTrainedDateTime value.VersionInfo
withTrainingStatus(TrainingStatus trainingStatus)
Set the trainingStatus value.VersionInfo
withVersion(String version)
Set the version value.
-
-
-
Method Detail
-
version
public String version()
Get the version value.- Returns:
- the version value
-
withVersion
public VersionInfo withVersion(String version)
Set the version value.- Parameters:
version
- the version value to set- Returns:
- the VersionInfo object itself.
-
createdDateTime
public org.joda.time.DateTime createdDateTime()
Get the createdDateTime value.- Returns:
- the createdDateTime value
-
withCreatedDateTime
public VersionInfo withCreatedDateTime(org.joda.time.DateTime createdDateTime)
Set the createdDateTime value.- Parameters:
createdDateTime
- the createdDateTime value to set- Returns:
- the VersionInfo object itself.
-
lastModifiedDateTime
public org.joda.time.DateTime lastModifiedDateTime()
Get the lastModifiedDateTime value.- Returns:
- the lastModifiedDateTime value
-
withLastModifiedDateTime
public VersionInfo withLastModifiedDateTime(org.joda.time.DateTime lastModifiedDateTime)
Set the lastModifiedDateTime value.- Parameters:
lastModifiedDateTime
- the lastModifiedDateTime value to set- Returns:
- the VersionInfo object itself.
-
lastTrainedDateTime
public org.joda.time.DateTime lastTrainedDateTime()
Get the lastTrainedDateTime value.- Returns:
- the lastTrainedDateTime value
-
withLastTrainedDateTime
public VersionInfo withLastTrainedDateTime(org.joda.time.DateTime lastTrainedDateTime)
Set the lastTrainedDateTime value.- Parameters:
lastTrainedDateTime
- the lastTrainedDateTime value to set- Returns:
- the VersionInfo object itself.
-
lastPublishedDateTime
public org.joda.time.DateTime lastPublishedDateTime()
Get the lastPublishedDateTime value.- Returns:
- the lastPublishedDateTime value
-
withLastPublishedDateTime
public VersionInfo withLastPublishedDateTime(org.joda.time.DateTime lastPublishedDateTime)
Set the lastPublishedDateTime value.- Parameters:
lastPublishedDateTime
- the lastPublishedDateTime value to set- Returns:
- the VersionInfo object itself.
-
endpointUrl
public String endpointUrl()
Get the endpointUrl value.- Returns:
- the endpointUrl value
-
withEndpointUrl
public VersionInfo withEndpointUrl(String endpointUrl)
Set the endpointUrl value.- Parameters:
endpointUrl
- the endpointUrl value to set- Returns:
- the VersionInfo object itself.
-
assignedEndpointKey
public Map<String,String> assignedEndpointKey()
Get the assignedEndpointKey value.- Returns:
- the assignedEndpointKey value
-
withAssignedEndpointKey
public VersionInfo withAssignedEndpointKey(Map<String,String> assignedEndpointKey)
Set the assignedEndpointKey value.- Parameters:
assignedEndpointKey
- the assignedEndpointKey value to set- Returns:
- the VersionInfo object itself.
-
externalApiKeys
public Object externalApiKeys()
Get the externalApiKeys value.- Returns:
- the externalApiKeys value
-
withExternalApiKeys
public VersionInfo withExternalApiKeys(Object externalApiKeys)
Set the externalApiKeys value.- Parameters:
externalApiKeys
- the externalApiKeys value to set- Returns:
- the VersionInfo object itself.
-
intentsCount
public Integer intentsCount()
Get the intentsCount value.- Returns:
- the intentsCount value
-
withIntentsCount
public VersionInfo withIntentsCount(Integer intentsCount)
Set the intentsCount value.- Parameters:
intentsCount
- the intentsCount value to set- Returns:
- the VersionInfo object itself.
-
entitiesCount
public Integer entitiesCount()
Get the entitiesCount value.- Returns:
- the entitiesCount value
-
withEntitiesCount
public VersionInfo withEntitiesCount(Integer entitiesCount)
Set the entitiesCount value.- Parameters:
entitiesCount
- the entitiesCount value to set- Returns:
- the VersionInfo object itself.
-
endpointHitsCount
public Integer endpointHitsCount()
Get the endpointHitsCount value.- Returns:
- the endpointHitsCount value
-
withEndpointHitsCount
public VersionInfo withEndpointHitsCount(Integer endpointHitsCount)
Set the endpointHitsCount value.- Parameters:
endpointHitsCount
- the endpointHitsCount value to set- Returns:
- the VersionInfo object itself.
-
trainingStatus
public TrainingStatus trainingStatus()
Get the trainingStatus value.- Returns:
- the trainingStatus value
-
withTrainingStatus
public VersionInfo withTrainingStatus(TrainingStatus trainingStatus)
Set the trainingStatus value.- Parameters:
trainingStatus
- the trainingStatus value to set- Returns:
- the VersionInfo object itself.
-
-