public final class PolicyResponse extends Object
Constructor and Description |
---|
PolicyResponse() |
Modifier and Type | Method and Description |
---|---|
static PolicyResponse |
fromGenerated(com.azure.security.attestation.implementation.models.PolicyResponse generated)
Returns a public model type from an implementation model type.
|
String |
getToken()
Get the token property: An RFC7519 JSON Web Token structure whose body is an PolicyResult object.
|
PolicyResponse |
setToken(String token)
Set the token property: An RFC7519 JSON Web Token structure whose body is an PolicyResult object.
|
void |
validate()
Validates the instance.
|
public String getToken()
public PolicyResponse setToken(String token)
token
- the token value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.public static PolicyResponse fromGenerated(com.azure.security.attestation.implementation.models.PolicyResponse generated)
generated
- generatedCopyright © 2021. All rights reserved.