Record Class GithubConfiguration
java.lang.Object
java.lang.Record
org.sonarqube.ws.client.github.configuration.GithubConfiguration
public record GithubConfiguration(boolean enabled, String clientId, String clientSecret, String applicationId, String privateKey, boolean synchronizeGroups, String apiUrl, String webUrl, Set<String> allowedOrganizations, String provisioningType, boolean allowUsersToSignUp, boolean provisionProjectVisibility, boolean userConsentRequiredAfterUpgrade)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionGithubConfiguration(boolean enabled, String clientId, String clientSecret, String applicationId, String privateKey, boolean synchronizeGroups, String apiUrl, String webUrl, Set<String> allowedOrganizations, String provisioningType, boolean allowUsersToSignUp, boolean provisionProjectVisibility, boolean userConsentRequiredAfterUpgrade) Creates an instance of aGithubConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theallowedOrganizationsrecord component.booleanReturns the value of theallowUsersToSignUprecord component.apiUrl()Returns the value of theapiUrlrecord component.Returns the value of theapplicationIdrecord component.clientId()Returns the value of theclientIdrecord component.Returns the value of theclientSecretrecord component.booleanenabled()Returns the value of theenabledrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theprivateKeyrecord component.Returns the value of theprovisioningTyperecord component.booleanReturns the value of theprovisionProjectVisibilityrecord component.booleanReturns the value of thesynchronizeGroupsrecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of theuserConsentRequiredAfterUpgraderecord component.webUrl()Returns the value of thewebUrlrecord component.
-
Constructor Details
-
GithubConfiguration
public GithubConfiguration(boolean enabled, String clientId, String clientSecret, String applicationId, String privateKey, boolean synchronizeGroups, String apiUrl, String webUrl, Set<String> allowedOrganizations, String provisioningType, boolean allowUsersToSignUp, boolean provisionProjectVisibility, boolean userConsentRequiredAfterUpgrade) Creates an instance of aGithubConfigurationrecord class.- Parameters:
enabled- the value for theenabledrecord componentclientId- the value for theclientIdrecord componentclientSecret- the value for theclientSecretrecord componentapplicationId- the value for theapplicationIdrecord componentprivateKey- the value for theprivateKeyrecord componentsynchronizeGroups- the value for thesynchronizeGroupsrecord componentapiUrl- the value for theapiUrlrecord componentwebUrl- the value for thewebUrlrecord componentallowedOrganizations- the value for theallowedOrganizationsrecord componentprovisioningType- the value for theprovisioningTyperecord componentallowUsersToSignUp- the value for theallowUsersToSignUprecord componentprovisionProjectVisibility- the value for theprovisionProjectVisibilityrecord componentuserConsentRequiredAfterUpgrade- the value for theuserConsentRequiredAfterUpgraderecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
enabled
public boolean enabled()Returns the value of theenabledrecord component.- Returns:
- the value of the
enabledrecord component
-
clientId
Returns the value of theclientIdrecord component.- Returns:
- the value of the
clientIdrecord component
-
clientSecret
Returns the value of theclientSecretrecord component.- Returns:
- the value of the
clientSecretrecord component
-
applicationId
Returns the value of theapplicationIdrecord component.- Returns:
- the value of the
applicationIdrecord component
-
privateKey
Returns the value of theprivateKeyrecord component.- Returns:
- the value of the
privateKeyrecord component
-
synchronizeGroups
public boolean synchronizeGroups()Returns the value of thesynchronizeGroupsrecord component.- Returns:
- the value of the
synchronizeGroupsrecord component
-
apiUrl
Returns the value of theapiUrlrecord component.- Returns:
- the value of the
apiUrlrecord component
-
webUrl
Returns the value of thewebUrlrecord component.- Returns:
- the value of the
webUrlrecord component
-
allowedOrganizations
Returns the value of theallowedOrganizationsrecord component.- Returns:
- the value of the
allowedOrganizationsrecord component
-
provisioningType
Returns the value of theprovisioningTyperecord component.- Returns:
- the value of the
provisioningTyperecord component
-
allowUsersToSignUp
public boolean allowUsersToSignUp()Returns the value of theallowUsersToSignUprecord component.- Returns:
- the value of the
allowUsersToSignUprecord component
-
provisionProjectVisibility
public boolean provisionProjectVisibility()Returns the value of theprovisionProjectVisibilityrecord component.- Returns:
- the value of the
provisionProjectVisibilityrecord component
-
userConsentRequiredAfterUpgrade
public boolean userConsentRequiredAfterUpgrade()Returns the value of theuserConsentRequiredAfterUpgraderecord component.- Returns:
- the value of the
userConsentRequiredAfterUpgraderecord component
-