users

package
v0.0.22 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateItemAttestationsItemWithSubject_digestGetResponseFromDiscriminatorValue added in v0.0.18

func CreateItemAttestationsItemWithSubject_digestGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)

CreateItemAttestationsItemWithSubject_digestGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemAttestationsItemWithSubject_digestGetResponse_attestationsFromDiscriminatorValue added in v0.0.18

func CreateItemAttestationsItemWithSubject_digestGetResponse_attestationsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)

CreateItemAttestationsItemWithSubject_digestGetResponse_attestationsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemStarredRepositoryFromDiscriminatorValue

CreateItemStarredRepositoryFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateStarredGetResponseFromDiscriminatorValue

CreateStarredGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateWithUsernameGetResponseFromDiscriminatorValue

CreateWithUsernameGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

Types

type ItemAttestationsItemWithSubject_digestGetResponse added in v0.0.18

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

func NewItemAttestationsItemWithSubject_digestGetResponse added in v0.0.18

func NewItemAttestationsItemWithSubject_digestGetResponse() *ItemAttestationsItemWithSubject_digestGetResponse

NewItemAttestationsItemWithSubject_digestGetResponse instantiates a new ItemAttestationsItemWithSubject_digestGetResponse and sets the default values.

func (*ItemAttestationsItemWithSubject_digestGetResponse) GetAdditionalData added in v0.0.18

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. returns a map[string]any when successful

func (*ItemAttestationsItemWithSubject_digestGetResponse) GetAttestations added in v0.0.18

GetAttestations gets the attestations property value. The attestations property returns a []ItemAttestationsItemWithSubject_digestGetResponse_attestationsable when successful

func (*ItemAttestationsItemWithSubject_digestGetResponse) GetFieldDeserializers added in v0.0.18

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemAttestationsItemWithSubject_digestGetResponse) Serialize added in v0.0.18

Serialize serializes information the current object

func (*ItemAttestationsItemWithSubject_digestGetResponse) SetAdditionalData added in v0.0.18

func (m *ItemAttestationsItemWithSubject_digestGetResponse) 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.

func (*ItemAttestationsItemWithSubject_digestGetResponse) SetAttestations added in v0.0.18

SetAttestations sets the attestations property value. The attestations property

type ItemAttestationsItemWithSubject_digestGetResponse_attestations added in v0.0.18

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

func NewItemAttestationsItemWithSubject_digestGetResponse_attestations added in v0.0.18

func NewItemAttestationsItemWithSubject_digestGetResponse_attestations() *ItemAttestationsItemWithSubject_digestGetResponse_attestations

NewItemAttestationsItemWithSubject_digestGetResponse_attestations instantiates a new ItemAttestationsItemWithSubject_digestGetResponse_attestations and sets the default values.

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations) GetAdditionalData added in v0.0.18

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. returns a map[string]any when successful

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations) GetBundle added in v0.0.18

GetBundle gets the bundle property value. Sigstore Bundle v0.1 returns a SigstoreBundle0able when successful

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations) GetFieldDeserializers added in v0.0.18

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations) GetRepositoryId added in v0.0.18

GetRepositoryId gets the repository_id property value. The repository_id property returns a *int32 when successful

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations) Serialize added in v0.0.18

Serialize serializes information the current object

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations) SetAdditionalData added in v0.0.18

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.

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations) SetBundle added in v0.0.18

SetBundle sets the bundle property value. Sigstore Bundle v0.1

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations) SetRepositoryId added in v0.0.18

SetRepositoryId sets the repository_id property value. The repository_id property

type ItemAttestationsRequestBuilder added in v0.0.18

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

func NewItemAttestationsRequestBuilder added in v0.0.18

NewItemAttestationsRequestBuilder instantiates a new ItemAttestationsRequestBuilder and sets the default values.

func NewItemAttestationsRequestBuilderInternal added in v0.0.18

func NewItemAttestationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemAttestationsRequestBuilder

NewItemAttestationsRequestBuilderInternal instantiates a new ItemAttestationsRequestBuilder and sets the default values.

func (*ItemAttestationsRequestBuilder) BySubject_digest added in v0.0.18

BySubject_digest gets an item from the github.com/octokit/go-sdk/pkg/github.users.item.attestations.item collection returns a *ItemAttestationsWithSubject_digestItemRequestBuilder when successful

type ItemAttestationsWithSubject_digestItemRequestBuilder added in v0.0.18

type ItemAttestationsWithSubject_digestItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemAttestationsWithSubject_digestItemRequestBuilder builds and executes requests for operations under \users\{username}\attestations\{subject_digest}

func NewItemAttestationsWithSubject_digestItemRequestBuilder added in v0.0.18

NewItemAttestationsWithSubject_digestItemRequestBuilder instantiates a new ItemAttestationsWithSubject_digestItemRequestBuilder and sets the default values.

func NewItemAttestationsWithSubject_digestItemRequestBuilderInternal added in v0.0.18

func NewItemAttestationsWithSubject_digestItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemAttestationsWithSubject_digestItemRequestBuilder

NewItemAttestationsWithSubject_digestItemRequestBuilderInternal instantiates a new ItemAttestationsWithSubject_digestItemRequestBuilder and sets the default values.

func (*ItemAttestationsWithSubject_digestItemRequestBuilder) Get added in v0.0.18

Get list a collection of artifact attestations with a given subject digest that are associated with repositories owned by a user.The collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required.**Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). returns a ItemAttestationsItemWithSubject_digestGetResponseable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemAttestationsWithSubject_digestItemRequestBuilder) ToGetRequestInformation added in v0.0.18

ToGetRequestInformation list a collection of artifact attestations with a given subject digest that are associated with repositories owned by a user.The collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required.**Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). returns a *RequestInformation when successful

func (*ItemAttestationsWithSubject_digestItemRequestBuilder) WithUrl added in v0.0.18

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

type ItemAttestationsWithSubject_digestItemRequestBuilderGetQueryParameters added in v0.0.18

type ItemAttestationsWithSubject_digestItemRequestBuilderGetQueryParameters struct {
	// A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	After *string `uriparametername:"after"`
	// A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Before *string `uriparametername:"before"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemAttestationsWithSubject_digestItemRequestBuilderGetQueryParameters list a collection of artifact attestations with a given subject digest that are associated with repositories owned by a user.The collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required.**Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).

type ItemDockerConflictsRequestBuilder

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

func NewItemDockerConflictsRequestBuilder

NewItemDockerConflictsRequestBuilder instantiates a new ItemDockerConflictsRequestBuilder and sets the default values.

func NewItemDockerConflictsRequestBuilderInternal

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

NewItemDockerConflictsRequestBuilderInternal instantiates a new ItemDockerConflictsRequestBuilder 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.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. returns a []PackageEscapedable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code 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.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. returns a *RequestInformation when successful

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. returns a *ItemDockerConflictsRequestBuilder when successful

type ItemDockerRequestBuilder

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

func NewItemDockerRequestBuilder

NewItemDockerRequestBuilder instantiates a new ItemDockerRequestBuilder and sets the default values.

func NewItemDockerRequestBuilderInternal

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

NewItemDockerRequestBuilderInternal instantiates a new ItemDockerRequestBuilder and sets the default values.

func (*ItemDockerRequestBuilder) Conflicts

Conflicts the conflicts property returns a *ItemDockerConflictsRequestBuilder when successful

type ItemEventsOrgsRequestBuilder

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

func NewItemEventsOrgsRequestBuilder

NewItemEventsOrgsRequestBuilder instantiates a new ItemEventsOrgsRequestBuilder and sets the default values.

func NewItemEventsOrgsRequestBuilderInternal

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

NewItemEventsOrgsRequestBuilderInternal instantiates a new ItemEventsOrgsRequestBuilder 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 returns a *ItemEventsOrgsWithOrgItemRequestBuilder when successful

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 ItemEventsOrgsWithOrgItemRequestBuilder and sets the default values.

func NewItemEventsOrgsWithOrgItemRequestBuilderInternal

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

NewItemEventsOrgsWithOrgItemRequestBuilderInternal instantiates a new ItemEventsOrgsWithOrgItemRequestBuilder 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. returns a []Eventable when successful API method documentation

func (*ItemEventsOrgsWithOrgItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation this is the user's organization dashboard. You must be authenticated as the user to view this. returns a *RequestInformation when successful

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. returns a *ItemEventsOrgsWithOrgItemRequestBuilder when successful

type ItemEventsOrgsWithOrgItemRequestBuilderGetQueryParameters

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

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

type ItemEventsPublicRequestBuilder

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

func NewItemEventsPublicRequestBuilder

NewItemEventsPublicRequestBuilder instantiates a new ItemEventsPublicRequestBuilder and sets the default values.

func NewItemEventsPublicRequestBuilderInternal

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

NewItemEventsPublicRequestBuilderInternal instantiates a new ItemEventsPublicRequestBuilder 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. returns a *ItemEventsPublicRequestBuilder when successful

type ItemEventsPublicRequestBuilderGetQueryParameters

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

ItemEventsPublicRequestBuilderGetQueryParameters list public events for a user

type ItemEventsRequestBuilder

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

func NewItemEventsRequestBuilder

NewItemEventsRequestBuilder instantiates a new ItemEventsRequestBuilder and sets the default values.

func NewItemEventsRequestBuilderInternal

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

NewItemEventsRequestBuilderInternal instantiates a new ItemEventsRequestBuilder 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. returns a []Eventable when successful API method documentation

func (*ItemEventsRequestBuilder) Orgs

Orgs the orgs property returns a *ItemEventsOrgsRequestBuilder when successful

func (*ItemEventsRequestBuilder) Public

Public the public property returns a *ItemEventsPublicRequestBuilder when successful

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. returns a *RequestInformation when successful

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. returns a *ItemEventsRequestBuilder when successful

type ItemEventsRequestBuilderGetQueryParameters

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

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

type ItemFollowersRequestBuilder

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

func NewItemFollowersRequestBuilder

NewItemFollowersRequestBuilder instantiates a new ItemFollowersRequestBuilder and sets the default values.

func NewItemFollowersRequestBuilderInternal

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

NewItemFollowersRequestBuilderInternal instantiates a new ItemFollowersRequestBuilder and sets the default values.

func (*ItemFollowersRequestBuilder) Get

Get lists the people following the specified user. returns a []SimpleUserable when successful API method documentation

func (*ItemFollowersRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the people following the specified user. returns a *RequestInformation when successful

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. returns a *ItemFollowersRequestBuilder when successful

type ItemFollowersRequestBuilderGetQueryParameters

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

ItemFollowersRequestBuilderGetQueryParameters lists the people following the specified user.

type ItemFollowingRequestBuilder

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

func NewItemFollowingRequestBuilder

NewItemFollowingRequestBuilder instantiates a new ItemFollowingRequestBuilder and sets the default values.

func NewItemFollowingRequestBuilderInternal

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

NewItemFollowingRequestBuilderInternal instantiates a new ItemFollowingRequestBuilder 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 returns a *ItemFollowingWithTarget_userItemRequestBuilder when successful

func (*ItemFollowingRequestBuilder) Get

Get lists the people who the specified user follows. returns a []SimpleUserable when successful API method documentation

func (*ItemFollowingRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the people who the specified user follows. returns a *RequestInformation when successful

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. returns a *ItemFollowingRequestBuilder when successful

type ItemFollowingRequestBuilderGetQueryParameters

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

ItemFollowingRequestBuilderGetQueryParameters lists the people who the specified user follows.

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 ItemFollowingWithTarget_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 ItemFollowingWithTarget_userItemRequestBuilder and sets the default values.

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. returns a *ItemFollowingWithTarget_userItemRequestBuilder when successful

type ItemGistsRequestBuilder

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

func NewItemGistsRequestBuilder

NewItemGistsRequestBuilder instantiates a new ItemGistsRequestBuilder and sets the default values.

func NewItemGistsRequestBuilderInternal

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

NewItemGistsRequestBuilderInternal instantiates a new ItemGistsRequestBuilder and sets the default values.

func (*ItemGistsRequestBuilder) Get

Get lists public gists for the specified user: returns a []BaseGistable when successful returns a ValidationError error when the service returns a 422 status code API method documentation

func (*ItemGistsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists public gists for the specified user: returns a *RequestInformation when successful

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. returns a *ItemGistsRequestBuilder when successful

type ItemGistsRequestBuilderGetQueryParameters

type ItemGistsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// 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 ItemGpg_keysRequestBuilder

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

func NewItemGpg_keysRequestBuilder

NewItemGpg_keysRequestBuilder instantiates a new ItemGpg_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 ItemGpg_keysRequestBuilder and sets the default values.

func (*ItemGpg_keysRequestBuilder) Get

Get lists the GPG keys for a user. This information is accessible by anyone. returns a []GpgKeyable when successful API method documentation

func (*ItemGpg_keysRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the GPG keys for a user. This information is accessible by anyone. returns a *RequestInformation when successful

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. returns a *ItemGpg_keysRequestBuilder when successful

type ItemGpg_keysRequestBuilderGetQueryParameters

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

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

type ItemHovercardRequestBuilder

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

func NewItemHovercardRequestBuilder

NewItemHovercardRequestBuilder instantiates a new ItemHovercardRequestBuilder and sets the default values.

func NewItemHovercardRequestBuilderInternal

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

NewItemHovercardRequestBuilderInternal instantiates a new ItemHovercardRequestBuilder and sets the default values.

func (*ItemHovercardRequestBuilder) Get

Get provides hovercard information. 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, you would use a `subject_type` value of `repository` and a `subject_id` value of `1300192` (the ID of the `Spoon-Knife` repository).OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a Hovercardable when successful returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation

func (*ItemHovercardRequestBuilder) ToGetRequestInformation

ToGetRequestInformation provides hovercard information. 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, you would use a `subject_type` value of `repository` and a `subject_id` value of `1300192` (the ID of the `Spoon-Knife` repository).OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful

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. returns a *ItemHovercardRequestBuilder when successful

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`.
	Subject_type *i86be503ed361dd89062cf612d6874879b1dd1f54504dee2f25e28c35ee69cfa2.GetSubject_typeQueryParameterType `uriparametername:"subject_type"`
}

ItemHovercardRequestBuilderGetQueryParameters provides hovercard information. 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, you would use a `subject_type` value of `repository` and a `subject_id` value of `1300192` (the ID of the `Spoon-Knife` repository).OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.

type ItemInstallationRequestBuilder

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

func NewItemInstallationRequestBuilder

NewItemInstallationRequestBuilder instantiates a new ItemInstallationRequestBuilder and sets the default values.

func NewItemInstallationRequestBuilderInternal

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

NewItemInstallationRequestBuilderInternal instantiates a new ItemInstallationRequestBuilder and sets the default values.

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. returns a *RequestInformation when successful

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. returns a *ItemInstallationRequestBuilder when successful

type ItemKeysRequestBuilder

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

func NewItemKeysRequestBuilder

NewItemKeysRequestBuilder instantiates a new ItemKeysRequestBuilder and sets the default values.

func NewItemKeysRequestBuilderInternal

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

NewItemKeysRequestBuilderInternal instantiates a new ItemKeysRequestBuilder and sets the default values.

func (*ItemKeysRequestBuilder) Get

Get lists the _verified_ public SSH keys for a user. This is accessible by anyone. returns a []KeySimpleable when successful API method documentation

func (*ItemKeysRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the _verified_ public SSH keys for a user. This is accessible by anyone. returns a *RequestInformation when successful

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. returns a *ItemKeysRequestBuilder when successful

type ItemKeysRequestBuilderGetQueryParameters

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

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

type ItemOrgsRequestBuilder

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

func NewItemOrgsRequestBuilder

NewItemOrgsRequestBuilder instantiates a new ItemOrgsRequestBuilder and sets the default values.

func NewItemOrgsRequestBuilderInternal

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

NewItemOrgsRequestBuilderInternal instantiates a new ItemOrgsRequestBuilder 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. returns a []OrganizationSimpleable when successful 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. returns a *RequestInformation when successful

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. returns a *ItemOrgsRequestBuilder when successful

type ItemOrgsRequestBuilderGetQueryParameters

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

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 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 ItemPackagesItemItemRestoreRequestBuilder and sets the default values.

func NewItemPackagesItemItemRestoreRequestBuilderInternal

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

NewItemPackagesItemItemRestoreRequestBuilderInternal instantiates a new ItemPackagesItemItemRestoreRequestBuilder 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.If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. 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)."OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. 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)." returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation

func (*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.If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. 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)."OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. 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)." returns a *RequestInformation when successful

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. returns a *ItemPackagesItemItemRestoreRequestBuilder when successful

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.If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. 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)."OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. 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)."

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 ItemPackagesItemItemVersionsItemRestoreRequestBuilder and sets the default values.

func NewItemPackagesItemItemVersionsItemRestoreRequestBuilderInternal

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

NewItemPackagesItemItemVersionsItemRestoreRequestBuilderInternal instantiates a new ItemPackagesItemItemVersionsItemRestoreRequestBuilder 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.If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. 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)."OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. 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)." returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation

func (*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.If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. 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)."OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. 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)." returns a *RequestInformation when successful

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. returns a *ItemPackagesItemItemVersionsItemRestoreRequestBuilder when successful

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 ItemPackagesItemItemVersionsRequestBuilder and sets the default values.

func NewItemPackagesItemItemVersionsRequestBuilderInternal

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

NewItemPackagesItemItemVersionsRequestBuilderInternal instantiates a new ItemPackagesItemItemVersionsRequestBuilder 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 returns a *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder when successful

func (*ItemPackagesItemItemVersionsRequestBuilder) Get

Get lists package versions for a public package owned by a specified user.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. 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)." returns a []PackageVersionable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemPackagesItemItemVersionsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists package versions for a public package owned by a specified user.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. 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)." returns a *RequestInformation when successful

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. returns a *ItemPackagesItemItemVersionsRequestBuilder when successful

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 ItemPackagesItemItemVersionsWithPackage_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 ItemPackagesItemItemVersionsWithPackage_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.If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. 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)."OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. 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)." returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Get

Get gets a specific package version for a public package owned by a specified user.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. 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)." returns a PackageVersionable when successful API method documentation

func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Restore

Restore the restore property returns a *ItemPackagesItemItemVersionsItemRestoreRequestBuilder when successful

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.If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. 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)."OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. 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)." returns a *RequestInformation when successful

func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a specific package version for a public package owned by a specified user.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. 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)." returns a *RequestInformation when successful

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. returns a *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder when successful

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 ItemPackagesItemWithPackage_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 ItemPackagesItemWithPackage_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.If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. 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)."OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. 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)." returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Get

Get gets a specific package metadata for a public package owned by a user.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. 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)." returns a PackageEscapedable when successful API method documentation

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Restore

Restore the restore property returns a *ItemPackagesItemItemRestoreRequestBuilder when successful

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.If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. 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)."OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. 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)." returns a *RequestInformation when successful

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a specific package metadata for a public package owned by a user.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. 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)." returns a *RequestInformation when successful

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Versions

Versions the versions property returns a *ItemPackagesItemItemVersionsRequestBuilder when successful

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. returns a *ItemPackagesItemWithPackage_nameItemRequestBuilder when successful

type ItemPackagesRequestBuilder

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

func NewItemPackagesRequestBuilder

NewItemPackagesRequestBuilder instantiates a new ItemPackagesRequestBuilder and sets the default values.

func NewItemPackagesRequestBuilderInternal

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

NewItemPackagesRequestBuilderInternal instantiates a new ItemPackagesRequestBuilder 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 returns a *ItemPackagesWithPackage_typeItemRequestBuilder when successful

func (*ItemPackagesRequestBuilder) Get

Get lists all packages in a user's namespace for which the requesting user has access.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. 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)." returns a []PackageEscapedable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code API method documentation

func (*ItemPackagesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all packages in a user's namespace for which the requesting user has access.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. 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)." returns a *RequestInformation when successful

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. returns a *ItemPackagesRequestBuilder when successful

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.
	Package_type *i0db6aa605b66c3e026e578c21909de97874d74c479b878696174db88d81a5b36.GetPackage_typeQueryParameterType `uriparametername:"package_type"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// 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)."
	Visibility *i0db6aa605b66c3e026e578c21909de97874d74c479b878696174db88d81a5b36.GetVisibilityQueryParameterType `uriparametername:"visibility"`
}

ItemPackagesRequestBuilderGetQueryParameters lists all packages in a user's namespace for which the requesting user has access.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. 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)."

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 ItemPackagesWithPackage_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 ItemPackagesWithPackage_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 returns a *ItemPackagesItemWithPackage_nameItemRequestBuilder when successful

type ItemProjectsRequestBuilder

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

func NewItemProjectsRequestBuilder

NewItemProjectsRequestBuilder instantiates a new ItemProjectsRequestBuilder and sets the default values.

func NewItemProjectsRequestBuilderInternal

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

NewItemProjectsRequestBuilderInternal instantiates a new ItemProjectsRequestBuilder and sets the default values.

func (*ItemProjectsRequestBuilder) Get

Get lists projects for a user. returns a []Projectable when successful returns a ValidationError error when the service returns a 422 status code API method documentation

func (*ItemProjectsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists projects for a user. returns a *RequestInformation when successful

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. returns a *ItemProjectsRequestBuilder when successful

type ItemProjectsRequestBuilderGetQueryParameters

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

ItemProjectsRequestBuilderGetQueryParameters lists projects for a user.

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 ItemReceived_eventsPublicRequestBuilder 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 ItemReceived_eventsPublicRequestBuilder 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. returns a *ItemReceived_eventsPublicRequestBuilder when successful

type ItemReceived_eventsPublicRequestBuilderGetQueryParameters

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

ItemReceived_eventsPublicRequestBuilderGetQueryParameters list public events received by a user

type ItemReceived_eventsRequestBuilder

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

func NewItemReceived_eventsRequestBuilder

NewItemReceived_eventsRequestBuilder instantiates a new ItemReceived_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 ItemReceived_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. returns a []Eventable when successful API method documentation

func (*ItemReceived_eventsRequestBuilder) Public

Public the public property returns a *ItemReceived_eventsPublicRequestBuilder when successful

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. returns a *RequestInformation when successful

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. returns a *ItemReceived_eventsRequestBuilder when successful

type ItemReceived_eventsRequestBuilderGetQueryParameters

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

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 ItemReposRequestBuilder

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

func NewItemReposRequestBuilder

NewItemReposRequestBuilder instantiates a new ItemReposRequestBuilder and sets the default values.

func NewItemReposRequestBuilderInternal

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

NewItemReposRequestBuilderInternal instantiates a new ItemReposRequestBuilder and sets the default values.

func (*ItemReposRequestBuilder) Get

Get lists public repositories for the specified user. returns a []MinimalRepositoryable when successful API method documentation

func (*ItemReposRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists public repositories for the specified user. returns a *RequestInformation when successful

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. returns a *ItemReposRequestBuilder when successful

type ItemReposRequestBuilderGetQueryParameters

type ItemReposRequestBuilderGetQueryParameters struct {
	// The order to sort by. Default: `asc` when using `full_name`, otherwise `desc`.
	Direction *i487dd991a050255d595716157a2da48d14b5f796b611f60abee72f569fd2147b.GetDirectionQueryParameterType `uriparametername:"direction"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// The property to sort the results by.
	Sort *i487dd991a050255d595716157a2da48d14b5f796b611f60abee72f569fd2147b.GetSortQueryParameterType `uriparametername:"sort"`
	// Limit results to repositories of the specified type.
	Type *i487dd991a050255d595716157a2da48d14b5f796b611f60abee72f569fd2147b.GetTypeQueryParameterType `uriparametername:"type"`
}

ItemReposRequestBuilderGetQueryParameters lists public repositories for the specified user.

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 ItemSettingsBillingActionsRequestBuilder and sets the default values.

func NewItemSettingsBillingActionsRequestBuilderInternal

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

NewItemSettingsBillingActionsRequestBuilderInternal instantiates a new ItemSettingsBillingActionsRequestBuilder 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)".OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. returns a ActionsBillingUsageable when successful 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)".OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. returns a *RequestInformation when successful

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. returns a *ItemSettingsBillingActionsRequestBuilder when successful

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 ItemSettingsBillingPackagesRequestBuilder and sets the default values.

func NewItemSettingsBillingPackagesRequestBuilderInternal

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

NewItemSettingsBillingPackagesRequestBuilderInternal instantiates a new ItemSettingsBillingPackagesRequestBuilder 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)."OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. returns a PackagesBillingUsageable when successful 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)."OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. returns a *RequestInformation when successful

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. returns a *ItemSettingsBillingPackagesRequestBuilder when successful

type ItemSettingsBillingRequestBuilder

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

func NewItemSettingsBillingRequestBuilder

NewItemSettingsBillingRequestBuilder instantiates a new ItemSettingsBillingRequestBuilder and sets the default values.

func NewItemSettingsBillingRequestBuilderInternal

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

NewItemSettingsBillingRequestBuilderInternal instantiates a new ItemSettingsBillingRequestBuilder and sets the default values.

func (*ItemSettingsBillingRequestBuilder) Actions

Actions the actions property returns a *ItemSettingsBillingActionsRequestBuilder when successful

func (*ItemSettingsBillingRequestBuilder) Packages

Packages the packages property returns a *ItemSettingsBillingPackagesRequestBuilder when successful

func (*ItemSettingsBillingRequestBuilder) SharedStorage

SharedStorage the sharedStorage property returns a *ItemSettingsBillingSharedStorageRequestBuilder when successful

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 ItemSettingsBillingSharedStorageRequestBuilder and sets the default values.

func NewItemSettingsBillingSharedStorageRequestBuilderInternal

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

NewItemSettingsBillingSharedStorageRequestBuilderInternal instantiates a new ItemSettingsBillingSharedStorageRequestBuilder 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)."OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. returns a CombinedBillingUsageable when successful 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)."OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. returns a *RequestInformation when successful

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. returns a *ItemSettingsBillingSharedStorageRequestBuilder when successful

type ItemSettingsRequestBuilder

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

func NewItemSettingsRequestBuilder

NewItemSettingsRequestBuilder instantiates a new ItemSettingsRequestBuilder and sets the default values.

func NewItemSettingsRequestBuilderInternal

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

NewItemSettingsRequestBuilderInternal instantiates a new ItemSettingsRequestBuilder and sets the default values.

func (*ItemSettingsRequestBuilder) Billing

Billing the billing property returns a *ItemSettingsBillingRequestBuilder when successful

type ItemSocial_accountsRequestBuilder

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

func NewItemSocial_accountsRequestBuilder

NewItemSocial_accountsRequestBuilder instantiates a new ItemSocial_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 ItemSocial_accountsRequestBuilder and sets the default values.

func (*ItemSocial_accountsRequestBuilder) Get

Get lists social media accounts for a user. This endpoint is accessible by anyone. returns a []SocialAccountable when successful API method documentation

func (*ItemSocial_accountsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists social media accounts for a user. This endpoint is accessible by anyone. returns a *RequestInformation when successful

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. returns a *ItemSocial_accountsRequestBuilder when successful

type ItemSocial_accountsRequestBuilderGetQueryParameters

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

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

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 ItemSsh_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 ItemSsh_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. returns a []SshSigningKeyable when successful API method documentation

func (*ItemSsh_signing_keysRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the SSH signing keys for a user. This operation is accessible by anyone. returns a *RequestInformation when successful

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. returns a *ItemSsh_signing_keysRequestBuilder when successful

type ItemSsh_signing_keysRequestBuilderGetQueryParameters

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

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

type ItemStarredRepository

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

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. returns a map[string]any when successful

func (*ItemStarredRepository) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

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 ItemStarredRequestBuilder and sets the default values.

func NewItemStarredRequestBuilderInternal

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

NewItemStarredRequestBuilderInternal instantiates a new ItemStarredRequestBuilder and sets the default values.

func (*ItemStarredRequestBuilder) Get

Get lists repositories a user has starred.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created. returns a StarredGetResponseable when successful API method documentation

func (*ItemStarredRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists repositories a user has starred.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created. returns a *RequestInformation when successful

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. returns a *ItemStarredRequestBuilder when successful

type ItemStarredRequestBuilderGetQueryParameters

type ItemStarredRequestBuilderGetQueryParameters struct {
	// The direction to sort the results by.
	Direction *i79bee196f908e2ec3c0a95608a335c04823e48e52984cbf48aa57b354fe8088c.GetDirectionQueryParameterType `uriparametername:"direction"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed to.
	Sort *i79bee196f908e2ec3c0a95608a335c04823e48e52984cbf48aa57b354fe8088c.GetSortQueryParameterType `uriparametername:"sort"`
}

ItemStarredRequestBuilderGetQueryParameters lists repositories a user has starred.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created.

type ItemSubscriptionsRequestBuilder

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

func NewItemSubscriptionsRequestBuilder

NewItemSubscriptionsRequestBuilder instantiates a new ItemSubscriptionsRequestBuilder and sets the default values.

func NewItemSubscriptionsRequestBuilderInternal

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

NewItemSubscriptionsRequestBuilderInternal instantiates a new ItemSubscriptionsRequestBuilder and sets the default values.

func (*ItemSubscriptionsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists repositories a user is watching. returns a *RequestInformation when successful

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. returns a *ItemSubscriptionsRequestBuilder when successful

type ItemSubscriptionsRequestBuilderGetQueryParameters

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

ItemSubscriptionsRequestBuilderGetQueryParameters lists repositories a user is watching.

type StarredGetResponse

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

StarredGetResponse composed type wrapper for classes []ItemStarredRepositoryable, []ItemStarredRepositoryable

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 returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*StarredGetResponse) GetIsComposedType

func (m *StarredGetResponse) GetIsComposedType() bool

GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful

func (*StarredGetResponse) GetItemStarredRepository

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

GetItemStarredRepository gets the ItemStarredRepository property value. Composed type representation for type []ItemStarredRepositoryable returns a []ItemStarredRepositoryable when successful

func (*StarredGetResponse) GetStarredGetResponseItemStarredRepository

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

GetStarredGetResponseItemStarredRepository gets the ItemStarredRepository property value. Composed type representation for type []ItemStarredRepositoryable returns a []ItemStarredRepositoryable when successful

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 []ItemStarredRepositoryable

func (*StarredGetResponse) SetStarredGetResponseItemStarredRepository

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

SetStarredGetResponseItemStarredRepository sets the ItemStarredRepository property value. Composed type representation for type []ItemStarredRepositoryable

type StarredGetResponseable

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

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 returns a *WithUsernameItemRequestBuilder when successful

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. returns a []SimpleUserable when successful 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. returns a *RequestInformation when successful

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. returns a *UsersRequestBuilder when successful

type UsersRequestBuilderGetQueryParameters

type UsersRequestBuilderGetQueryParameters struct {
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// 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 WithUsernameGetResponse

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

WithUsernameGetResponse composed type wrapper for classes i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable, i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable

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 returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*WithUsernameGetResponse) GetIsComposedType

func (m *WithUsernameGetResponse) GetIsComposedType() bool

GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful

func (*WithUsernameGetResponse) GetPrivateUser

GetPrivateUser gets the privateUser property value. Composed type representation for type i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable returns a PrivateUserable when successful

func (*WithUsernameGetResponse) GetPublicUser

GetPublicUser gets the publicUser property value. Composed type representation for type i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable returns a PublicUserable when successful

func (*WithUsernameGetResponse) Serialize

Serialize serializes information the current object

func (*WithUsernameGetResponse) SetPrivateUser

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

func (*WithUsernameGetResponse) SetPublicUser

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

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) Attestations added in v0.0.18

Attestations the attestations property returns a *ItemAttestationsRequestBuilder when successful

func (*WithUsernameItemRequestBuilder) Docker

Docker the docker property returns a *ItemDockerRequestBuilder when successful

func (*WithUsernameItemRequestBuilder) Events

Events the events property returns a *ItemEventsRequestBuilder when successful

func (*WithUsernameItemRequestBuilder) Followers

Followers the followers property returns a *ItemFollowersRequestBuilder when successful

func (*WithUsernameItemRequestBuilder) Following

Following the following property returns a *ItemFollowingRequestBuilder when successful

func (*WithUsernameItemRequestBuilder) Get

Get provides publicly available information about someone with a GitHub account.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/guides/getting-started-with-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)". returns a WithUsernameGetResponseable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*WithUsernameItemRequestBuilder) Gists

Gists the gists property returns a *ItemGistsRequestBuilder when successful

func (*WithUsernameItemRequestBuilder) Gpg_keys

Gpg_keys the gpg_keys property returns a *ItemGpg_keysRequestBuilder when successful

func (*WithUsernameItemRequestBuilder) Hovercard

Hovercard the hovercard property returns a *ItemHovercardRequestBuilder when successful

func (*WithUsernameItemRequestBuilder) Installation

Installation the installation property returns a *ItemInstallationRequestBuilder when successful

func (*WithUsernameItemRequestBuilder) Keys

Keys the keys property returns a *ItemKeysRequestBuilder when successful

func (*WithUsernameItemRequestBuilder) Orgs

Orgs the orgs property returns a *ItemOrgsRequestBuilder when successful

func (*WithUsernameItemRequestBuilder) Packages

Packages the packages property returns a *ItemPackagesRequestBuilder when successful

func (*WithUsernameItemRequestBuilder) Projects

Projects the projects property returns a *ItemProjectsRequestBuilder when successful

func (*WithUsernameItemRequestBuilder) Received_events

Received_events the received_events property returns a *ItemReceived_eventsRequestBuilder when successful

func (*WithUsernameItemRequestBuilder) Repos

Repos the repos property returns a *ItemReposRequestBuilder when successful

func (*WithUsernameItemRequestBuilder) Settings

Settings the settings property returns a *ItemSettingsRequestBuilder when successful

func (*WithUsernameItemRequestBuilder) Social_accounts

Social_accounts the social_accounts property returns a *ItemSocial_accountsRequestBuilder when successful

func (*WithUsernameItemRequestBuilder) Ssh_signing_keys

Ssh_signing_keys the ssh_signing_keys property returns a *ItemSsh_signing_keysRequestBuilder when successful

func (*WithUsernameItemRequestBuilder) Starred

Starred the starred property returns a *ItemStarredRequestBuilder when successful

func (*WithUsernameItemRequestBuilder) Subscriptions

Subscriptions the subscriptions property returns a *ItemSubscriptionsRequestBuilder when successful

func (*WithUsernameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation provides publicly available information about someone with a GitHub account.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/guides/getting-started-with-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)". returns a *RequestInformation when successful

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. returns a *WithUsernameItemRequestBuilder when successful

Source Files

Directories

Path Synopsis
item

Jump to

Keyboard shortcuts

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