GitHubOAuthCallRequest Class
- java.
lang. Object - com.
azure. resourcemanager. devhub. models. GitHubOAuthCallRequest
- com.
Implements
public final class GitHubOAuthCallRequest
implements JsonSerializable<GitHubOAuthCallRequest>
GitHubOAuth request object.
Constructor Summary
| Constructor | Description |
|---|---|
| GitHubOAuthCallRequest() |
Creates an instance of Git |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Git |
fromJson(JsonReader jsonReader)
Reads an instance of Git |
| String |
redirectUrl()
Get the redirect |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Git |
withRedirectUrl(String redirectUrl)
Set the redirect |
Methods inherited from java.lang.Object
Constructor Details
GitHubOAuthCallRequest
public GitHubOAuthCallRequest()
Creates an instance of GitHubOAuthCallRequest class.
Method Details
fromJson
public static GitHubOAuthCallRequest fromJson(JsonReader jsonReader)
Reads an instance of GitHubOAuthCallRequest from the JsonReader.
Parameters:
Returns:
Throws:
redirectUrl
public String redirectUrl()
Get the redirectUrl property: The URL the client will redirect to on successful authentication. If empty, no redirect will occur.
Returns:
toJson
validate
public void validate()
Validates the instance.
withRedirectUrl
public GitHubOAuthCallRequest withRedirectUrl(String redirectUrl)
Set the redirectUrl property: The URL the client will redirect to on successful authentication. If empty, no redirect will occur.
Parameters:
Returns: