Class AuthorizationInfo
java.lang.Object
com.azure.resourcemanager.securitydevops.models.AuthorizationInfo
The AuthorizationInfo model.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AuthorizationInfo
public AuthorizationInfo()Creates an instance of AuthorizationInfo class.
-
-
Method Details
-
code
Get the code property: Gets or sets one-time OAuth code to exchange for refresh and access tokens.- Returns:
- the code value.
-
withCode
Set the code property: Gets or sets one-time OAuth code to exchange for refresh and access tokens.- Parameters:
code
- the code value to set.- Returns:
- the AuthorizationInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-