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