licenses

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LicensesRequestBuilder

LicensesRequestBuilder builds and executes requests for operations under \licenses

func NewLicensesRequestBuilder

NewLicensesRequestBuilder instantiates a new LicensesRequestBuilder and sets the default values.

func NewLicensesRequestBuilderInternal

func NewLicensesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *LicensesRequestBuilder

NewLicensesRequestBuilderInternal instantiates a new LicensesRequestBuilder and sets the default values.

func (*LicensesRequestBuilder) ByLicense

ByLicense gets an item from the github.com/octokit/go-sdk/pkg/github.licenses.item collection returns a *WithLicenseItemRequestBuilder when successful

func (*LicensesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the most commonly used licenses on GitHub. For more information, see "[Licensing a repository ](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository)." returns a *RequestInformation when successful

func (*LicensesRequestBuilder) 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 *LicensesRequestBuilder when successful

type LicensesRequestBuilderGetQueryParameters

type LicensesRequestBuilderGetQueryParameters struct {
	Featured *bool `uriparametername:"featured"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

LicensesRequestBuilderGetQueryParameters lists the most commonly used licenses on GitHub. For more information, see "[Licensing a repository ](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository)."

type WithLicenseItemRequestBuilder

WithLicenseItemRequestBuilder builds and executes requests for operations under \licenses\{license}

func NewWithLicenseItemRequestBuilder

NewWithLicenseItemRequestBuilder instantiates a new WithLicenseItemRequestBuilder and sets the default values.

func NewWithLicenseItemRequestBuilderInternal

func NewWithLicenseItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithLicenseItemRequestBuilder

NewWithLicenseItemRequestBuilderInternal instantiates a new WithLicenseItemRequestBuilder and sets the default values.

func (*WithLicenseItemRequestBuilder) Get

Get gets information about a specific license. For more information, see "[Licensing a repository ](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository)." returns a Licenseable when successful returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation

func (*WithLicenseItemRequestBuilder) 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 *WithLicenseItemRequestBuilder when successful

Jump to

Keyboard shortcuts

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