users

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateItemStarredRepositoryFromDiscriminatorValue

CreateItemStarredRepositoryFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateStarredGetResponseFromDiscriminatorValue

CreateStarredGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateStarredResponseFromDiscriminatorValue

CreateStarredResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateWithUsernameGetResponseFromDiscriminatorValue

CreateWithUsernameGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateWithUsernameResponseFromDiscriminatorValue

CreateWithUsernameResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

Types

type ItemDockerConflictsRequestBuilder

ItemDockerConflictsRequestBuilder builds and executes requests for operations under \users\{username}\docker\conflicts

func NewItemDockerConflictsRequestBuilder

NewItemDockerConflictsRequestBuilder instantiates a new ConflictsRequestBuilder and sets the default values.

func NewItemDockerConflictsRequestBuilderInternal

func NewItemDockerConflictsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDockerConflictsRequestBuilder

NewItemDockerConflictsRequestBuilderInternal instantiates a new ConflictsRequestBuilder and sets the default values.

func (*ItemDockerConflictsRequestBuilder) Get

Get lists all packages that are in a specific user's namespace, that the requesting user has access to, and that encountered a conflict during Docker migration.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. API method documentation

func (*ItemDockerConflictsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all packages that are in a specific user's namespace, that the requesting user has access to, and that encountered a conflict during Docker migration.To use this endpoint, you must authenticate using an access token with the `read:packages` scope.

func (*ItemDockerConflictsRequestBuilder) WithUrl

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

type ItemDockerConflictsRequestBuilderGetRequestConfiguration

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

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

type ItemDockerRequestBuilder

ItemDockerRequestBuilder builds and executes requests for operations under \users\{username}\docker

func NewItemDockerRequestBuilder

NewItemDockerRequestBuilder instantiates a new DockerRequestBuilder and sets the default values.

func NewItemDockerRequestBuilderInternal

func NewItemDockerRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDockerRequestBuilder

NewItemDockerRequestBuilderInternal instantiates a new DockerRequestBuilder and sets the default values.

func (*ItemDockerRequestBuilder) Conflicts

Conflicts the conflicts property

type ItemEventsOrgsRequestBuilder

ItemEventsOrgsRequestBuilder builds and executes requests for operations under \users\{username}\events\orgs

func NewItemEventsOrgsRequestBuilder

NewItemEventsOrgsRequestBuilder instantiates a new OrgsRequestBuilder and sets the default values.

func NewItemEventsOrgsRequestBuilderInternal

func NewItemEventsOrgsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEventsOrgsRequestBuilder

NewItemEventsOrgsRequestBuilderInternal instantiates a new OrgsRequestBuilder and sets the default values.

func (*ItemEventsOrgsRequestBuilder) ByOrg

ByOrg gets an item from the github.com/octokit/go-sdk/pkg/github/.users.item.events.orgs.item collection

type ItemEventsOrgsWithOrgItemRequestBuilder

type ItemEventsOrgsWithOrgItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemEventsOrgsWithOrgItemRequestBuilder builds and executes requests for operations under \users\{username}\events\orgs\{org}

func NewItemEventsOrgsWithOrgItemRequestBuilder

NewItemEventsOrgsWithOrgItemRequestBuilder instantiates a new WithOrgItemRequestBuilder and sets the default values.

func NewItemEventsOrgsWithOrgItemRequestBuilderInternal

func NewItemEventsOrgsWithOrgItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEventsOrgsWithOrgItemRequestBuilder

NewItemEventsOrgsWithOrgItemRequestBuilderInternal instantiates a new WithOrgItemRequestBuilder and sets the default values.

func (*ItemEventsOrgsWithOrgItemRequestBuilder) Get

Get this is the user's organization dashboard. You must be authenticated as the user to view this. API method documentation

func (*ItemEventsOrgsWithOrgItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation this is the user's organization dashboard. You must be authenticated as the user to view this.

func (*ItemEventsOrgsWithOrgItemRequestBuilder) WithUrl

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

type ItemEventsOrgsWithOrgItemRequestBuilderGetQueryParameters

type ItemEventsOrgsWithOrgItemRequestBuilderGetQueryParameters struct {
	// 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"`
}

ItemEventsOrgsWithOrgItemRequestBuilderGetQueryParameters this is the user's organization dashboard. You must be authenticated as the user to view this.

type ItemEventsOrgsWithOrgItemRequestBuilderGetRequestConfiguration

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

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

type ItemEventsPublicRequestBuilder

ItemEventsPublicRequestBuilder builds and executes requests for operations under \users\{username}\events\public

func NewItemEventsPublicRequestBuilder

NewItemEventsPublicRequestBuilder instantiates a new PublicRequestBuilder and sets the default values.

func NewItemEventsPublicRequestBuilderInternal

func NewItemEventsPublicRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEventsPublicRequestBuilder

NewItemEventsPublicRequestBuilderInternal instantiates a new PublicRequestBuilder and sets the default values.

func (*ItemEventsPublicRequestBuilder) WithUrl

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

type ItemEventsPublicRequestBuilderGetQueryParameters

type ItemEventsPublicRequestBuilderGetQueryParameters struct {
	// 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"`
}

ItemEventsPublicRequestBuilderGetQueryParameters list public events for a user

type ItemEventsPublicRequestBuilderGetRequestConfiguration

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

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

type ItemEventsRequestBuilder

ItemEventsRequestBuilder builds and executes requests for operations under \users\{username}\events

func NewItemEventsRequestBuilder

NewItemEventsRequestBuilder instantiates a new EventsRequestBuilder and sets the default values.

func NewItemEventsRequestBuilderInternal

func NewItemEventsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEventsRequestBuilder

NewItemEventsRequestBuilderInternal instantiates a new EventsRequestBuilder and sets the default values.

func (*ItemEventsRequestBuilder) Get

Get if you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. API method documentation

func (*ItemEventsRequestBuilder) Orgs

Orgs the orgs property

func (*ItemEventsRequestBuilder) Public

Public the public property

func (*ItemEventsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation if you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.

func (*ItemEventsRequestBuilder) WithUrl

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

type ItemEventsRequestBuilderGetQueryParameters

type ItemEventsRequestBuilderGetQueryParameters struct {
	// 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"`
}

ItemEventsRequestBuilderGetQueryParameters if you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.

type ItemEventsRequestBuilderGetRequestConfiguration

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

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

type ItemFollowersRequestBuilder

ItemFollowersRequestBuilder builds and executes requests for operations under \users\{username}\followers

func NewItemFollowersRequestBuilder

NewItemFollowersRequestBuilder instantiates a new FollowersRequestBuilder and sets the default values.

func NewItemFollowersRequestBuilderInternal

func NewItemFollowersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemFollowersRequestBuilder

NewItemFollowersRequestBuilderInternal instantiates a new FollowersRequestBuilder and sets the default values.

func (*ItemFollowersRequestBuilder) Get

Get lists the people following the specified user. API method documentation

func (*ItemFollowersRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the people following the specified user.

func (*ItemFollowersRequestBuilder) WithUrl

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

type ItemFollowersRequestBuilderGetQueryParameters

type ItemFollowersRequestBuilderGetQueryParameters struct {
	// 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"`
}

ItemFollowersRequestBuilderGetQueryParameters lists the people following the specified user.

type ItemFollowersRequestBuilderGetRequestConfiguration

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

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

type ItemFollowingRequestBuilder

ItemFollowingRequestBuilder builds and executes requests for operations under \users\{username}\following

func NewItemFollowingRequestBuilder

NewItemFollowingRequestBuilder instantiates a new FollowingRequestBuilder and sets the default values.

func NewItemFollowingRequestBuilderInternal

func NewItemFollowingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemFollowingRequestBuilder

NewItemFollowingRequestBuilderInternal instantiates a new FollowingRequestBuilder and sets the default values.

func (*ItemFollowingRequestBuilder) ByTarget_user

ByTarget_user gets an item from the github.com/octokit/go-sdk/pkg/github/.users.item.following.item collection

func (*ItemFollowingRequestBuilder) Get

Get lists the people who the specified user follows. API method documentation

func (*ItemFollowingRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the people who the specified user follows.

func (*ItemFollowingRequestBuilder) WithUrl

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

type ItemFollowingRequestBuilderGetQueryParameters

type ItemFollowingRequestBuilderGetQueryParameters struct {
	// 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"`
}

ItemFollowingRequestBuilderGetQueryParameters lists the people who the specified user follows.

type ItemFollowingRequestBuilderGetRequestConfiguration

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

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

type ItemFollowingWithTarget_userItemRequestBuilder

type ItemFollowingWithTarget_userItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemFollowingWithTarget_userItemRequestBuilder builds and executes requests for operations under \users\{username}\following\{target_user}

func NewItemFollowingWithTarget_userItemRequestBuilder

NewItemFollowingWithTarget_userItemRequestBuilder instantiates a new WithTarget_userItemRequestBuilder and sets the default values.

func NewItemFollowingWithTarget_userItemRequestBuilderInternal

func NewItemFollowingWithTarget_userItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemFollowingWithTarget_userItemRequestBuilder

NewItemFollowingWithTarget_userItemRequestBuilderInternal instantiates a new WithTarget_userItemRequestBuilder and sets the default values.

func (*ItemFollowingWithTarget_userItemRequestBuilder) Get

Get check if a user follows another user API method documentation

func (*ItemFollowingWithTarget_userItemRequestBuilder) WithUrl

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

type ItemFollowingWithTarget_userItemRequestBuilderGetRequestConfiguration

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

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

type ItemGistsRequestBuilder

ItemGistsRequestBuilder builds and executes requests for operations under \users\{username}\gists

func NewItemGistsRequestBuilder

NewItemGistsRequestBuilder instantiates a new GistsRequestBuilder and sets the default values.

func NewItemGistsRequestBuilderInternal

func NewItemGistsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemGistsRequestBuilder

NewItemGistsRequestBuilderInternal instantiates a new GistsRequestBuilder and sets the default values.

func (*ItemGistsRequestBuilder) Get

Get lists public gists for the specified user: API method documentation

func (*ItemGistsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists public gists for the specified user:

func (*ItemGistsRequestBuilder) WithUrl

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

type ItemGistsRequestBuilderGetQueryParameters

type ItemGistsRequestBuilderGetQueryParameters struct {
	// 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"`
	// Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
	Since *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"since"`
}

ItemGistsRequestBuilderGetQueryParameters lists public gists for the specified user:

type ItemGistsRequestBuilderGetRequestConfiguration

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

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

type ItemGpg_keysRequestBuilder

ItemGpg_keysRequestBuilder builds and executes requests for operations under \users\{username}\gpg_keys

func NewItemGpg_keysRequestBuilder

NewItemGpg_keysRequestBuilder instantiates a new Gpg_keysRequestBuilder and sets the default values.

func NewItemGpg_keysRequestBuilderInternal

func NewItemGpg_keysRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemGpg_keysRequestBuilder

NewItemGpg_keysRequestBuilderInternal instantiates a new Gpg_keysRequestBuilder and sets the default values.

func (*ItemGpg_keysRequestBuilder) Get

Get lists the GPG keys for a user. This information is accessible by anyone. API method documentation

func (*ItemGpg_keysRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the GPG keys for a user. This information is accessible by anyone.

func (*ItemGpg_keysRequestBuilder) WithUrl

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

type ItemGpg_keysRequestBuilderGetQueryParameters

type ItemGpg_keysRequestBuilderGetQueryParameters struct {
	// 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"`
}

ItemGpg_keysRequestBuilderGetQueryParameters lists the GPG keys for a user. This information is accessible by anyone.

type ItemGpg_keysRequestBuilderGetRequestConfiguration

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

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

type ItemHovercardRequestBuilder

ItemHovercardRequestBuilder builds and executes requests for operations under \users\{username}\hovercard

func NewItemHovercardRequestBuilder

NewItemHovercardRequestBuilder instantiates a new HovercardRequestBuilder and sets the default values.

func NewItemHovercardRequestBuilderInternal

func NewItemHovercardRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHovercardRequestBuilder

NewItemHovercardRequestBuilderInternal instantiates a new HovercardRequestBuilder and sets the default values.

func (*ItemHovercardRequestBuilder) Get

Get provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:```shell curl -u username:token https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192``` API method documentation

func (*ItemHovercardRequestBuilder) ToGetRequestInformation

ToGetRequestInformation provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:```shell curl -u username:token https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192```

func (*ItemHovercardRequestBuilder) WithUrl

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

type ItemHovercardRequestBuilderGetQueryParameters

type ItemHovercardRequestBuilderGetQueryParameters struct {
	// Uses the ID for the `subject_type` you specified. **Required** when using `subject_type`.
	Subject_id *string `uriparametername:"subject_id"`
	// Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, `pull_request`. **Required** when using `subject_id`.
	// Deprecated: This property is deprecated, use subject_typeAsGetSubject_typeQueryParameterType instead
	Subject_type *string `uriparametername:"subject_type"`
	// Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, `pull_request`. **Required** when using `subject_id`.
	Subject_typeAsGetSubject_typeQueryParameterType *i86be503ed361dd89062cf612d6874879b1dd1f54504dee2f25e28c35ee69cfa2.GetSubject_typeQueryParameterType `uriparametername:"subject_type"`
}

ItemHovercardRequestBuilderGetQueryParameters provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:```shell curl -u username:token https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192```

type ItemHovercardRequestBuilderGetRequestConfiguration

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

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

type ItemInstallationRequestBuilder

ItemInstallationRequestBuilder builds and executes requests for operations under \users\{username}\installation

func NewItemInstallationRequestBuilder

NewItemInstallationRequestBuilder instantiates a new InstallationRequestBuilder and sets the default values.

func NewItemInstallationRequestBuilderInternal

func NewItemInstallationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInstallationRequestBuilder

NewItemInstallationRequestBuilderInternal instantiates a new InstallationRequestBuilder and sets the default values.

func (*ItemInstallationRequestBuilder) Get

Get enables an authenticated GitHub App to find the user’s installation information.You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. API method documentation

func (*ItemInstallationRequestBuilder) ToGetRequestInformation

ToGetRequestInformation enables an authenticated GitHub App to find the user’s installation information.You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.

func (*ItemInstallationRequestBuilder) WithUrl

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

type ItemInstallationRequestBuilderGetRequestConfiguration

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

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

type ItemKeysRequestBuilder

ItemKeysRequestBuilder builds and executes requests for operations under \users\{username}\keys

func NewItemKeysRequestBuilder

NewItemKeysRequestBuilder instantiates a new KeysRequestBuilder and sets the default values.

func NewItemKeysRequestBuilderInternal

func NewItemKeysRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemKeysRequestBuilder

NewItemKeysRequestBuilderInternal instantiates a new KeysRequestBuilder and sets the default values.

func (*ItemKeysRequestBuilder) Get

Get lists the _verified_ public SSH keys for a user. This is accessible by anyone. API method documentation

func (*ItemKeysRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the _verified_ public SSH keys for a user. This is accessible by anyone.

func (*ItemKeysRequestBuilder) WithUrl

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

type ItemKeysRequestBuilderGetQueryParameters

type ItemKeysRequestBuilderGetQueryParameters struct {
	// 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"`
}

ItemKeysRequestBuilderGetQueryParameters lists the _verified_ public SSH keys for a user. This is accessible by anyone.

type ItemKeysRequestBuilderGetRequestConfiguration

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

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

type ItemOrgsRequestBuilder

ItemOrgsRequestBuilder builds and executes requests for operations under \users\{username}\orgs

func NewItemOrgsRequestBuilder

NewItemOrgsRequestBuilder instantiates a new OrgsRequestBuilder and sets the default values.

func NewItemOrgsRequestBuilderInternal

func NewItemOrgsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrgsRequestBuilder

NewItemOrgsRequestBuilderInternal instantiates a new OrgsRequestBuilder and sets the default values.

func (*ItemOrgsRequestBuilder) Get

Get list [public organization memberships](https://docs.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.This method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/rest/orgs/orgs#list-organizations-for-the-authenticated-user) API instead. API method documentation

func (*ItemOrgsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list [public organization memberships](https://docs.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.This method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/rest/orgs/orgs#list-organizations-for-the-authenticated-user) API instead.

func (*ItemOrgsRequestBuilder) WithUrl

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

type ItemOrgsRequestBuilderGetQueryParameters

type ItemOrgsRequestBuilderGetQueryParameters struct {
	// 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"`
}

ItemOrgsRequestBuilderGetQueryParameters list [public organization memberships](https://docs.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.This method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/rest/orgs/orgs#list-organizations-for-the-authenticated-user) API instead.

type ItemOrgsRequestBuilderGetRequestConfiguration

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

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

type ItemPackagesItemItemRestoreRequestBuilder

type ItemPackagesItemItemRestoreRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPackagesItemItemRestoreRequestBuilder builds and executes requests for operations under \users\{username}\packages\{package_type}\{package_name}\restore

func NewItemPackagesItemItemRestoreRequestBuilder

NewItemPackagesItemItemRestoreRequestBuilder instantiates a new RestoreRequestBuilder and sets the default values.

func NewItemPackagesItemItemRestoreRequestBuilderInternal

func NewItemPackagesItemItemRestoreRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemRestoreRequestBuilder

NewItemPackagesItemItemRestoreRequestBuilderInternal instantiates a new RestoreRequestBuilder and sets the default values.

func (*ItemPackagesItemItemRestoreRequestBuilder) Post

Post restores an entire package for a user.You can restore a deleted package under the following conditions: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.To use this endpoint, you must authenticate using an access token with the `read:packages` and `write:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package you want to restore. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." API method documentation

func (*ItemPackagesItemItemRestoreRequestBuilder) ToPostRequestInformation

ToPostRequestInformation restores an entire package for a user.You can restore a deleted package under the following conditions: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.To use this endpoint, you must authenticate using an access token with the `read:packages` and `write:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package you want to restore. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."

func (*ItemPackagesItemItemRestoreRequestBuilder) WithUrl

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

type ItemPackagesItemItemRestoreRequestBuilderPostQueryParameters

type ItemPackagesItemItemRestoreRequestBuilderPostQueryParameters struct {
	// package token
	Token *string `uriparametername:"token"`
}

ItemPackagesItemItemRestoreRequestBuilderPostQueryParameters restores an entire package for a user.You can restore a deleted package under the following conditions: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.To use this endpoint, you must authenticate using an access token with the `read:packages` and `write:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package you want to restore. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."

type ItemPackagesItemItemRestoreRequestBuilderPostRequestConfiguration

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

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

type ItemPackagesItemItemVersionsItemRestoreRequestBuilder

type ItemPackagesItemItemVersionsItemRestoreRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPackagesItemItemVersionsItemRestoreRequestBuilder builds and executes requests for operations under \users\{username}\packages\{package_type}\{package_name}\versions\{package_version_id}\restore

func NewItemPackagesItemItemVersionsItemRestoreRequestBuilder

func NewItemPackagesItemItemVersionsItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsItemRestoreRequestBuilder

NewItemPackagesItemItemVersionsItemRestoreRequestBuilder instantiates a new RestoreRequestBuilder and sets the default values.

func NewItemPackagesItemItemVersionsItemRestoreRequestBuilderInternal

func NewItemPackagesItemItemVersionsItemRestoreRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsItemRestoreRequestBuilder

NewItemPackagesItemItemVersionsItemRestoreRequestBuilderInternal instantiates a new RestoreRequestBuilder and sets the default values.

func (*ItemPackagesItemItemVersionsItemRestoreRequestBuilder) Post

Post restores a specific package version for a user.You can restore a deleted package under the following conditions: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.To use this endpoint, you must authenticate using an access token with the `read:packages` and `write:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package whose version you want to restore. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." API method documentation

func (*ItemPackagesItemItemVersionsItemRestoreRequestBuilder) ToPostRequestInformation

ToPostRequestInformation restores a specific package version for a user.You can restore a deleted package under the following conditions: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.To use this endpoint, you must authenticate using an access token with the `read:packages` and `write:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package whose version you want to restore. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."

func (*ItemPackagesItemItemVersionsItemRestoreRequestBuilder) WithUrl

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

type ItemPackagesItemItemVersionsItemRestoreRequestBuilderPostRequestConfiguration

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

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

type ItemPackagesItemItemVersionsRequestBuilder

type ItemPackagesItemItemVersionsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPackagesItemItemVersionsRequestBuilder builds and executes requests for operations under \users\{username}\packages\{package_type}\{package_name}\versions

func NewItemPackagesItemItemVersionsRequestBuilder

NewItemPackagesItemItemVersionsRequestBuilder instantiates a new VersionsRequestBuilder and sets the default values.

func NewItemPackagesItemItemVersionsRequestBuilderInternal

func NewItemPackagesItemItemVersionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsRequestBuilder

NewItemPackagesItemItemVersionsRequestBuilderInternal instantiates a new VersionsRequestBuilder and sets the default values.

func (*ItemPackagesItemItemVersionsRequestBuilder) ByPackage_version_id

ByPackage_version_id gets an item from the github.com/octokit/go-sdk/pkg/github/.users.item.packages.item.item.versions.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.

func (*ItemPackagesItemItemVersionsRequestBuilder) ByPackage_version_idInteger

ByPackage_version_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.users.item.packages.item.item.versions.item collection

func (*ItemPackagesItemItemVersionsRequestBuilder) Get

Get lists package versions for a public package owned by a specified user.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." API method documentation

func (*ItemPackagesItemItemVersionsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists package versions for a public package owned by a specified user.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."

func (*ItemPackagesItemItemVersionsRequestBuilder) WithUrl

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

type ItemPackagesItemItemVersionsRequestBuilderGetRequestConfiguration

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

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

type ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder

type ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder builds and executes requests for operations under \users\{username}\packages\{package_type}\{package_name}\versions\{package_version_id}

func NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder

func NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder

NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder instantiates a new WithPackage_version_ItemRequestBuilder and sets the default values.

func NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderInternal

func NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder

NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderInternal instantiates a new WithPackage_version_ItemRequestBuilder and sets the default values.

func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Delete

Delete deletes a specific package version for a user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.To use this endpoint, you must authenticate using an access token with the `read:packages` and `delete:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package whose version you want to delete. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." API method documentation

func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Get

Get gets a specific package version for a public package owned by a specified user.At this time, to use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." API method documentation

func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Restore

Restore the restore property

func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a specific package version for a user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.To use this endpoint, you must authenticate using an access token with the `read:packages` and `delete:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package whose version you want to delete. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."

func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a specific package version for a public package owned by a specified user.At this time, to use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."

func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) WithUrl

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

type ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderDeleteRequestConfiguration

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

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

type ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderGetRequestConfiguration

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

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

type ItemPackagesItemWithPackage_nameItemRequestBuilder

type ItemPackagesItemWithPackage_nameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPackagesItemWithPackage_nameItemRequestBuilder builds and executes requests for operations under \users\{username}\packages\{package_type}\{package_name}

func NewItemPackagesItemWithPackage_nameItemRequestBuilder

NewItemPackagesItemWithPackage_nameItemRequestBuilder instantiates a new WithPackage_nameItemRequestBuilder and sets the default values.

func NewItemPackagesItemWithPackage_nameItemRequestBuilderInternal

func NewItemPackagesItemWithPackage_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemWithPackage_nameItemRequestBuilder

NewItemPackagesItemWithPackage_nameItemRequestBuilderInternal instantiates a new WithPackage_nameItemRequestBuilder and sets the default values.

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Delete

Delete deletes an entire package for a user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.To use this endpoint, you must authenticate using an access token with the `read:packages` and `delete:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package you want to delete. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." API method documentation

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Get

Get gets a specific package metadata for a public package owned by a user.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." API method documentation

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Restore

Restore the restore property

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes an entire package for a user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.To use this endpoint, you must authenticate using an access token with the `read:packages` and `delete:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package you want to delete. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a specific package metadata for a public package owned by a user.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Versions

Versions the versions property

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) WithUrl

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

type ItemPackagesItemWithPackage_nameItemRequestBuilderDeleteRequestConfiguration

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

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

type ItemPackagesItemWithPackage_nameItemRequestBuilderGetRequestConfiguration

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

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

type ItemPackagesRequestBuilder

ItemPackagesRequestBuilder builds and executes requests for operations under \users\{username}\packages

func NewItemPackagesRequestBuilder

NewItemPackagesRequestBuilder instantiates a new PackagesRequestBuilder and sets the default values.

func NewItemPackagesRequestBuilderInternal

func NewItemPackagesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesRequestBuilder

NewItemPackagesRequestBuilderInternal instantiates a new PackagesRequestBuilder and sets the default values.

func (*ItemPackagesRequestBuilder) ByPackage_type

ByPackage_type gets an item from the github.com/octokit/go-sdk/pkg/github/.users.item.packages.item collection

func (*ItemPackagesRequestBuilder) Get

Get lists all packages in a user's namespace for which the requesting user has access.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." API method documentation

func (*ItemPackagesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all packages in a user's namespace for which the requesting user has access.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."

func (*ItemPackagesRequestBuilder) WithUrl

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

type ItemPackagesRequestBuilderGetQueryParameters

type ItemPackagesRequestBuilderGetQueryParameters struct {
	// The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry.
	// Deprecated: This property is deprecated, use package_typeAsGetPackage_typeQueryParameterType instead
	Package_type *string `uriparametername:"package_type"`
	// The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry.
	Package_typeAsGetPackage_typeQueryParameterType *i0db6aa605b66c3e026e578c21909de97874d74c479b878696174db88d81a5b36.GetPackage_typeQueryParameterType `uriparametername:"package_type"`
	// 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"`
	// The selected visibility of the packages.  This parameter is optional and only filters an existing result set.The `internal` visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems `internal` is synonymous with `private`.For the list of GitHub Packages registries that support granular permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
	// Deprecated: This property is deprecated, use visibilityAsGetVisibilityQueryParameterType instead
	Visibility *string `uriparametername:"visibility"`
	// The selected visibility of the packages.  This parameter is optional and only filters an existing result set.The `internal` visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems `internal` is synonymous with `private`.For the list of GitHub Packages registries that support granular permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
	VisibilityAsGetVisibilityQueryParameterType *i0db6aa605b66c3e026e578c21909de97874d74c479b878696174db88d81a5b36.GetVisibilityQueryParameterType `uriparametername:"visibility"`
}

ItemPackagesRequestBuilderGetQueryParameters lists all packages in a user's namespace for which the requesting user has access.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."

type ItemPackagesRequestBuilderGetRequestConfiguration

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

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

type ItemPackagesWithPackage_typeItemRequestBuilder

type ItemPackagesWithPackage_typeItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPackagesWithPackage_typeItemRequestBuilder builds and executes requests for operations under \users\{username}\packages\{package_type}

func NewItemPackagesWithPackage_typeItemRequestBuilder

NewItemPackagesWithPackage_typeItemRequestBuilder instantiates a new WithPackage_typeItemRequestBuilder and sets the default values.

func NewItemPackagesWithPackage_typeItemRequestBuilderInternal

func NewItemPackagesWithPackage_typeItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesWithPackage_typeItemRequestBuilder

NewItemPackagesWithPackage_typeItemRequestBuilderInternal instantiates a new WithPackage_typeItemRequestBuilder and sets the default values.

func (*ItemPackagesWithPackage_typeItemRequestBuilder) ByPackage_name

ByPackage_name gets an item from the github.com/octokit/go-sdk/pkg/github/.users.item.packages.item.item collection

type ItemProjectsRequestBuilder

ItemProjectsRequestBuilder builds and executes requests for operations under \users\{username}\projects

func NewItemProjectsRequestBuilder

NewItemProjectsRequestBuilder instantiates a new ProjectsRequestBuilder and sets the default values.

func NewItemProjectsRequestBuilderInternal

func NewItemProjectsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemProjectsRequestBuilder

NewItemProjectsRequestBuilderInternal instantiates a new ProjectsRequestBuilder and sets the default values.

func (*ItemProjectsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists projects for a user.

func (*ItemProjectsRequestBuilder) WithUrl

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

type ItemProjectsRequestBuilderGetQueryParameters

type ItemProjectsRequestBuilderGetQueryParameters struct {
	// 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"`
	// Indicates the state of the projects to return.
	// Deprecated: This property is deprecated, use stateAsGetStateQueryParameterType instead
	State *string `uriparametername:"state"`
	// Indicates the state of the projects to return.
	StateAsGetStateQueryParameterType *icca4326a4d3967039c59fe33a86af8ae6f2286dcd8769ed1c103306e802c277c.GetStateQueryParameterType `uriparametername:"state"`
}

ItemProjectsRequestBuilderGetQueryParameters lists projects for a user.

type ItemProjectsRequestBuilderGetRequestConfiguration

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

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

type ItemReceived_eventsPublicRequestBuilder

type ItemReceived_eventsPublicRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemReceived_eventsPublicRequestBuilder builds and executes requests for operations under \users\{username}\received_events\public

func NewItemReceived_eventsPublicRequestBuilder

NewItemReceived_eventsPublicRequestBuilder instantiates a new PublicRequestBuilder and sets the default values.

func NewItemReceived_eventsPublicRequestBuilderInternal

func NewItemReceived_eventsPublicRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemReceived_eventsPublicRequestBuilder

NewItemReceived_eventsPublicRequestBuilderInternal instantiates a new PublicRequestBuilder and sets the default values.

func (*ItemReceived_eventsPublicRequestBuilder) WithUrl

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

type ItemReceived_eventsPublicRequestBuilderGetQueryParameters

type ItemReceived_eventsPublicRequestBuilderGetQueryParameters struct {
	// 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"`
}

ItemReceived_eventsPublicRequestBuilderGetQueryParameters list public events received by a user

type ItemReceived_eventsPublicRequestBuilderGetRequestConfiguration

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

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

type ItemReceived_eventsRequestBuilder

ItemReceived_eventsRequestBuilder builds and executes requests for operations under \users\{username}\received_events

func NewItemReceived_eventsRequestBuilder

NewItemReceived_eventsRequestBuilder instantiates a new Received_eventsRequestBuilder and sets the default values.

func NewItemReceived_eventsRequestBuilderInternal

func NewItemReceived_eventsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemReceived_eventsRequestBuilder

NewItemReceived_eventsRequestBuilderInternal instantiates a new Received_eventsRequestBuilder and sets the default values.

func (*ItemReceived_eventsRequestBuilder) Get

Get these are events that you've received by watching repositories and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events. API method documentation

func (*ItemReceived_eventsRequestBuilder) Public

Public the public property

func (*ItemReceived_eventsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation these are events that you've received by watching repositories and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.

func (*ItemReceived_eventsRequestBuilder) WithUrl

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

type ItemReceived_eventsRequestBuilderGetQueryParameters

type ItemReceived_eventsRequestBuilderGetQueryParameters struct {
	// 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"`
}

ItemReceived_eventsRequestBuilderGetQueryParameters these are events that you've received by watching repositories and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.

type ItemReceived_eventsRequestBuilderGetRequestConfiguration

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

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

type ItemReposRequestBuilder

ItemReposRequestBuilder builds and executes requests for operations under \users\{username}\repos

func NewItemReposRequestBuilder

NewItemReposRequestBuilder instantiates a new ReposRequestBuilder and sets the default values.

func NewItemReposRequestBuilderInternal

func NewItemReposRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemReposRequestBuilder

NewItemReposRequestBuilderInternal instantiates a new ReposRequestBuilder and sets the default values.

func (*ItemReposRequestBuilder) Get

Get lists public repositories for the specified user. API method documentation

func (*ItemReposRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists public repositories for the specified user.

func (*ItemReposRequestBuilder) WithUrl

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

type ItemReposRequestBuilderGetQueryParameters

type ItemReposRequestBuilderGetQueryParameters struct {
	// The order to sort by. Default: `asc` when using `full_name`, otherwise `desc`.
	// Deprecated: This property is deprecated, use directionAsGetDirectionQueryParameterType instead
	Direction *string `uriparametername:"direction"`
	// The order to sort by. Default: `asc` when using `full_name`, otherwise `desc`.
	DirectionAsGetDirectionQueryParameterType *i487dd991a050255d595716157a2da48d14b5f796b611f60abee72f569fd2147b.GetDirectionQueryParameterType `uriparametername:"direction"`
	// 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"`
	// The property to sort the results by.
	// Deprecated: This property is deprecated, use sortAsGetSortQueryParameterType instead
	Sort *string `uriparametername:"sort"`
	// The property to sort the results by.
	SortAsGetSortQueryParameterType *i487dd991a050255d595716157a2da48d14b5f796b611f60abee72f569fd2147b.GetSortQueryParameterType `uriparametername:"sort"`
	// Limit results to repositories of the specified type.
	// Deprecated: This property is deprecated, use typeAsGetTypeQueryParameterType instead
	Type *string `uriparametername:"type"`
	// Limit results to repositories of the specified type.
	TypeAsGetTypeQueryParameterType *i487dd991a050255d595716157a2da48d14b5f796b611f60abee72f569fd2147b.GetTypeQueryParameterType `uriparametername:"type"`
}

ItemReposRequestBuilderGetQueryParameters lists public repositories for the specified user.

type ItemReposRequestBuilderGetRequestConfiguration

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

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

type ItemSettingsBillingActionsRequestBuilder

type ItemSettingsBillingActionsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemSettingsBillingActionsRequestBuilder builds and executes requests for operations under \users\{username}\settings\billing\actions

func NewItemSettingsBillingActionsRequestBuilder

NewItemSettingsBillingActionsRequestBuilder instantiates a new ActionsRequestBuilder and sets the default values.

func NewItemSettingsBillingActionsRequestBuilderInternal

func NewItemSettingsBillingActionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingActionsRequestBuilder

NewItemSettingsBillingActionsRequestBuilderInternal instantiates a new ActionsRequestBuilder and sets the default values.

func (*ItemSettingsBillingActionsRequestBuilder) Get

Get gets the summary of the free and paid GitHub Actions minutes used.Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".Access tokens must have the `user` scope. API method documentation

func (*ItemSettingsBillingActionsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets the summary of the free and paid GitHub Actions minutes used.Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".Access tokens must have the `user` scope.

func (*ItemSettingsBillingActionsRequestBuilder) WithUrl

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

type ItemSettingsBillingActionsRequestBuilderGetRequestConfiguration

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

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

type ItemSettingsBillingPackagesRequestBuilder

type ItemSettingsBillingPackagesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemSettingsBillingPackagesRequestBuilder builds and executes requests for operations under \users\{username}\settings\billing\packages

func NewItemSettingsBillingPackagesRequestBuilder

NewItemSettingsBillingPackagesRequestBuilder instantiates a new PackagesRequestBuilder and sets the default values.

func NewItemSettingsBillingPackagesRequestBuilderInternal

func NewItemSettingsBillingPackagesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingPackagesRequestBuilder

NewItemSettingsBillingPackagesRequestBuilderInternal instantiates a new PackagesRequestBuilder and sets the default values.

func (*ItemSettingsBillingPackagesRequestBuilder) Get

Get gets the free and paid storage used for GitHub Packages in gigabytes.Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."Access tokens must have the `user` scope. API method documentation

func (*ItemSettingsBillingPackagesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets the free and paid storage used for GitHub Packages in gigabytes.Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."Access tokens must have the `user` scope.

func (*ItemSettingsBillingPackagesRequestBuilder) WithUrl

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

type ItemSettingsBillingPackagesRequestBuilderGetRequestConfiguration

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

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

type ItemSettingsBillingRequestBuilder

ItemSettingsBillingRequestBuilder builds and executes requests for operations under \users\{username}\settings\billing

func NewItemSettingsBillingRequestBuilder

NewItemSettingsBillingRequestBuilder instantiates a new BillingRequestBuilder and sets the default values.

func NewItemSettingsBillingRequestBuilderInternal

func NewItemSettingsBillingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingRequestBuilder

NewItemSettingsBillingRequestBuilderInternal instantiates a new BillingRequestBuilder and sets the default values.

func (*ItemSettingsBillingRequestBuilder) Actions

Actions the actions property

func (*ItemSettingsBillingRequestBuilder) Packages

Packages the packages property

func (*ItemSettingsBillingRequestBuilder) SharedStorage

SharedStorage the sharedStorage property

type ItemSettingsBillingSharedStorageRequestBuilder

type ItemSettingsBillingSharedStorageRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemSettingsBillingSharedStorageRequestBuilder builds and executes requests for operations under \users\{username}\settings\billing\shared-storage

func NewItemSettingsBillingSharedStorageRequestBuilder

NewItemSettingsBillingSharedStorageRequestBuilder instantiates a new SharedStorageRequestBuilder and sets the default values.

func NewItemSettingsBillingSharedStorageRequestBuilderInternal

func NewItemSettingsBillingSharedStorageRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingSharedStorageRequestBuilder

NewItemSettingsBillingSharedStorageRequestBuilderInternal instantiates a new SharedStorageRequestBuilder and sets the default values.

func (*ItemSettingsBillingSharedStorageRequestBuilder) Get

Get gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."Access tokens must have the `user` scope. API method documentation

func (*ItemSettingsBillingSharedStorageRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."Access tokens must have the `user` scope.

func (*ItemSettingsBillingSharedStorageRequestBuilder) WithUrl

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

type ItemSettingsBillingSharedStorageRequestBuilderGetRequestConfiguration

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

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

type ItemSettingsRequestBuilder

ItemSettingsRequestBuilder builds and executes requests for operations under \users\{username}\settings

func NewItemSettingsRequestBuilder

NewItemSettingsRequestBuilder instantiates a new SettingsRequestBuilder and sets the default values.

func NewItemSettingsRequestBuilderInternal

func NewItemSettingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsRequestBuilder

NewItemSettingsRequestBuilderInternal instantiates a new SettingsRequestBuilder and sets the default values.

func (*ItemSettingsRequestBuilder) Billing

Billing the billing property

type ItemSocial_accountsRequestBuilder

ItemSocial_accountsRequestBuilder builds and executes requests for operations under \users\{username}\social_accounts

func NewItemSocial_accountsRequestBuilder

NewItemSocial_accountsRequestBuilder instantiates a new Social_accountsRequestBuilder and sets the default values.

func NewItemSocial_accountsRequestBuilderInternal

func NewItemSocial_accountsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSocial_accountsRequestBuilder

NewItemSocial_accountsRequestBuilderInternal instantiates a new Social_accountsRequestBuilder and sets the default values.

func (*ItemSocial_accountsRequestBuilder) Get

Get lists social media accounts for a user. This endpoint is accessible by anyone. API method documentation

func (*ItemSocial_accountsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists social media accounts for a user. This endpoint is accessible by anyone.

func (*ItemSocial_accountsRequestBuilder) WithUrl

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

type ItemSocial_accountsRequestBuilderGetQueryParameters

type ItemSocial_accountsRequestBuilderGetQueryParameters struct {
	// 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"`
}

ItemSocial_accountsRequestBuilderGetQueryParameters lists social media accounts for a user. This endpoint is accessible by anyone.

type ItemSocial_accountsRequestBuilderGetRequestConfiguration

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

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

type ItemSsh_signing_keysRequestBuilder

ItemSsh_signing_keysRequestBuilder builds and executes requests for operations under \users\{username}\ssh_signing_keys

func NewItemSsh_signing_keysRequestBuilder

NewItemSsh_signing_keysRequestBuilder instantiates a new Ssh_signing_keysRequestBuilder and sets the default values.

func NewItemSsh_signing_keysRequestBuilderInternal

func NewItemSsh_signing_keysRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSsh_signing_keysRequestBuilder

NewItemSsh_signing_keysRequestBuilderInternal instantiates a new Ssh_signing_keysRequestBuilder and sets the default values.

func (*ItemSsh_signing_keysRequestBuilder) Get

Get lists the SSH signing keys for a user. This operation is accessible by anyone. API method documentation

func (*ItemSsh_signing_keysRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the SSH signing keys for a user. This operation is accessible by anyone.

func (*ItemSsh_signing_keysRequestBuilder) WithUrl

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

type ItemSsh_signing_keysRequestBuilderGetQueryParameters

type ItemSsh_signing_keysRequestBuilderGetQueryParameters struct {
	// 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"`
}

ItemSsh_signing_keysRequestBuilderGetQueryParameters lists the SSH signing keys for a user. This operation is accessible by anyone.

type ItemSsh_signing_keysRequestBuilderGetRequestConfiguration

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

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

type ItemStarredRepository

type ItemStarredRepository struct {
	// contains filtered or unexported fields
}

ItemStarredRepository

func NewItemStarredRepository

func NewItemStarredRepository() *ItemStarredRepository

NewItemStarredRepository instantiates a new ItemStarredRepository and sets the default values.

func (*ItemStarredRepository) GetAdditionalData

func (m *ItemStarredRepository) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemStarredRepository) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemStarredRepository) Serialize

Serialize serializes information the current object

func (*ItemStarredRepository) SetAdditionalData

func (m *ItemStarredRepository) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

type ItemStarredRequestBuilder

ItemStarredRequestBuilder builds and executes requests for operations under \users\{username}\starred

func NewItemStarredRequestBuilder

NewItemStarredRequestBuilder instantiates a new StarredRequestBuilder and sets the default values.

func NewItemStarredRequestBuilderInternal

func NewItemStarredRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemStarredRequestBuilder

NewItemStarredRequestBuilderInternal instantiates a new StarredRequestBuilder and sets the default values.

func (*ItemStarredRequestBuilder) Get

Get lists repositories a user has starred.You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`. Deprecated: This method is obsolete. Use GetAsStarredGetResponse instead. API method documentation

func (*ItemStarredRequestBuilder) GetAsStarredGetResponse

GetAsStarredGetResponse lists repositories a user has starred.You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`. API method documentation

func (*ItemStarredRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists repositories a user has starred.You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.

func (*ItemStarredRequestBuilder) WithUrl

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

type ItemStarredRequestBuilderGetQueryParameters

type ItemStarredRequestBuilderGetQueryParameters struct {
	// The direction to sort the results by.
	// Deprecated: This property is deprecated, use directionAsGetDirectionQueryParameterType instead
	Direction *string `uriparametername:"direction"`
	// The direction to sort the results by.
	DirectionAsGetDirectionQueryParameterType *i79bee196f908e2ec3c0a95608a335c04823e48e52984cbf48aa57b354fe8088c.GetDirectionQueryParameterType `uriparametername:"direction"`
	// 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"`
	// The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed to.
	// Deprecated: This property is deprecated, use sortAsGetSortQueryParameterType instead
	Sort *string `uriparametername:"sort"`
	// The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed to.
	SortAsGetSortQueryParameterType *i79bee196f908e2ec3c0a95608a335c04823e48e52984cbf48aa57b354fe8088c.GetSortQueryParameterType `uriparametername:"sort"`
}

ItemStarredRequestBuilderGetQueryParameters lists repositories a user has starred.You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.

type ItemStarredRequestBuilderGetRequestConfiguration

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

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

type ItemSubscriptionsRequestBuilder

ItemSubscriptionsRequestBuilder builds and executes requests for operations under \users\{username}\subscriptions

func NewItemSubscriptionsRequestBuilder

NewItemSubscriptionsRequestBuilder instantiates a new SubscriptionsRequestBuilder and sets the default values.

func NewItemSubscriptionsRequestBuilderInternal

func NewItemSubscriptionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSubscriptionsRequestBuilder

NewItemSubscriptionsRequestBuilderInternal instantiates a new SubscriptionsRequestBuilder and sets the default values.

func (*ItemSubscriptionsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists repositories a user is watching.

func (*ItemSubscriptionsRequestBuilder) WithUrl

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

type ItemSubscriptionsRequestBuilderGetQueryParameters

type ItemSubscriptionsRequestBuilderGetQueryParameters struct {
	// 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"`
}

ItemSubscriptionsRequestBuilderGetQueryParameters lists repositories a user is watching.

type ItemSubscriptionsRequestBuilderGetRequestConfiguration

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

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

type StarredGetResponse

type StarredGetResponse struct {
	// contains filtered or unexported fields
}

StarredGetResponse composed type wrapper for classes ItemStarredRepository, ItemStarredRepository

func NewStarredGetResponse

func NewStarredGetResponse() *StarredGetResponse

NewStarredGetResponse instantiates a new starredGetResponse and sets the default values.

func (*StarredGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*StarredGetResponse) GetIsComposedType

func (m *StarredGetResponse) GetIsComposedType() bool

GetIsComposedType determines if the current object is a wrapper around a composed type

func (*StarredGetResponse) GetItemStarredRepository

func (m *StarredGetResponse) GetItemStarredRepository() []ItemStarredRepositoryable

GetItemStarredRepository gets the ItemStarredRepository property value. Composed type representation for type ItemStarredRepository

func (*StarredGetResponse) GetStarredGetResponseItemStarredRepository

func (m *StarredGetResponse) GetStarredGetResponseItemStarredRepository() []ItemStarredRepositoryable

GetStarredGetResponseItemStarredRepository gets the ItemStarredRepository property value. Composed type representation for type ItemStarredRepository

func (*StarredGetResponse) Serialize

Serialize serializes information the current object

func (*StarredGetResponse) SetItemStarredRepository

func (m *StarredGetResponse) SetItemStarredRepository(value []ItemStarredRepositoryable)

SetItemStarredRepository sets the ItemStarredRepository property value. Composed type representation for type ItemStarredRepository

func (*StarredGetResponse) SetStarredGetResponseItemStarredRepository

func (m *StarredGetResponse) SetStarredGetResponseItemStarredRepository(value []ItemStarredRepositoryable)

SetStarredGetResponseItemStarredRepository sets the ItemStarredRepository property value. Composed type representation for type ItemStarredRepository

type StarredGetResponseable

type StarredGetResponseable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetItemStarredRepository() []ItemStarredRepositoryable
	GetStarredGetResponseItemStarredRepository() []ItemStarredRepositoryable
	SetItemStarredRepository(value []ItemStarredRepositoryable)
	SetStarredGetResponseItemStarredRepository(value []ItemStarredRepositoryable)
}

StarredGetResponseable

type StarredResponse

type StarredResponse struct {
	// contains filtered or unexported fields
}

StarredResponse composed type wrapper for classes ItemStarredRepository, ItemStarredRepository

func NewStarredResponse

func NewStarredResponse() *StarredResponse

NewStarredResponse instantiates a new starredResponse and sets the default values.

func (*StarredResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*StarredResponse) GetIsComposedType

func (m *StarredResponse) GetIsComposedType() bool

GetIsComposedType determines if the current object is a wrapper around a composed type

func (*StarredResponse) GetItemStarredRepository

func (m *StarredResponse) GetItemStarredRepository() []ItemStarredRepositoryable

GetItemStarredRepository gets the ItemStarredRepository property value. Composed type representation for type ItemStarredRepository

func (*StarredResponse) GetStarredResponseItemStarredRepository

func (m *StarredResponse) GetStarredResponseItemStarredRepository() []ItemStarredRepositoryable

GetStarredResponseItemStarredRepository gets the ItemStarredRepository property value. Composed type representation for type ItemStarredRepository

func (*StarredResponse) Serialize

Serialize serializes information the current object

func (*StarredResponse) SetItemStarredRepository

func (m *StarredResponse) SetItemStarredRepository(value []ItemStarredRepositoryable)

SetItemStarredRepository sets the ItemStarredRepository property value. Composed type representation for type ItemStarredRepository

func (*StarredResponse) SetStarredResponseItemStarredRepository

func (m *StarredResponse) SetStarredResponseItemStarredRepository(value []ItemStarredRepositoryable)

SetStarredResponseItemStarredRepository sets the ItemStarredRepository property value. Composed type representation for type ItemStarredRepository

type StarredResponseable

type StarredResponseable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetItemStarredRepository() []ItemStarredRepositoryable
	GetStarredResponseItemStarredRepository() []ItemStarredRepositoryable
	SetItemStarredRepository(value []ItemStarredRepositoryable)
	SetStarredResponseItemStarredRepository(value []ItemStarredRepositoryable)
}

StarredResponseable

type UsersRequestBuilder

UsersRequestBuilder builds and executes requests for operations under \users

func NewUsersRequestBuilder

NewUsersRequestBuilder instantiates a new UsersRequestBuilder and sets the default values.

func NewUsersRequestBuilderInternal

func NewUsersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *UsersRequestBuilder

NewUsersRequestBuilderInternal instantiates a new UsersRequestBuilder and sets the default values.

func (*UsersRequestBuilder) ByUsername

ByUsername gets an item from the github.com/octokit/go-sdk/pkg/github/.users.item collection

func (*UsersRequestBuilder) Get

Get lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts.Note: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of users. API method documentation

func (*UsersRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts.Note: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of users.

func (*UsersRequestBuilder) WithUrl

func (m *UsersRequestBuilder) WithUrl(rawUrl string) *UsersRequestBuilder

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

type UsersRequestBuilderGetQueryParameters

type UsersRequestBuilderGetQueryParameters struct {
	// The number of results per page (max 100).
	Per_page *int32 `uriparametername:"per_page"`
	// A user ID. Only return users with an ID greater than this ID.
	Since *int32 `uriparametername:"since"`
}

UsersRequestBuilderGetQueryParameters lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts.Note: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of users.

type UsersRequestBuilderGetRequestConfiguration

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

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

type WithUsernameGetResponse

type WithUsernameGetResponse struct {
	// contains filtered or unexported fields
}

WithUsernameGetResponse composed type wrapper for classes privateUser, publicUser

func NewWithUsernameGetResponse

func NewWithUsernameGetResponse() *WithUsernameGetResponse

NewWithUsernameGetResponse instantiates a new WithUsernameGetResponse and sets the default values.

func (*WithUsernameGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*WithUsernameGetResponse) GetIsComposedType

func (m *WithUsernameGetResponse) GetIsComposedType() bool

GetIsComposedType determines if the current object is a wrapper around a composed type

func (*WithUsernameGetResponse) GetPrivateUser

GetPrivateUser gets the privateUser property value. Composed type representation for type privateUser

func (*WithUsernameGetResponse) GetPublicUser

GetPublicUser gets the publicUser property value. Composed type representation for type publicUser

func (*WithUsernameGetResponse) Serialize

Serialize serializes information the current object

func (*WithUsernameGetResponse) SetPrivateUser

SetPrivateUser sets the privateUser property value. Composed type representation for type privateUser

func (*WithUsernameGetResponse) SetPublicUser

SetPublicUser sets the publicUser property value. Composed type representation for type publicUser

type WithUsernameItemRequestBuilder

WithUsernameItemRequestBuilder builds and executes requests for operations under \users\{username}

func NewWithUsernameItemRequestBuilder

NewWithUsernameItemRequestBuilder instantiates a new WithUsernameItemRequestBuilder and sets the default values.

func NewWithUsernameItemRequestBuilderInternal

func NewWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithUsernameItemRequestBuilder

NewWithUsernameItemRequestBuilderInternal instantiates a new WithUsernameItemRequestBuilder and sets the default values.

func (*WithUsernameItemRequestBuilder) Docker

Docker the docker property

func (*WithUsernameItemRequestBuilder) Events

Events the events property

func (*WithUsernameItemRequestBuilder) Followers

Followers the followers property

func (*WithUsernameItemRequestBuilder) Following

Following the following property

func (*WithUsernameItemRequestBuilder) Get

Get provides publicly available information about someone with a GitHub account.GitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub plan. The GitHub App must be authenticated as a user. See "[Identifying and authorizing users for GitHub Apps](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)" for details about authentication. For an example response, see 'Response with GitHub plan information' below"The `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://docs.github.com/rest/overview/resources-in-the-rest-api#authentication).The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see "[Emails API](https://docs.github.com/rest/users/emails)". Deprecated: This method is obsolete. Use GetAsWithUsernameGetResponse instead. API method documentation

func (*WithUsernameItemRequestBuilder) GetAsWithUsernameGetResponse

GetAsWithUsernameGetResponse provides publicly available information about someone with a GitHub account.GitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub plan. The GitHub App must be authenticated as a user. See "[Identifying and authorizing users for GitHub Apps](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)" for details about authentication. For an example response, see 'Response with GitHub plan information' below"The `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://docs.github.com/rest/overview/resources-in-the-rest-api#authentication).The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see "[Emails API](https://docs.github.com/rest/users/emails)". API method documentation

func (*WithUsernameItemRequestBuilder) Gists

Gists the gists property

func (*WithUsernameItemRequestBuilder) Gpg_keys

Gpg_keys the gpg_keys property

func (*WithUsernameItemRequestBuilder) Hovercard

Hovercard the hovercard property

func (*WithUsernameItemRequestBuilder) Installation

Installation the installation property

func (*WithUsernameItemRequestBuilder) Keys

Keys the keys property

func (*WithUsernameItemRequestBuilder) Orgs

Orgs the orgs property

func (*WithUsernameItemRequestBuilder) Packages

Packages the packages property

func (*WithUsernameItemRequestBuilder) Projects

Projects the projects property

func (*WithUsernameItemRequestBuilder) Received_events

Received_events the received_events property

func (*WithUsernameItemRequestBuilder) Repos

Repos the repos property

func (*WithUsernameItemRequestBuilder) Settings

Settings the settings property

func (*WithUsernameItemRequestBuilder) Social_accounts

Social_accounts the social_accounts property

func (*WithUsernameItemRequestBuilder) Ssh_signing_keys

Ssh_signing_keys the ssh_signing_keys property

func (*WithUsernameItemRequestBuilder) Starred

Starred the starred property

func (*WithUsernameItemRequestBuilder) Subscriptions

Subscriptions the subscriptions property

func (*WithUsernameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation provides publicly available information about someone with a GitHub account.GitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub plan. The GitHub App must be authenticated as a user. See "[Identifying and authorizing users for GitHub Apps](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)" for details about authentication. For an example response, see 'Response with GitHub plan information' below"The `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://docs.github.com/rest/overview/resources-in-the-rest-api#authentication).The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see "[Emails API](https://docs.github.com/rest/users/emails)".

func (*WithUsernameItemRequestBuilder) WithUrl

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

type WithUsernameItemRequestBuilderGetRequestConfiguration

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

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

type WithUsernameResponse

type WithUsernameResponse struct {
	// contains filtered or unexported fields
}

WithUsernameResponse composed type wrapper for classes privateUser, publicUser

func NewWithUsernameResponse

func NewWithUsernameResponse() *WithUsernameResponse

NewWithUsernameResponse instantiates a new WithUsernameResponse and sets the default values.

func (*WithUsernameResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*WithUsernameResponse) GetIsComposedType

func (m *WithUsernameResponse) GetIsComposedType() bool

GetIsComposedType determines if the current object is a wrapper around a composed type

func (*WithUsernameResponse) GetPrivateUser

GetPrivateUser gets the privateUser property value. Composed type representation for type privateUser

func (*WithUsernameResponse) GetPublicUser

GetPublicUser gets the publicUser property value. Composed type representation for type publicUser

func (*WithUsernameResponse) Serialize

Serialize serializes information the current object

func (*WithUsernameResponse) SetPrivateUser

SetPrivateUser sets the privateUser property value. Composed type representation for type privateUser

func (*WithUsernameResponse) SetPublicUser

SetPublicUser sets the publicUser property value. Composed type representation for type publicUser

Source Files

Directories

Path Synopsis
item

Jump to

Keyboard shortcuts

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