TestRunFileInfo Class

  • java.lang.Object
    • com.azure.developer.loadtesting.models.TestRunFileInfo

Implements

public final class TestRunFileInfo
implements JsonSerializable<TestRunFileInfo>

Test run file info.

Method Summary

Modifier and Type Method and Description
static TestRunFileInfo fromJson(JsonReader jsonReader)

Reads an instance of TestRunFileInfo from the JsonReader.

OffsetDateTime getExpiresOn()

Get the expiresOn property: Expiry time of the file (RFC 3339 literal format).

String getFileName()

Get the fileName property: Name of the file.

LoadTestingFileType getFileType()

Get the fileType property: File type.

String getUrl()

Get the url property: File URL.

String getValidationFailureDetails()

Get the validationFailureDetails property: Validation failure error details.

FileValidationStatus getValidationStatus()

Get the validationStatus property: Validation status of the file.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static TestRunFileInfo fromJson(JsonReader jsonReader)

Reads an instance of TestRunFileInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TestRunFileInfo if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getExpiresOn

public OffsetDateTime getExpiresOn()

Get the expiresOn property: Expiry time of the file (RFC 3339 literal format).

Returns:

the expiresOn value.

getFileName

public String getFileName()

Get the fileName property: Name of the file.

Returns:

the fileName value.

getFileType

public LoadTestingFileType getFileType()

Get the fileType property: File type.

Returns:

the fileType value.

getUrl

public String getUrl()

Get the url property: File URL.

Returns:

the url value.

getValidationFailureDetails

public String getValidationFailureDetails()

Get the validationFailureDetails property: Validation failure error details.

Returns:

the validationFailureDetails value.

getValidationStatus

public FileValidationStatus getValidationStatus()

Get the validationStatus property: Validation status of the file.

Returns:

the validationStatus value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to