public class GitHub extends ProxyOnlyResource
| Constructor and Description |
|---|
GitHub() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
enabled()
Get the enabled property: The enabled property.
|
LoginScopes |
login()
Get the login property: The login property.
|
ClientRegistration |
registration()
Get the registration property: The registration property.
|
void |
validate()
Validates the instance.
|
GitHub |
withEnabled(Boolean enabled)
Set the enabled property: The enabled property.
|
GitHub |
withKind(String kind)
Set the kind property: Kind of resource.
|
GitHub |
withLogin(LoginScopes login)
Set the login property: The login property.
|
GitHub |
withRegistration(ClientRegistration registration)
Set the registration property: The registration property.
|
kindpublic Boolean enabled()
public GitHub withEnabled(Boolean enabled)
enabled - the enabled value to set.public ClientRegistration registration()
public GitHub withRegistration(ClientRegistration registration)
registration - the registration value to set.public LoginScopes login()
public GitHub withLogin(LoginScopes login)
login - the login value to set.public GitHub withKind(String kind)
withKind in class ProxyOnlyResourcekind - the kind value to set.public void validate()
validate in class ProxyOnlyResourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.