licenses

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 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

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)."

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.

type LicensesRequestBuilderGetQueryParameters

type LicensesRequestBuilderGetQueryParameters struct {
	//
	Featured *bool `uriparametername:"featured"`
	// Page number of the results to fetch.
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100).
	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 LicensesRequestBuilderGetRequestConfiguration

type LicensesRequestBuilderGetRequestConfiguration struct {
	// Request headers
	Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
	// Request query parameters
	QueryParameters *LicensesRequestBuilderGetQueryParameters
}

LicensesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.

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) ToGetRequestInformation

ToGetRequestInformation 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)."

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.

type WithLicenseItemRequestBuilderGetRequestConfiguration

type WithLicenseItemRequestBuilderGetRequestConfiguration struct {
	// Request headers
	Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}

WithLicenseItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.

Jump to

Keyboard shortcuts

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