Documentation
¶
Index ¶
- func CreateItemStarredRepositoryFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemSuspendedDeleteRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemSuspendedPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateStarredGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateWithUsernameGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type ItemDockerConflictsRequestBuilder
- type ItemDockerRequestBuilder
- type ItemEventsOrgsRequestBuilder
- type ItemEventsOrgsWithOrgItemRequestBuilder
- func (m *ItemEventsOrgsWithOrgItemRequestBuilder) Get(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Eventable, ...)
- func (m *ItemEventsOrgsWithOrgItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemEventsOrgsWithOrgItemRequestBuilder) WithUrl(rawUrl string) *ItemEventsOrgsWithOrgItemRequestBuilder
- type ItemEventsOrgsWithOrgItemRequestBuilderGetQueryParameters
- type ItemEventsPublicRequestBuilder
- func (m *ItemEventsPublicRequestBuilder) Get(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Eventable, ...)
- func (m *ItemEventsPublicRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemEventsPublicRequestBuilder) WithUrl(rawUrl string) *ItemEventsPublicRequestBuilder
- type ItemEventsPublicRequestBuilderGetQueryParameters
- type ItemEventsRequestBuilder
- func (m *ItemEventsRequestBuilder) Get(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Eventable, ...)
- func (m *ItemEventsRequestBuilder) Orgs() *ItemEventsOrgsRequestBuilder
- func (m *ItemEventsRequestBuilder) Public() *ItemEventsPublicRequestBuilder
- func (m *ItemEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemEventsRequestBuilder) WithUrl(rawUrl string) *ItemEventsRequestBuilder
- type ItemEventsRequestBuilderGetQueryParameters
- type ItemFollowersRequestBuilder
- type ItemFollowersRequestBuilderGetQueryParameters
- type ItemFollowingRequestBuilder
- func (m *ItemFollowingRequestBuilder) ByTarget_user(target_user string) *ItemFollowingWithTarget_userItemRequestBuilder
- func (m *ItemFollowingRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemFollowingRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemFollowingRequestBuilder) WithUrl(rawUrl string) *ItemFollowingRequestBuilder
- type ItemFollowingRequestBuilderGetQueryParameters
- type ItemFollowingWithTarget_userItemRequestBuilder
- func (m *ItemFollowingWithTarget_userItemRequestBuilder) Get(ctx context.Context, ...) error
- func (m *ItemFollowingWithTarget_userItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemFollowingWithTarget_userItemRequestBuilder) WithUrl(rawUrl string) *ItemFollowingWithTarget_userItemRequestBuilder
- type ItemGistsRequestBuilder
- type ItemGistsRequestBuilderGetQueryParameters
- type ItemGpg_keysRequestBuilder
- func (m *ItemGpg_keysRequestBuilder) Get(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.GpgKeyable, ...)
- func (m *ItemGpg_keysRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemGpg_keysRequestBuilder) WithUrl(rawUrl string) *ItemGpg_keysRequestBuilder
- type ItemGpg_keysRequestBuilderGetQueryParameters
- type ItemHovercardRequestBuilder
- type ItemHovercardRequestBuilderGetQueryParameters
- type ItemInstallationRequestBuilder
- type ItemKeysRequestBuilder
- type ItemKeysRequestBuilderGetQueryParameters
- type ItemOrgsRequestBuilder
- type ItemOrgsRequestBuilderGetQueryParameters
- type ItemPackagesItemItemRestoreRequestBuilder
- func (m *ItemPackagesItemItemRestoreRequestBuilder) Post(ctx context.Context, ...) error
- func (m *ItemPackagesItemItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPackagesItemItemRestoreRequestBuilder) WithUrl(rawUrl string) *ItemPackagesItemItemRestoreRequestBuilder
- type ItemPackagesItemItemRestoreRequestBuilderPostQueryParameters
- type ItemPackagesItemItemVersionsItemRestoreRequestBuilder
- func NewItemPackagesItemItemVersionsItemRestoreRequestBuilder(rawUrl string, ...) *ItemPackagesItemItemVersionsItemRestoreRequestBuilder
- func NewItemPackagesItemItemVersionsItemRestoreRequestBuilderInternal(pathParameters map[string]string, ...) *ItemPackagesItemItemVersionsItemRestoreRequestBuilder
- func (m *ItemPackagesItemItemVersionsItemRestoreRequestBuilder) Post(ctx context.Context, ...) error
- func (m *ItemPackagesItemItemVersionsItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPackagesItemItemVersionsItemRestoreRequestBuilder) WithUrl(rawUrl string) *ItemPackagesItemItemVersionsItemRestoreRequestBuilder
- type ItemPackagesItemItemVersionsRequestBuilder
- func (m *ItemPackagesItemItemVersionsRequestBuilder) ByPackage_version_id(package_version_id int32) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
- func (m *ItemPackagesItemItemVersionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemPackagesItemItemVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPackagesItemItemVersionsRequestBuilder) WithUrl(rawUrl string) *ItemPackagesItemItemVersionsRequestBuilder
- type ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
- func NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder(rawUrl string, ...) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
- func NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
- func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Restore() *ItemPackagesItemItemVersionsItemRestoreRequestBuilder
- func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) WithUrl(rawUrl string) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
- type ItemPackagesItemWithPackage_nameItemRequestBuilder
- func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) Restore() *ItemPackagesItemItemRestoreRequestBuilder
- func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) Versions() *ItemPackagesItemItemVersionsRequestBuilder
- func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) WithUrl(rawUrl string) *ItemPackagesItemWithPackage_nameItemRequestBuilder
- type ItemPackagesRequestBuilder
- func (m *ItemPackagesRequestBuilder) ByPackage_type(package_type string) *ItemPackagesWithPackage_typeItemRequestBuilder
- func (m *ItemPackagesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemPackagesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPackagesRequestBuilder) WithUrl(rawUrl string) *ItemPackagesRequestBuilder
- type ItemPackagesRequestBuilderGetQueryParameters
- type ItemPackagesWithPackage_typeItemRequestBuilder
- type ItemProjectsRequestBuilder
- type ItemProjectsRequestBuilderGetQueryParameters
- type ItemReceived_eventsPublicRequestBuilder
- func (m *ItemReceived_eventsPublicRequestBuilder) Get(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Eventable, ...)
- func (m *ItemReceived_eventsPublicRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemReceived_eventsPublicRequestBuilder) WithUrl(rawUrl string) *ItemReceived_eventsPublicRequestBuilder
- type ItemReceived_eventsPublicRequestBuilderGetQueryParameters
- type ItemReceived_eventsRequestBuilder
- func (m *ItemReceived_eventsRequestBuilder) Get(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Eventable, ...)
- func (m *ItemReceived_eventsRequestBuilder) Public() *ItemReceived_eventsPublicRequestBuilder
- func (m *ItemReceived_eventsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemReceived_eventsRequestBuilder) WithUrl(rawUrl string) *ItemReceived_eventsRequestBuilder
- type ItemReceived_eventsRequestBuilderGetQueryParameters
- type ItemReposRequestBuilder
- type ItemReposRequestBuilderGetQueryParameters
- type ItemSite_adminRequestBuilder
- func (m *ItemSite_adminRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemSite_adminRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemSite_adminRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemSite_adminRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemSite_adminRequestBuilder) WithUrl(rawUrl string) *ItemSite_adminRequestBuilder
- type ItemSocial_accountsRequestBuilder
- type ItemSocial_accountsRequestBuilderGetQueryParameters
- type ItemSsh_signing_keysRequestBuilder
- type ItemSsh_signing_keysRequestBuilderGetQueryParameters
- type ItemStarredRepository
- type ItemStarredRepositoryable
- type ItemStarredRequestBuilder
- type ItemStarredRequestBuilderGetQueryParameters
- type ItemSubscriptionsRequestBuilder
- type ItemSubscriptionsRequestBuilderGetQueryParameters
- type ItemSuspendedDeleteRequestBody
- func (m *ItemSuspendedDeleteRequestBody) GetAdditionalData() map[string]any
- func (m *ItemSuspendedDeleteRequestBody) GetFieldDeserializers() ...
- func (m *ItemSuspendedDeleteRequestBody) GetReason() *string
- func (m *ItemSuspendedDeleteRequestBody) Serialize(...) error
- func (m *ItemSuspendedDeleteRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemSuspendedDeleteRequestBody) SetReason(value *string)
- type ItemSuspendedDeleteRequestBodyable
- type ItemSuspendedPutRequestBody
- func (m *ItemSuspendedPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemSuspendedPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemSuspendedPutRequestBody) GetReason() *string
- func (m *ItemSuspendedPutRequestBody) Serialize(...) error
- func (m *ItemSuspendedPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemSuspendedPutRequestBody) SetReason(value *string)
- type ItemSuspendedPutRequestBodyable
- type ItemSuspendedRequestBuilder
- func (m *ItemSuspendedRequestBuilder) Delete(ctx context.Context, body ItemSuspendedDeleteRequestBodyable, ...) error
- func (m *ItemSuspendedRequestBuilder) Put(ctx context.Context, body ItemSuspendedPutRequestBodyable, ...) error
- func (m *ItemSuspendedRequestBuilder) ToDeleteRequestInformation(ctx context.Context, body ItemSuspendedDeleteRequestBodyable, ...) (...)
- func (m *ItemSuspendedRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemSuspendedPutRequestBodyable, ...) (...)
- func (m *ItemSuspendedRequestBuilder) WithUrl(rawUrl string) *ItemSuspendedRequestBuilder
- type StarredGetResponse
- func (m *StarredGetResponse) GetFieldDeserializers() ...
- func (m *StarredGetResponse) GetIsComposedType() bool
- func (m *StarredGetResponse) GetItemStarredRepository() []ItemStarredRepositoryable
- func (m *StarredGetResponse) GetStarredGetResponseItemStarredRepository() []ItemStarredRepositoryable
- func (m *StarredGetResponse) Serialize(...) error
- func (m *StarredGetResponse) SetItemStarredRepository(value []ItemStarredRepositoryable)
- func (m *StarredGetResponse) SetStarredGetResponseItemStarredRepository(value []ItemStarredRepositoryable)
- type StarredGetResponseable
- type UsersRequestBuilder
- func (m *UsersRequestBuilder) ByUsername(username string) *WithUsernameItemRequestBuilder
- func (m *UsersRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *UsersRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *UsersRequestBuilder) WithUrl(rawUrl string) *UsersRequestBuilder
- type UsersRequestBuilderGetQueryParameters
- type WithUsernameGetResponse
- func (m *WithUsernameGetResponse) GetFieldDeserializers() ...
- func (m *WithUsernameGetResponse) GetIsComposedType() bool
- func (m *WithUsernameGetResponse) GetPrivateUser() ...
- func (m *WithUsernameGetResponse) GetPublicUser() ...
- func (m *WithUsernameGetResponse) Serialize(...) error
- func (m *WithUsernameGetResponse) SetPrivateUser(...)
- func (m *WithUsernameGetResponse) SetPublicUser(...)
- type WithUsernameGetResponseable
- type WithUsernameItemRequestBuilder
- func (m *WithUsernameItemRequestBuilder) Docker() *ItemDockerRequestBuilder
- func (m *WithUsernameItemRequestBuilder) Events() *ItemEventsRequestBuilder
- func (m *WithUsernameItemRequestBuilder) Followers() *ItemFollowersRequestBuilder
- func (m *WithUsernameItemRequestBuilder) Following() *ItemFollowingRequestBuilder
- func (m *WithUsernameItemRequestBuilder) Get(ctx context.Context, ...) (WithUsernameGetResponseable, error)
- func (m *WithUsernameItemRequestBuilder) Gists() *ItemGistsRequestBuilder
- func (m *WithUsernameItemRequestBuilder) Gpg_keys() *ItemGpg_keysRequestBuilder
- func (m *WithUsernameItemRequestBuilder) Hovercard() *ItemHovercardRequestBuilder
- func (m *WithUsernameItemRequestBuilder) Installation() *ItemInstallationRequestBuilder
- func (m *WithUsernameItemRequestBuilder) Keys() *ItemKeysRequestBuilder
- func (m *WithUsernameItemRequestBuilder) Orgs() *ItemOrgsRequestBuilder
- func (m *WithUsernameItemRequestBuilder) Packages() *ItemPackagesRequestBuilder
- func (m *WithUsernameItemRequestBuilder) Projects() *ItemProjectsRequestBuilder
- func (m *WithUsernameItemRequestBuilder) Received_events() *ItemReceived_eventsRequestBuilder
- func (m *WithUsernameItemRequestBuilder) Repos() *ItemReposRequestBuilder
- func (m *WithUsernameItemRequestBuilder) Site_admin() *ItemSite_adminRequestBuilder
- func (m *WithUsernameItemRequestBuilder) Social_accounts() *ItemSocial_accountsRequestBuilder
- func (m *WithUsernameItemRequestBuilder) Ssh_signing_keys() *ItemSsh_signing_keysRequestBuilder
- func (m *WithUsernameItemRequestBuilder) Starred() *ItemStarredRequestBuilder
- func (m *WithUsernameItemRequestBuilder) Subscriptions() *ItemSubscriptionsRequestBuilder
- func (m *WithUsernameItemRequestBuilder) Suspended() *ItemSuspendedRequestBuilder
- func (m *WithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *WithUsernameItemRequestBuilder) WithUrl(rawUrl string) *WithUsernameItemRequestBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateItemStarredRepositoryFromDiscriminatorValue ¶
func CreateItemStarredRepositoryFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemStarredRepositoryFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemSuspendedDeleteRequestBodyFromDiscriminatorValue ¶
func CreateItemSuspendedDeleteRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemSuspendedDeleteRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemSuspendedPutRequestBodyFromDiscriminatorValue ¶
func CreateItemSuspendedPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemSuspendedPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateStarredGetResponseFromDiscriminatorValue ¶
func CreateStarredGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateStarredGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateWithUsernameGetResponseFromDiscriminatorValue ¶
func CreateWithUsernameGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateWithUsernameGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
Types ¶
type ItemDockerConflictsRequestBuilder ¶
type ItemDockerConflictsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemDockerConflictsRequestBuilder builds and executes requests for operations under \users\{username}\docker\conflicts
func NewItemDockerConflictsRequestBuilder ¶
func NewItemDockerConflictsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDockerConflictsRequestBuilder
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 ¶
func (m *ItemDockerConflictsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PackageEscapedable, error)
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 ¶
func (m *ItemDockerConflictsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemDockerConflictsRequestBuilder) WithUrl(rawUrl string) *ItemDockerConflictsRequestBuilder
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 ¶
type ItemDockerRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemDockerRequestBuilder builds and executes requests for operations under \users\{username}\docker
func NewItemDockerRequestBuilder ¶
func NewItemDockerRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDockerRequestBuilder
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 ¶
func (m *ItemDockerRequestBuilder) Conflicts() *ItemDockerConflictsRequestBuilder
Conflicts the conflicts property returns a *ItemDockerConflictsRequestBuilder when successful
type ItemEventsOrgsRequestBuilder ¶
type ItemEventsOrgsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemEventsOrgsRequestBuilder builds and executes requests for operations under \users\{username}\events\orgs
func NewItemEventsOrgsRequestBuilder ¶
func NewItemEventsOrgsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEventsOrgsRequestBuilder
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 ¶
func (m *ItemEventsOrgsRequestBuilder) ByOrg(org string) *ItemEventsOrgsWithOrgItemRequestBuilder
ByOrg gets an item from the github.com/octokit/go-sdk-enterprise-server/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 ¶
func NewItemEventsOrgsWithOrgItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEventsOrgsWithOrgItemRequestBuilder
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 ¶
func (m *ItemEventsOrgsWithOrgItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemEventsOrgsWithOrgItemRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Eventable, error)
Get this is the user's organization dashboard. You must be authenticated as the user to view this.> [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. returns a []Eventable when successful API method documentation
func (*ItemEventsOrgsWithOrgItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemEventsOrgsWithOrgItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemEventsOrgsWithOrgItemRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation this is the user's organization dashboard. You must be authenticated as the user to view this.> [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. returns a *RequestInformation when successful
func (*ItemEventsOrgsWithOrgItemRequestBuilder) WithUrl ¶
func (m *ItemEventsOrgsWithOrgItemRequestBuilder) WithUrl(rawUrl string) *ItemEventsOrgsWithOrgItemRequestBuilder
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/enterprise-server@3.12/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/enterprise-server@3.12/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.> [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
type ItemEventsPublicRequestBuilder ¶
type ItemEventsPublicRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemEventsPublicRequestBuilder builds and executes requests for operations under \users\{username}\events\public
func NewItemEventsPublicRequestBuilder ¶
func NewItemEventsPublicRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEventsPublicRequestBuilder
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) Get ¶
func (m *ItemEventsPublicRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemEventsPublicRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Eventable, error)
Get > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. returns a []Eventable when successful API method documentation
func (*ItemEventsPublicRequestBuilder) ToGetRequestInformation ¶
func (m *ItemEventsPublicRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemEventsPublicRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. returns a *RequestInformation when successful
func (*ItemEventsPublicRequestBuilder) WithUrl ¶
func (m *ItemEventsPublicRequestBuilder) WithUrl(rawUrl string) *ItemEventsPublicRequestBuilder
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/enterprise-server@3.12/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/enterprise-server@3.12/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemEventsPublicRequestBuilderGetQueryParameters > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
type ItemEventsRequestBuilder ¶
type ItemEventsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemEventsRequestBuilder builds and executes requests for operations under \users\{username}\events
func NewItemEventsRequestBuilder ¶
func NewItemEventsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEventsRequestBuilder
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 ¶
func (m *ItemEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemEventsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Eventable, error)
Get if you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.> [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. returns a []Eventable when successful API method documentation
func (*ItemEventsRequestBuilder) Orgs ¶
func (m *ItemEventsRequestBuilder) Orgs() *ItemEventsOrgsRequestBuilder
Orgs the orgs property returns a *ItemEventsOrgsRequestBuilder when successful
func (*ItemEventsRequestBuilder) Public ¶
func (m *ItemEventsRequestBuilder) Public() *ItemEventsPublicRequestBuilder
Public the public property returns a *ItemEventsPublicRequestBuilder when successful
func (*ItemEventsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemEventsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation if you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.> [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. returns a *RequestInformation when successful
func (*ItemEventsRequestBuilder) WithUrl ¶
func (m *ItemEventsRequestBuilder) WithUrl(rawUrl string) *ItemEventsRequestBuilder
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/enterprise-server@3.12/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/enterprise-server@3.12/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.> [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
type ItemFollowersRequestBuilder ¶
type ItemFollowersRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemFollowersRequestBuilder builds and executes requests for operations under \users\{username}\followers
func NewItemFollowersRequestBuilder ¶
func NewItemFollowersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemFollowersRequestBuilder
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 ¶
func (m *ItemFollowersRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemFollowersRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SimpleUserable, error)
Get lists the people following the specified user. returns a []SimpleUserable when successful API method documentation
func (*ItemFollowersRequestBuilder) ToGetRequestInformation ¶
func (m *ItemFollowersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemFollowersRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the people following the specified user. returns a *RequestInformation when successful
func (*ItemFollowersRequestBuilder) WithUrl ¶
func (m *ItemFollowersRequestBuilder) WithUrl(rawUrl string) *ItemFollowersRequestBuilder
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/enterprise-server@3.12/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/enterprise-server@3.12/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 ¶
type ItemFollowingRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemFollowingRequestBuilder builds and executes requests for operations under \users\{username}\following
func NewItemFollowingRequestBuilder ¶
func NewItemFollowingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemFollowingRequestBuilder
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 ¶
func (m *ItemFollowingRequestBuilder) ByTarget_user(target_user string) *ItemFollowingWithTarget_userItemRequestBuilder
ByTarget_user gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.users.item.following.item collection returns a *ItemFollowingWithTarget_userItemRequestBuilder when successful
func (*ItemFollowingRequestBuilder) Get ¶
func (m *ItemFollowingRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemFollowingRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SimpleUserable, error)
Get lists the people who the specified user follows. returns a []SimpleUserable when successful API method documentation
func (*ItemFollowingRequestBuilder) ToGetRequestInformation ¶
func (m *ItemFollowingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemFollowingRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the people who the specified user follows. returns a *RequestInformation when successful
func (*ItemFollowingRequestBuilder) WithUrl ¶
func (m *ItemFollowingRequestBuilder) WithUrl(rawUrl string) *ItemFollowingRequestBuilder
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/enterprise-server@3.12/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/enterprise-server@3.12/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 ¶
func NewItemFollowingWithTarget_userItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemFollowingWithTarget_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) Get ¶
func (m *ItemFollowingWithTarget_userItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Get check if a user follows another user API method documentation
func (*ItemFollowingWithTarget_userItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemFollowingWithTarget_userItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*ItemFollowingWithTarget_userItemRequestBuilder) WithUrl ¶
func (m *ItemFollowingWithTarget_userItemRequestBuilder) WithUrl(rawUrl string) *ItemFollowingWithTarget_userItemRequestBuilder
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 ¶
type ItemGistsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemGistsRequestBuilder builds and executes requests for operations under \users\{username}\gists
func NewItemGistsRequestBuilder ¶
func NewItemGistsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemGistsRequestBuilder
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 ¶
func (m *ItemGistsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemGistsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.BaseGistable, error)
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 ¶
func (m *ItemGistsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemGistsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists public gists for the specified user: returns a *RequestInformation when successful
func (*ItemGistsRequestBuilder) WithUrl ¶
func (m *ItemGistsRequestBuilder) WithUrl(rawUrl string) *ItemGistsRequestBuilder
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/enterprise-server@3.12/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/enterprise-server@3.12/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 ¶
type ItemGpg_keysRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemGpg_keysRequestBuilder builds and executes requests for operations under \users\{username}\gpg_keys
func NewItemGpg_keysRequestBuilder ¶
func NewItemGpg_keysRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemGpg_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 ¶
func (m *ItemGpg_keysRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemGpg_keysRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.GpgKeyable, error)
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 ¶
func (m *ItemGpg_keysRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemGpg_keysRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the GPG keys for a user. This information is accessible by anyone. returns a *RequestInformation when successful
func (*ItemGpg_keysRequestBuilder) WithUrl ¶
func (m *ItemGpg_keysRequestBuilder) WithUrl(rawUrl string) *ItemGpg_keysRequestBuilder
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/enterprise-server@3.12/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/enterprise-server@3.12/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 ¶
type ItemHovercardRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemHovercardRequestBuilder builds and executes requests for operations under \users\{username}\hovercard
func NewItemHovercardRequestBuilder ¶
func NewItemHovercardRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHovercardRequestBuilder
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 ¶
func (m *ItemHovercardRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemHovercardRequestBuilderGetQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Hovercardable, error)
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 ¶
func (m *ItemHovercardRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemHovercardRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemHovercardRequestBuilder) WithUrl(rawUrl string) *ItemHovercardRequestBuilder
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 *i9a082e3935015f10a734dd5481cfcaeed2f79de67b906adbbde6bec44be2d505.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 ¶
type ItemInstallationRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemInstallationRequestBuilder builds and executes requests for operations under \users\{username}\installation
func NewItemInstallationRequestBuilder ¶
func NewItemInstallationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInstallationRequestBuilder
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) Get ¶
func (m *ItemInstallationRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Installationable, error)
Get enables an authenticated GitHub App to find the user’s installation information.You must use a [JWT](https://docs.github.com/enterprise-server@3.12/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. returns a Installationable when successful API method documentation
func (*ItemInstallationRequestBuilder) ToGetRequestInformation ¶
func (m *ItemInstallationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation enables an authenticated GitHub App to find the user’s installation information.You must use a [JWT](https://docs.github.com/enterprise-server@3.12/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 ¶
func (m *ItemInstallationRequestBuilder) WithUrl(rawUrl string) *ItemInstallationRequestBuilder
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 ¶
type ItemKeysRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemKeysRequestBuilder builds and executes requests for operations under \users\{username}\keys
func NewItemKeysRequestBuilder ¶
func NewItemKeysRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemKeysRequestBuilder
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 ¶
func (m *ItemKeysRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemKeysRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.KeySimpleable, error)
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 ¶
func (m *ItemKeysRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemKeysRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the _verified_ public SSH keys for a user. This is accessible by anyone. returns a *RequestInformation when successful
func (*ItemKeysRequestBuilder) WithUrl ¶
func (m *ItemKeysRequestBuilder) WithUrl(rawUrl string) *ItemKeysRequestBuilder
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/enterprise-server@3.12/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/enterprise-server@3.12/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 ¶
type ItemOrgsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemOrgsRequestBuilder builds and executes requests for operations under \users\{username}\orgs
func NewItemOrgsRequestBuilder ¶
func NewItemOrgsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrgsRequestBuilder
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 ¶
func (m *ItemOrgsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemOrgsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationSimpleable, error)
Get list [public organization memberships](https://docs.github.com/enterprise-server@3.12/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/enterprise-server@3.12/rest/orgs/orgs#list-organizations-for-the-authenticated-user) API instead. returns a []OrganizationSimpleable when successful API method documentation
func (*ItemOrgsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemOrgsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemOrgsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list [public organization memberships](https://docs.github.com/enterprise-server@3.12/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/enterprise-server@3.12/rest/orgs/orgs#list-organizations-for-the-authenticated-user) API instead. returns a *RequestInformation when successful
func (*ItemOrgsRequestBuilder) WithUrl ¶
func (m *ItemOrgsRequestBuilder) WithUrl(rawUrl string) *ItemOrgsRequestBuilder
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/enterprise-server@3.12/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/enterprise-server@3.12/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/enterprise-server@3.12/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/enterprise-server@3.12/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 ¶
func NewItemPackagesItemItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemRestoreRequestBuilder
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 ¶
func (m *ItemPackagesItemItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPackagesItemItemRestoreRequestBuilderPostQueryParameters]) error
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/enterprise-server@3.12/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/enterprise-server@3.12/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 ¶
func (m *ItemPackagesItemItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPackagesItemItemRestoreRequestBuilderPostQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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/enterprise-server@3.12/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/enterprise-server@3.12/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful
func (*ItemPackagesItemItemRestoreRequestBuilder) WithUrl ¶
func (m *ItemPackagesItemItemRestoreRequestBuilder) WithUrl(rawUrl string) *ItemPackagesItemItemRestoreRequestBuilder
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/enterprise-server@3.12/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/enterprise-server@3.12/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 ¶
func (m *ItemPackagesItemItemVersionsItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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/enterprise-server@3.12/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/enterprise-server@3.12/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 ¶
func (m *ItemPackagesItemItemVersionsItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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/enterprise-server@3.12/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/enterprise-server@3.12/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful
func (*ItemPackagesItemItemVersionsItemRestoreRequestBuilder) WithUrl ¶
func (m *ItemPackagesItemItemVersionsItemRestoreRequestBuilder) WithUrl(rawUrl string) *ItemPackagesItemItemVersionsItemRestoreRequestBuilder
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 ¶
func NewItemPackagesItemItemVersionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsRequestBuilder
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 ¶
func (m *ItemPackagesItemItemVersionsRequestBuilder) ByPackage_version_id(package_version_id int32) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
ByPackage_version_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.users.item.packages.item.item.versions.item collection returns a *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder when successful
func (*ItemPackagesItemItemVersionsRequestBuilder) Get ¶
func (m *ItemPackagesItemItemVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PackageVersionable, error)
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/enterprise-server@3.12/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 ¶
func (m *ItemPackagesItemItemVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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/enterprise-server@3.12/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful
func (*ItemPackagesItemItemVersionsRequestBuilder) WithUrl ¶
func (m *ItemPackagesItemItemVersionsRequestBuilder) WithUrl(rawUrl string) *ItemPackagesItemItemVersionsRequestBuilder
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 ¶
func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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/enterprise-server@3.12/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/enterprise-server@3.12/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 ¶
func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PackageVersionable, error)
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/enterprise-server@3.12/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 ¶
func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Restore() *ItemPackagesItemItemVersionsItemRestoreRequestBuilder
Restore the restore property returns a *ItemPackagesItemItemVersionsItemRestoreRequestBuilder when successful
func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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/enterprise-server@3.12/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/enterprise-server@3.12/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful
func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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/enterprise-server@3.12/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful
func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) WithUrl ¶
func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) WithUrl(rawUrl string) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
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 ¶
func NewItemPackagesItemWithPackage_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemWithPackage_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 ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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/enterprise-server@3.12/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/enterprise-server@3.12/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 ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PackageEscapedable, error)
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/enterprise-server@3.12/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 ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) Restore() *ItemPackagesItemItemRestoreRequestBuilder
Restore the restore property returns a *ItemPackagesItemItemRestoreRequestBuilder when successful
func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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/enterprise-server@3.12/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/enterprise-server@3.12/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful
func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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/enterprise-server@3.12/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful
func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Versions ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) Versions() *ItemPackagesItemItemVersionsRequestBuilder
Versions the versions property returns a *ItemPackagesItemItemVersionsRequestBuilder when successful
func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) WithUrl ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) WithUrl(rawUrl string) *ItemPackagesItemWithPackage_nameItemRequestBuilder
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 ¶
type ItemPackagesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemPackagesRequestBuilder builds and executes requests for operations under \users\{username}\packages
func NewItemPackagesRequestBuilder ¶
func NewItemPackagesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesRequestBuilder
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 ¶
func (m *ItemPackagesRequestBuilder) ByPackage_type(package_type string) *ItemPackagesWithPackage_typeItemRequestBuilder
ByPackage_type gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.users.item.packages.item collection returns a *ItemPackagesWithPackage_typeItemRequestBuilder when successful
func (*ItemPackagesRequestBuilder) Get ¶
func (m *ItemPackagesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPackagesRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PackageEscapedable, error)
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/enterprise-server@3.12/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 ¶
func (m *ItemPackagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPackagesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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/enterprise-server@3.12/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful
func (*ItemPackagesRequestBuilder) WithUrl ¶
func (m *ItemPackagesRequestBuilder) WithUrl(rawUrl string) *ItemPackagesRequestBuilder
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 *i66622260929edc1fdb6159e42fd6418012be2afc18eafcd05ec45ead74113644.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/enterprise-server@3.12/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/enterprise-server@3.12/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/enterprise-server@3.12/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." Visibility *i66622260929edc1fdb6159e42fd6418012be2afc18eafcd05ec45ead74113644.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/enterprise-server@3.12/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 ¶
func NewItemPackagesWithPackage_typeItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesWithPackage_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 ¶
func (m *ItemPackagesWithPackage_typeItemRequestBuilder) ByPackage_name(package_name string) *ItemPackagesItemWithPackage_nameItemRequestBuilder
ByPackage_name gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.users.item.packages.item.item collection returns a *ItemPackagesItemWithPackage_nameItemRequestBuilder when successful
type ItemProjectsRequestBuilder ¶
type ItemProjectsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemProjectsRequestBuilder builds and executes requests for operations under \users\{username}\projects
func NewItemProjectsRequestBuilder ¶
func NewItemProjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemProjectsRequestBuilder
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 ¶
func (m *ItemProjectsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemProjectsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Projectable, error)
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 ¶
func (m *ItemProjectsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemProjectsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists projects for a user. returns a *RequestInformation when successful
func (*ItemProjectsRequestBuilder) WithUrl ¶
func (m *ItemProjectsRequestBuilder) WithUrl(rawUrl string) *ItemProjectsRequestBuilder
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/enterprise-server@3.12/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/enterprise-server@3.12/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 *i7284cd19d6514766979a782c5fd3294efbf54503ed81bcfa19557684dba14b09.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 ¶
func NewItemReceived_eventsPublicRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemReceived_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) Get ¶
func (m *ItemReceived_eventsPublicRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemReceived_eventsPublicRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Eventable, error)
Get > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. returns a []Eventable when successful API method documentation
func (*ItemReceived_eventsPublicRequestBuilder) ToGetRequestInformation ¶
func (m *ItemReceived_eventsPublicRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemReceived_eventsPublicRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. returns a *RequestInformation when successful
func (*ItemReceived_eventsPublicRequestBuilder) WithUrl ¶
func (m *ItemReceived_eventsPublicRequestBuilder) WithUrl(rawUrl string) *ItemReceived_eventsPublicRequestBuilder
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/enterprise-server@3.12/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/enterprise-server@3.12/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemReceived_eventsPublicRequestBuilderGetQueryParameters > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
type ItemReceived_eventsRequestBuilder ¶
type ItemReceived_eventsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemReceived_eventsRequestBuilder builds and executes requests for operations under \users\{username}\received_events
func NewItemReceived_eventsRequestBuilder ¶
func NewItemReceived_eventsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemReceived_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 ¶
func (m *ItemReceived_eventsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemReceived_eventsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Eventable, error)
Get these are events that you've received by watching repositories and following users. If you are authenticated as thegiven user, you will see private events. Otherwise, you'll only see public events.> [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. returns a []Eventable when successful API method documentation
func (*ItemReceived_eventsRequestBuilder) Public ¶
func (m *ItemReceived_eventsRequestBuilder) Public() *ItemReceived_eventsPublicRequestBuilder
Public the public property returns a *ItemReceived_eventsPublicRequestBuilder when successful
func (*ItemReceived_eventsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemReceived_eventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemReceived_eventsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation these are events that you've received by watching repositories and following users. If you are authenticated as thegiven user, you will see private events. Otherwise, you'll only see public events.> [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. returns a *RequestInformation when successful
func (*ItemReceived_eventsRequestBuilder) WithUrl ¶
func (m *ItemReceived_eventsRequestBuilder) WithUrl(rawUrl string) *ItemReceived_eventsRequestBuilder
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/enterprise-server@3.12/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/enterprise-server@3.12/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 thegiven user, you will see private events. Otherwise, you'll only see public events.> [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
type ItemReposRequestBuilder ¶
type ItemReposRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemReposRequestBuilder builds and executes requests for operations under \users\{username}\repos
func NewItemReposRequestBuilder ¶
func NewItemReposRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemReposRequestBuilder
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 ¶
func (m *ItemReposRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemReposRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable, error)
Get lists public repositories for the specified user. returns a []MinimalRepositoryable when successful API method documentation
func (*ItemReposRequestBuilder) ToGetRequestInformation ¶
func (m *ItemReposRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemReposRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists public repositories for the specified user. returns a *RequestInformation when successful
func (*ItemReposRequestBuilder) WithUrl ¶
func (m *ItemReposRequestBuilder) WithUrl(rawUrl string) *ItemReposRequestBuilder
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 *i7d971b3962b4d33471e6a80c7113395b0a76a2cb149af9becb35ca06739c803e.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/enterprise-server@3.12/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/enterprise-server@3.12/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 *i7d971b3962b4d33471e6a80c7113395b0a76a2cb149af9becb35ca06739c803e.GetSortQueryParameterType `uriparametername:"sort"` // Limit results to repositories of the specified type. Type *i7d971b3962b4d33471e6a80c7113395b0a76a2cb149af9becb35ca06739c803e.GetTypeQueryParameterType `uriparametername:"type"` }
ItemReposRequestBuilderGetQueryParameters lists public repositories for the specified user.
type ItemSite_adminRequestBuilder ¶
type ItemSite_adminRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemSite_adminRequestBuilder builds and executes requests for operations under \users\{username}\site_admin
func NewItemSite_adminRequestBuilder ¶
func NewItemSite_adminRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSite_adminRequestBuilder
NewItemSite_adminRequestBuilder instantiates a new ItemSite_adminRequestBuilder and sets the default values.
func NewItemSite_adminRequestBuilderInternal ¶
func NewItemSite_adminRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSite_adminRequestBuilder
NewItemSite_adminRequestBuilderInternal instantiates a new ItemSite_adminRequestBuilder and sets the default values.
func (*ItemSite_adminRequestBuilder) Delete ¶
func (m *ItemSite_adminRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete you can demote any user account except your own. API method documentation
func (*ItemSite_adminRequestBuilder) Put ¶
func (m *ItemSite_adminRequestBuilder) Put(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/enterprise-server@3.12/rest/guides/getting-started-with-the-rest-api#http-method)." API method documentation
func (*ItemSite_adminRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemSite_adminRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation you can demote any user account except your own. returns a *RequestInformation when successful
func (*ItemSite_adminRequestBuilder) ToPutRequestInformation ¶
func (m *ItemSite_adminRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/enterprise-server@3.12/rest/guides/getting-started-with-the-rest-api#http-method)." returns a *RequestInformation when successful
func (*ItemSite_adminRequestBuilder) WithUrl ¶
func (m *ItemSite_adminRequestBuilder) WithUrl(rawUrl string) *ItemSite_adminRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemSite_adminRequestBuilder when successful
type ItemSocial_accountsRequestBuilder ¶
type ItemSocial_accountsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemSocial_accountsRequestBuilder builds and executes requests for operations under \users\{username}\social_accounts
func NewItemSocial_accountsRequestBuilder ¶
func NewItemSocial_accountsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSocial_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 ¶
func (m *ItemSocial_accountsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemSocial_accountsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SocialAccountable, error)
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 ¶
func (m *ItemSocial_accountsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemSocial_accountsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists social media accounts for a user. This endpoint is accessible by anyone. returns a *RequestInformation when successful
func (*ItemSocial_accountsRequestBuilder) WithUrl ¶
func (m *ItemSocial_accountsRequestBuilder) WithUrl(rawUrl string) *ItemSocial_accountsRequestBuilder
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/enterprise-server@3.12/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/enterprise-server@3.12/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 ¶
type ItemSsh_signing_keysRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemSsh_signing_keysRequestBuilder builds and executes requests for operations under \users\{username}\ssh_signing_keys
func NewItemSsh_signing_keysRequestBuilder ¶
func NewItemSsh_signing_keysRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSsh_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 ¶
func (m *ItemSsh_signing_keysRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemSsh_signing_keysRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SshSigningKeyable, error)
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 ¶
func (m *ItemSsh_signing_keysRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemSsh_signing_keysRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemSsh_signing_keysRequestBuilder) WithUrl(rawUrl string) *ItemSsh_signing_keysRequestBuilder
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/enterprise-server@3.12/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/enterprise-server@3.12/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 ¶
func (m *ItemStarredRepository) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemStarredRepository) Serialize ¶
func (m *ItemStarredRepository) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ItemStarredRepositoryable ¶
type ItemStarredRepositoryable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemStarredRequestBuilder ¶
type ItemStarredRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemStarredRequestBuilder builds and executes requests for operations under \users\{username}\starred
func NewItemStarredRequestBuilder ¶
func NewItemStarredRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemStarredRequestBuilder
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 ¶
func (m *ItemStarredRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemStarredRequestBuilderGetQueryParameters]) (StarredGetResponseable, error)
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/enterprise-server@3.12/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 ¶
func (m *ItemStarredRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemStarredRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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/enterprise-server@3.12/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 ¶
func (m *ItemStarredRequestBuilder) WithUrl(rawUrl string) *ItemStarredRequestBuilder
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 *id8c8059c3f6c019ab1f02512161b44a25b95a3ab167dd66eee2e52202cb7c4a1.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/enterprise-server@3.12/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/enterprise-server@3.12/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 *id8c8059c3f6c019ab1f02512161b44a25b95a3ab167dd66eee2e52202cb7c4a1.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/enterprise-server@3.12/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 ¶
type ItemSubscriptionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemSubscriptionsRequestBuilder builds and executes requests for operations under \users\{username}\subscriptions
func NewItemSubscriptionsRequestBuilder ¶
func NewItemSubscriptionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSubscriptionsRequestBuilder
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) Get ¶
func (m *ItemSubscriptionsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemSubscriptionsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable, error)
Get lists repositories a user is watching. returns a []MinimalRepositoryable when successful API method documentation
func (*ItemSubscriptionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemSubscriptionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemSubscriptionsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists repositories a user is watching. returns a *RequestInformation when successful
func (*ItemSubscriptionsRequestBuilder) WithUrl ¶
func (m *ItemSubscriptionsRequestBuilder) WithUrl(rawUrl string) *ItemSubscriptionsRequestBuilder
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/enterprise-server@3.12/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/enterprise-server@3.12/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 ItemSuspendedDeleteRequestBody ¶
type ItemSuspendedDeleteRequestBody struct {
// contains filtered or unexported fields
}
func NewItemSuspendedDeleteRequestBody ¶
func NewItemSuspendedDeleteRequestBody() *ItemSuspendedDeleteRequestBody
NewItemSuspendedDeleteRequestBody instantiates a new ItemSuspendedDeleteRequestBody and sets the default values.
func (*ItemSuspendedDeleteRequestBody) GetAdditionalData ¶
func (m *ItemSuspendedDeleteRequestBody) 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 (*ItemSuspendedDeleteRequestBody) GetFieldDeserializers ¶
func (m *ItemSuspendedDeleteRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemSuspendedDeleteRequestBody) GetReason ¶
func (m *ItemSuspendedDeleteRequestBody) GetReason() *string
GetReason gets the reason property value. The reason the user is being unsuspended. This message will be logged in the [audit log](https://docs.github.com/enterprise-server@3.12/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/about-the-audit-log-for-your-enterprise). If you don't provide a `reason`, it will default to "Unsuspended via API by _SITE\_ADMINISTRATOR_", where _SITE\_ADMINISTRATOR_ is the person who performed the action. returns a *string when successful
func (*ItemSuspendedDeleteRequestBody) Serialize ¶
func (m *ItemSuspendedDeleteRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemSuspendedDeleteRequestBody) SetAdditionalData ¶
func (m *ItemSuspendedDeleteRequestBody) 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 (*ItemSuspendedDeleteRequestBody) SetReason ¶
func (m *ItemSuspendedDeleteRequestBody) SetReason(value *string)
SetReason sets the reason property value. The reason the user is being unsuspended. This message will be logged in the [audit log](https://docs.github.com/enterprise-server@3.12/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/about-the-audit-log-for-your-enterprise). If you don't provide a `reason`, it will default to "Unsuspended via API by _SITE\_ADMINISTRATOR_", where _SITE\_ADMINISTRATOR_ is the person who performed the action.
type ItemSuspendedDeleteRequestBodyable ¶
type ItemSuspendedDeleteRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetReason() *string SetReason(value *string) }
type ItemSuspendedPutRequestBody ¶
type ItemSuspendedPutRequestBody struct {
// contains filtered or unexported fields
}
func NewItemSuspendedPutRequestBody ¶
func NewItemSuspendedPutRequestBody() *ItemSuspendedPutRequestBody
NewItemSuspendedPutRequestBody instantiates a new ItemSuspendedPutRequestBody and sets the default values.
func (*ItemSuspendedPutRequestBody) GetAdditionalData ¶
func (m *ItemSuspendedPutRequestBody) 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 (*ItemSuspendedPutRequestBody) GetFieldDeserializers ¶
func (m *ItemSuspendedPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemSuspendedPutRequestBody) GetReason ¶
func (m *ItemSuspendedPutRequestBody) GetReason() *string
GetReason gets the reason property value. The reason the user is being suspended. This message will be logged in the [audit log](https://docs.github.com/enterprise-server@3.12/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/about-the-audit-log-for-your-enterprise). If you don't provide a `reason`, it will default to "Suspended via API by _SITE\_ADMINISTRATOR_", where _SITE\_ADMINISTRATOR_ is the person who performed the action. returns a *string when successful
func (*ItemSuspendedPutRequestBody) Serialize ¶
func (m *ItemSuspendedPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemSuspendedPutRequestBody) SetAdditionalData ¶
func (m *ItemSuspendedPutRequestBody) 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 (*ItemSuspendedPutRequestBody) SetReason ¶
func (m *ItemSuspendedPutRequestBody) SetReason(value *string)
SetReason sets the reason property value. The reason the user is being suspended. This message will be logged in the [audit log](https://docs.github.com/enterprise-server@3.12/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/about-the-audit-log-for-your-enterprise). If you don't provide a `reason`, it will default to "Suspended via API by _SITE\_ADMINISTRATOR_", where _SITE\_ADMINISTRATOR_ is the person who performed the action.
type ItemSuspendedPutRequestBodyable ¶
type ItemSuspendedPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetReason() *string SetReason(value *string) }
type ItemSuspendedRequestBuilder ¶
type ItemSuspendedRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemSuspendedRequestBuilder builds and executes requests for operations under \users\{username}\suspended
func NewItemSuspendedRequestBuilder ¶
func NewItemSuspendedRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSuspendedRequestBuilder
NewItemSuspendedRequestBuilder instantiates a new ItemSuspendedRequestBuilder and sets the default values.
func NewItemSuspendedRequestBuilderInternal ¶
func NewItemSuspendedRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSuspendedRequestBuilder
NewItemSuspendedRequestBuilderInternal instantiates a new ItemSuspendedRequestBuilder and sets the default values.
func (*ItemSuspendedRequestBuilder) Delete ¶
func (m *ItemSuspendedRequestBuilder) Delete(ctx context.Context, body ItemSuspendedDeleteRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete if your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://docs.github.com/enterprise-server@3.12/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API. API method documentation
func (*ItemSuspendedRequestBuilder) Put ¶
func (m *ItemSuspendedRequestBuilder) Put(ctx context.Context, body ItemSuspendedPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put if your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://docs.github.com/enterprise-server@3.12/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.You can suspend any user account except your own.Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/enterprise-server@3.12/rest/guides/getting-started-with-the-rest-api#http-method)." API method documentation
func (*ItemSuspendedRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemSuspendedRequestBuilder) ToDeleteRequestInformation(ctx context.Context, body ItemSuspendedDeleteRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation if your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://docs.github.com/enterprise-server@3.12/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API. returns a *RequestInformation when successful
func (*ItemSuspendedRequestBuilder) ToPutRequestInformation ¶
func (m *ItemSuspendedRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemSuspendedPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation if your GitHub instance uses [LDAP Sync with Active Directory LDAP servers](https://docs.github.com/enterprise-server@3.12/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.You can suspend any user account except your own.Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/enterprise-server@3.12/rest/guides/getting-started-with-the-rest-api#http-method)." returns a *RequestInformation when successful
func (*ItemSuspendedRequestBuilder) WithUrl ¶
func (m *ItemSuspendedRequestBuilder) WithUrl(rawUrl string) *ItemSuspendedRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemSuspendedRequestBuilder when successful
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 ¶
func (m *StarredGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *StarredGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
type UsersRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
UsersRequestBuilder builds and executes requests for operations under \users
func NewUsersRequestBuilder ¶
func NewUsersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *UsersRequestBuilder
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 ¶
func (m *UsersRequestBuilder) ByUsername(username string) *WithUsernameItemRequestBuilder
ByUsername gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.users.item collection returns a *WithUsernameItemRequestBuilder when successful
func (*UsersRequestBuilder) Get ¶
func (m *UsersRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[UsersRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SimpleUserable, error)
Get lists all users, in the order that they signed up on GitHub Enterprise Server. 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/enterprise-server@3.12/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 ¶
func (m *UsersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[UsersRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all users, in the order that they signed up on GitHub Enterprise Server. 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/enterprise-server@3.12/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/enterprise-server@3.12/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 Enterprise Server. 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/enterprise-server@3.12/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 ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PrivateUserable, ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PublicUserable
func NewWithUsernameGetResponse ¶
func NewWithUsernameGetResponse() *WithUsernameGetResponse
NewWithUsernameGetResponse instantiates a new WithUsernameGetResponse and sets the default values.
func (*WithUsernameGetResponse) GetFieldDeserializers ¶
func (m *WithUsernameGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *WithUsernameGetResponse) GetPrivateUser() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PrivateUserable
GetPrivateUser gets the privateUser property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PrivateUserable returns a PrivateUserable when successful
func (*WithUsernameGetResponse) GetPublicUser ¶
func (m *WithUsernameGetResponse) GetPublicUser() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PublicUserable
GetPublicUser gets the publicUser property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PublicUserable returns a PublicUserable when successful
func (*WithUsernameGetResponse) Serialize ¶
func (m *WithUsernameGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*WithUsernameGetResponse) SetPrivateUser ¶
func (m *WithUsernameGetResponse) SetPrivateUser(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PrivateUserable)
SetPrivateUser sets the privateUser property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PrivateUserable
func (*WithUsernameGetResponse) SetPublicUser ¶
func (m *WithUsernameGetResponse) SetPublicUser(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PublicUserable)
SetPublicUser sets the publicUser property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PublicUserable
type WithUsernameGetResponseable ¶
type WithUsernameGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetPrivateUser() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PrivateUserable GetPublicUser() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PublicUserable SetPrivateUser(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PrivateUserable) SetPublicUser(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PublicUserable) }
type WithUsernameItemRequestBuilder ¶
type WithUsernameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
WithUsernameItemRequestBuilder builds and executes requests for operations under \users\{username}
func NewWithUsernameItemRequestBuilder ¶
func NewWithUsernameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithUsernameItemRequestBuilder
NewWithUsernameItemRequestBuilder instantiates a new WithUsernameItemRequestBuilder and sets the default values.
func NewWithUsernameItemRequestBuilderInternal ¶
func NewWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithUsernameItemRequestBuilder
NewWithUsernameItemRequestBuilderInternal instantiates a new WithUsernameItemRequestBuilder and sets the default values.
func (*WithUsernameItemRequestBuilder) Docker ¶
func (m *WithUsernameItemRequestBuilder) Docker() *ItemDockerRequestBuilder
Docker the docker property returns a *ItemDockerRequestBuilder when successful
func (*WithUsernameItemRequestBuilder) Events ¶
func (m *WithUsernameItemRequestBuilder) Events() *ItemEventsRequestBuilder
Events the events property returns a *ItemEventsRequestBuilder when successful
func (*WithUsernameItemRequestBuilder) Followers ¶
func (m *WithUsernameItemRequestBuilder) Followers() *ItemFollowersRequestBuilder
Followers the followers property returns a *ItemFollowersRequestBuilder when successful
func (*WithUsernameItemRequestBuilder) Following ¶
func (m *WithUsernameItemRequestBuilder) Following() *ItemFollowingRequestBuilder
Following the following property returns a *ItemFollowingRequestBuilder when successful
func (*WithUsernameItemRequestBuilder) Get ¶
func (m *WithUsernameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (WithUsernameGetResponseable, error)
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 Enterprise Server [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 Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@3.12/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/enterprise-server@3.12/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 ¶
func (m *WithUsernameItemRequestBuilder) Gists() *ItemGistsRequestBuilder
Gists the gists property returns a *ItemGistsRequestBuilder when successful
func (*WithUsernameItemRequestBuilder) Gpg_keys ¶
func (m *WithUsernameItemRequestBuilder) Gpg_keys() *ItemGpg_keysRequestBuilder
Gpg_keys the gpg_keys property returns a *ItemGpg_keysRequestBuilder when successful
func (*WithUsernameItemRequestBuilder) Hovercard ¶
func (m *WithUsernameItemRequestBuilder) Hovercard() *ItemHovercardRequestBuilder
Hovercard the hovercard property returns a *ItemHovercardRequestBuilder when successful
func (*WithUsernameItemRequestBuilder) Installation ¶
func (m *WithUsernameItemRequestBuilder) Installation() *ItemInstallationRequestBuilder
Installation the installation property returns a *ItemInstallationRequestBuilder when successful
func (*WithUsernameItemRequestBuilder) Keys ¶
func (m *WithUsernameItemRequestBuilder) Keys() *ItemKeysRequestBuilder
Keys the keys property returns a *ItemKeysRequestBuilder when successful
func (*WithUsernameItemRequestBuilder) Orgs ¶
func (m *WithUsernameItemRequestBuilder) Orgs() *ItemOrgsRequestBuilder
Orgs the orgs property returns a *ItemOrgsRequestBuilder when successful
func (*WithUsernameItemRequestBuilder) Packages ¶
func (m *WithUsernameItemRequestBuilder) Packages() *ItemPackagesRequestBuilder
Packages the packages property returns a *ItemPackagesRequestBuilder when successful
func (*WithUsernameItemRequestBuilder) Projects ¶
func (m *WithUsernameItemRequestBuilder) Projects() *ItemProjectsRequestBuilder
Projects the projects property returns a *ItemProjectsRequestBuilder when successful
func (*WithUsernameItemRequestBuilder) Received_events ¶
func (m *WithUsernameItemRequestBuilder) Received_events() *ItemReceived_eventsRequestBuilder
Received_events the received_events property returns a *ItemReceived_eventsRequestBuilder when successful
func (*WithUsernameItemRequestBuilder) Repos ¶
func (m *WithUsernameItemRequestBuilder) Repos() *ItemReposRequestBuilder
Repos the repos property returns a *ItemReposRequestBuilder when successful
func (*WithUsernameItemRequestBuilder) Site_admin ¶
func (m *WithUsernameItemRequestBuilder) Site_admin() *ItemSite_adminRequestBuilder
Site_admin the site_admin property returns a *ItemSite_adminRequestBuilder when successful
func (*WithUsernameItemRequestBuilder) Social_accounts ¶
func (m *WithUsernameItemRequestBuilder) Social_accounts() *ItemSocial_accountsRequestBuilder
Social_accounts the social_accounts property returns a *ItemSocial_accountsRequestBuilder when successful
func (*WithUsernameItemRequestBuilder) Ssh_signing_keys ¶
func (m *WithUsernameItemRequestBuilder) Ssh_signing_keys() *ItemSsh_signing_keysRequestBuilder
Ssh_signing_keys the ssh_signing_keys property returns a *ItemSsh_signing_keysRequestBuilder when successful
func (*WithUsernameItemRequestBuilder) Starred ¶
func (m *WithUsernameItemRequestBuilder) Starred() *ItemStarredRequestBuilder
Starred the starred property returns a *ItemStarredRequestBuilder when successful
func (*WithUsernameItemRequestBuilder) Subscriptions ¶
func (m *WithUsernameItemRequestBuilder) Subscriptions() *ItemSubscriptionsRequestBuilder
Subscriptions the subscriptions property returns a *ItemSubscriptionsRequestBuilder when successful
func (*WithUsernameItemRequestBuilder) Suspended ¶
func (m *WithUsernameItemRequestBuilder) Suspended() *ItemSuspendedRequestBuilder
Suspended the suspended property returns a *ItemSuspendedRequestBuilder when successful
func (*WithUsernameItemRequestBuilder) ToGetRequestInformation ¶
func (m *WithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 Enterprise Server [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 Enterprise Server. For more information, see [Authentication](https://docs.github.com/enterprise-server@3.12/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/enterprise-server@3.12/rest/users/emails)". returns a *RequestInformation when successful
func (*WithUsernameItemRequestBuilder) WithUrl ¶
func (m *WithUsernameItemRequestBuilder) WithUrl(rawUrl string) *WithUsernameItemRequestBuilder
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
¶
- item_docker_conflicts_request_builder.go
- item_docker_request_builder.go
- item_events_orgs_request_builder.go
- item_events_orgs_with_org_item_request_builder.go
- item_events_public_request_builder.go
- item_events_request_builder.go
- item_followers_request_builder.go
- item_following_request_builder.go
- item_following_with_target_escaped_user_item_request_builder.go
- item_gists_request_builder.go
- item_gpg_escaped_keys_request_builder.go
- item_hovercard_request_builder.go
- item_installation_request_builder.go
- item_keys_request_builder.go
- item_orgs_request_builder.go
- item_packages_item_item_restore_request_builder.go
- item_packages_item_item_versions_item_restore_request_builder.go
- item_packages_item_item_versions_request_builder.go
- item_packages_item_item_versions_with_package_escaped_version_escaped_item_request_builder.go
- item_packages_item_with_package_escaped_name_item_request_builder.go
- item_packages_request_builder.go
- item_packages_with_package_escaped_type_item_request_builder.go
- item_projects_request_builder.go
- item_received_escaped_events_public_request_builder.go
- item_received_escaped_events_request_builder.go
- item_repos_request_builder.go
- item_site_escaped_admin_request_builder.go
- item_social_escaped_accounts_request_builder.go
- item_ssh_escaped_signing_escaped_keys_request_builder.go
- item_starred_repository.go
- item_starred_request_builder.go
- item_subscriptions_request_builder.go
- item_suspended_delete_request_body.go
- item_suspended_put_request_body.go
- item_suspended_request_builder.go
- users_request_builder.go
- with_username_item_request_builder.go