Interface AuthenticatedUserRepositoriesFilter
-
- All Superinterfaces:
Parameters
- All Known Implementing Classes:
ImmutableAuthenticatedUserRepositoriesFilter
@Immutable public interface AuthenticatedUserRepositoriesFilter extends Parameters
Filter parameters for listing authenticated user's repositories. To be serialized as key=value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
affiliation()
Comma-separated list of values.String
direction()
Can be one of asc or desc.String
sort()
Can be one of created, updated, pushed, full_name.String
type()
Can be one of all, owner, public, private, member.String
visibility()
Can be one of all, public, or private.-
Methods inherited from interface com.spotify.github.Parameters
serialize
-
-
-
-
Method Detail
-
visibility
@Nullable String visibility()
Can be one of all, public, or private. Default: all
-
affiliation
@Nullable String affiliation()
Comma-separated list of values. Can include: * owner: Repositories that are owned by the authenticated user. * collaborator: Repositories that the user has been added to as a collaborator. * organization_member: Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on. Default: owner,collaborator,organization_member
-
type
@Nullable String type()
Can be one of all, owner, public, private, member. Default: all Will cause a 422 error if used in the same request as visibility or affiliation.
-
sort
@Nullable String sort()
Can be one of created, updated, pushed, full_name. Default: full_name
-
direction
@Nullable String direction()
Can be one of asc or desc. Default: asc when using full_name, otherwise desc
-
-