Package org.pac4j.oauth.profile.github
Class GitHubPlan
java.lang.Object
org.pac4j.oauth.profile.github.GitHubPlan
- All Implemented Interfaces:
Serializable
This class represents a GitHub plan.
- Since:
- 1.1.0
- Author:
- Jerome Leleu
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldcollaborators.getName()Getter for the fieldname.Getter for the fieldprivateRepos.getSpace()Getter for the fieldspace.voidsetCollaborators(Integer collaborators) Setter for the fieldcollaborators.voidSetter for the fieldname.voidsetPrivateRepos(Integer privateRepos) Setter for the fieldprivateRepos.voidSetter for the fieldspace.
-
Constructor Details
-
GitHubPlan
public GitHubPlan()
-
-
Method Details
-
getName
Getter for the field
name.- Returns:
- a
Stringobject
-
setName
Setter for the field
name.- Parameters:
name- aStringobject
-
getCollaborators
Getter for the field
collaborators.- Returns:
- a
Integerobject
-
setCollaborators
Setter for the field
collaborators.- Parameters:
collaborators- aIntegerobject
-
getSpace
Getter for the field
space.- Returns:
- a
Integerobject
-
setSpace
Setter for the field
space.- Parameters:
space- aIntegerobject
-
getPrivateRepos
Getter for the field
privateRepos.- Returns:
- a
Integerobject
-
setPrivateRepos
Setter for the field
privateRepos.- Parameters:
privateRepos- aIntegerobject
-