TestSecret Class
- java.
lang. Object - com.
azure. developer. loadtesting. models. TestSecret
- com.
Implements
public final class TestSecret
implements JsonSerializable<TestSecret>
Secret.
Constructor Summary
| Constructor | Description |
|---|---|
| TestSecret() |
Creates an instance of Test |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Test |
fromJson(JsonReader jsonReader)
Reads an instance of Test |
|
Secret |
getType()
Get the type property: Type of secret. |
| String |
getValue()
Get the value property: The value of the secret for the respective type. |
|
Test |
setType(SecretType type)
Set the type property: Type of secret. |
|
Test |
setValue(String value)
Set the value property: The value of the secret for the respective type. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
TestSecret
public TestSecret()
Creates an instance of TestSecret class.
Method Details
fromJson
public static TestSecret fromJson(JsonReader jsonReader)
Reads an instance of TestSecret from the JsonReader.
Parameters:
Returns:
Throws:
getType
public SecretType getType()
Get the type property: Type of secret.
Returns:
getValue
public String getValue()
Get the value property: The value of the secret for the respective type.
Returns:
setType
public TestSecret setType(SecretType type)
Set the type property: Type of secret.
Parameters:
Returns:
setValue
public TestSecret setValue(String value)
Set the value property: The value of the secret for the respective type.
Parameters:
Returns: