repositories

package
v0.0.3-GHES.3.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseGetVisibilityQueryParameterType

func ParseGetVisibilityQueryParameterType(v string) (any, error)

func SerializeGetVisibilityQueryParameterType

func SerializeGetVisibilityQueryParameterType(values []GetVisibilityQueryParameterType) []string

Types

type GetVisibilityQueryParameterType

type GetVisibilityQueryParameterType int
const (
	ALL_GETVISIBILITYQUERYPARAMETERTYPE GetVisibilityQueryParameterType = iota
	PUBLIC_GETVISIBILITYQUERYPARAMETERTYPE
)

func (GetVisibilityQueryParameterType) String

type RepositoriesRequestBuilder

RepositoriesRequestBuilder builds and executes requests for operations under \repositories

func NewRepositoriesRequestBuilder

NewRepositoriesRequestBuilder instantiates a new RepositoriesRequestBuilder and sets the default values.

func NewRepositoriesRequestBuilderInternal

func NewRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *RepositoriesRequestBuilder

NewRepositoriesRequestBuilderInternal instantiates a new RepositoriesRequestBuilder and sets the default values.

func (*RepositoriesRequestBuilder) Get

Get lists all public repositories in the order that they were created.Note:- For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.- Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of repositories. returns a []MinimalRepositoryable when successful returns a ValidationError error when the service returns a 422 status code API method documentation

func (*RepositoriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all public repositories in the order that they were created.Note:- For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.- Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of repositories. returns a *RequestInformation when successful

func (*RepositoriesRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *RepositoriesRequestBuilder when successful

type RepositoriesRequestBuilderGetQueryParameters

type RepositoriesRequestBuilderGetQueryParameters struct {
	// A repository ID. Only return repositories with an ID greater than this ID.
	Since *int32 `uriparametername:"since"`
	// Specifies the types of repositories to return. This endpoint will only list repositories available to all users on the enterprise.
	Visibility *GetVisibilityQueryParameterType `uriparametername:"visibility"`
}

RepositoriesRequestBuilderGetQueryParameters lists all public repositories in the order that they were created.Note:- For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.- Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of repositories.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL