共用方式為


VersionInfo Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.luis.authoring.models.VersionInfo

public class VersionInfo

Object model of an application version.

Method Summary

Modifier and Type Method and Description
Map<String, String> assignedEndpointKey()

Get the assignedEndpointKey value.

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.

DateTime lastModifiedDateTime()

Get the lastModifiedDateTime value.

DateTime lastPublishedDateTime()

Get the lastPublishedDateTime value.

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(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(DateTime lastModifiedDateTime)

Set the lastModifiedDateTime value.

VersionInfo withLastPublishedDateTime(DateTime lastPublishedDateTime)

Set the lastPublishedDateTime value.

VersionInfo withLastTrainedDateTime(DateTime lastTrainedDateTime)

Set the lastTrainedDateTime value.

VersionInfo withTrainingStatus(TrainingStatus trainingStatus)

Set the trainingStatus value.

VersionInfo withVersion(String version)

Set the version value.

Method Details

assignedEndpointKey

public Map assignedEndpointKey()

Get the assignedEndpointKey value.

Returns:

the assignedEndpointKey value

createdDateTime

public DateTime createdDateTime()

Get the createdDateTime value.

Returns:

the createdDateTime value

endpointHitsCount

public Integer endpointHitsCount()

Get the endpointHitsCount value.

Returns:

the endpointHitsCount value

endpointUrl

public String endpointUrl()

Get the endpointUrl value.

Returns:

the endpointUrl value

entitiesCount

public Integer entitiesCount()

Get the entitiesCount value.

Returns:

the entitiesCount value

externalApiKeys

public Object externalApiKeys()

Get the externalApiKeys value.

Returns:

the externalApiKeys value

intentsCount

public Integer intentsCount()

Get the intentsCount value.

Returns:

the intentsCount value

lastModifiedDateTime

public DateTime lastModifiedDateTime()

Get the lastModifiedDateTime value.

Returns:

the lastModifiedDateTime value

lastPublishedDateTime

public DateTime lastPublishedDateTime()

Get the lastPublishedDateTime value.

Returns:

the lastPublishedDateTime value

lastTrainedDateTime

public DateTime lastTrainedDateTime()

Get the lastTrainedDateTime value.

Returns:

the lastTrainedDateTime value

trainingStatus

public TrainingStatus trainingStatus()

Get the trainingStatus value.

Returns:

the trainingStatus value

version

public String version()

Get the version value.

Returns:

the version value

withAssignedEndpointKey

public VersionInfo withAssignedEndpointKey(Map assignedEndpointKey)

Set the assignedEndpointKey value.

Parameters:

assignedEndpointKey - the assignedEndpointKey value to set

Returns:

the VersionInfo object itself.

withCreatedDateTime

public VersionInfo withCreatedDateTime(DateTime createdDateTime)

Set the createdDateTime value.

Parameters:

createdDateTime - the createdDateTime value to set

Returns:

the VersionInfo object itself.

withEndpointHitsCount

public VersionInfo withEndpointHitsCount(Integer endpointHitsCount)

Set the endpointHitsCount value.

Parameters:

endpointHitsCount - the endpointHitsCount value to set

Returns:

the VersionInfo object itself.

withEndpointUrl

public VersionInfo withEndpointUrl(String endpointUrl)

Set the endpointUrl value.

Parameters:

endpointUrl - the endpointUrl value to set

Returns:

the VersionInfo object itself.

withEntitiesCount

public VersionInfo withEntitiesCount(Integer entitiesCount)

Set the entitiesCount value.

Parameters:

entitiesCount - the entitiesCount value to set

Returns:

the VersionInfo object itself.

withExternalApiKeys

public VersionInfo withExternalApiKeys(Object externalApiKeys)

Set the externalApiKeys value.

Parameters:

externalApiKeys - the externalApiKeys value to set

Returns:

the VersionInfo object itself.

withIntentsCount

public VersionInfo withIntentsCount(Integer intentsCount)

Set the intentsCount value.

Parameters:

intentsCount - the intentsCount value to set

Returns:

the VersionInfo object itself.

withLastModifiedDateTime

public VersionInfo withLastModifiedDateTime(DateTime lastModifiedDateTime)

Set the lastModifiedDateTime value.

Parameters:

lastModifiedDateTime - the lastModifiedDateTime value to set

Returns:

the VersionInfo object itself.

withLastPublishedDateTime

public VersionInfo withLastPublishedDateTime(DateTime lastPublishedDateTime)

Set the lastPublishedDateTime value.

Parameters:

lastPublishedDateTime - the lastPublishedDateTime value to set

Returns:

the VersionInfo object itself.

withLastTrainedDateTime

public VersionInfo withLastTrainedDateTime(DateTime lastTrainedDateTime)

Set the lastTrainedDateTime value.

Parameters:

lastTrainedDateTime - the lastTrainedDateTime value to set

Returns:

the VersionInfo object itself.

withTrainingStatus

public VersionInfo withTrainingStatus(TrainingStatus trainingStatus)

Set the trainingStatus value.

Parameters:

trainingStatus - the trainingStatus value to set

Returns:

the VersionInfo object itself.

withVersion

public VersionInfo withVersion(String version)

Set the version value.

Parameters:

version - the version value to set

Returns:

the VersionInfo object itself.

Applies to