Documentation
¶
Index ¶
- func CreateItemStarredRepositoryFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateStarredGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateStarredResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateWithUsernameGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateWithUsernameResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type ItemDockerConflictsRequestBuilder
- type ItemDockerConflictsRequestBuilderGetRequestConfiguration
- type ItemDockerRequestBuilder
- type ItemEventsOrgsRequestBuilder
- type ItemEventsOrgsWithOrgItemRequestBuilder
- func (m *ItemEventsOrgsWithOrgItemRequestBuilder) Get(ctx context.Context, ...) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Eventable, ...)
- func (m *ItemEventsOrgsWithOrgItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemEventsOrgsWithOrgItemRequestBuilder) WithUrl(rawUrl string) *ItemEventsOrgsWithOrgItemRequestBuilder
- type ItemEventsOrgsWithOrgItemRequestBuilderGetQueryParameters
- type ItemEventsOrgsWithOrgItemRequestBuilderGetRequestConfiguration
- type ItemEventsPublicRequestBuilder
- func (m *ItemEventsPublicRequestBuilder) Get(ctx context.Context, ...) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Eventable, ...)
- func (m *ItemEventsPublicRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemEventsPublicRequestBuilder) WithUrl(rawUrl string) *ItemEventsPublicRequestBuilder
- type ItemEventsPublicRequestBuilderGetQueryParameters
- type ItemEventsPublicRequestBuilderGetRequestConfiguration
- type ItemEventsRequestBuilder
- func (m *ItemEventsRequestBuilder) Get(ctx context.Context, ...) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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 ItemEventsRequestBuilderGetRequestConfiguration
- type ItemFollowersRequestBuilder
- type ItemFollowersRequestBuilderGetQueryParameters
- type ItemFollowersRequestBuilderGetRequestConfiguration
- 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 ItemFollowingRequestBuilderGetRequestConfiguration
- 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 ItemFollowingWithTarget_userItemRequestBuilderGetRequestConfiguration
- type ItemGistsRequestBuilder
- type ItemGistsRequestBuilderGetQueryParameters
- type ItemGistsRequestBuilderGetRequestConfiguration
- type ItemGpg_keysRequestBuilder
- func (m *ItemGpg_keysRequestBuilder) Get(ctx context.Context, ...) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.GpgKeyable, ...)
- func (m *ItemGpg_keysRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemGpg_keysRequestBuilder) WithUrl(rawUrl string) *ItemGpg_keysRequestBuilder
- type ItemGpg_keysRequestBuilderGetQueryParameters
- type ItemGpg_keysRequestBuilderGetRequestConfiguration
- type ItemHovercardRequestBuilder
- type ItemHovercardRequestBuilderGetQueryParameters
- type ItemHovercardRequestBuilderGetRequestConfiguration
- type ItemInstallationRequestBuilder
- type ItemInstallationRequestBuilderGetRequestConfiguration
- type ItemKeysRequestBuilder
- type ItemKeysRequestBuilderGetQueryParameters
- type ItemKeysRequestBuilderGetRequestConfiguration
- type ItemOrgsRequestBuilder
- type ItemOrgsRequestBuilderGetQueryParameters
- type ItemOrgsRequestBuilderGetRequestConfiguration
- 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 ItemPackagesItemItemRestoreRequestBuilderPostRequestConfiguration
- 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 ItemPackagesItemItemVersionsItemRestoreRequestBuilderPostRequestConfiguration
- type ItemPackagesItemItemVersionsRequestBuilder
- func (m *ItemPackagesItemItemVersionsRequestBuilder) ByPackage_version_id(package_version_id string) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
- func (m *ItemPackagesItemItemVersionsRequestBuilder) ByPackage_version_idInteger(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 ItemPackagesItemItemVersionsRequestBuilderGetRequestConfiguration
- 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 ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderDeleteRequestConfiguration
- type ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderGetRequestConfiguration
- 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 ItemPackagesItemWithPackage_nameItemRequestBuilderDeleteRequestConfiguration
- type ItemPackagesItemWithPackage_nameItemRequestBuilderGetRequestConfiguration
- 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 ItemPackagesRequestBuilderGetRequestConfiguration
- type ItemPackagesWithPackage_typeItemRequestBuilder
- type ItemProjectsRequestBuilder
- type ItemProjectsRequestBuilderGetQueryParameters
- type ItemProjectsRequestBuilderGetRequestConfiguration
- type ItemReceived_eventsPublicRequestBuilder
- func (m *ItemReceived_eventsPublicRequestBuilder) Get(ctx context.Context, ...) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Eventable, ...)
- func (m *ItemReceived_eventsPublicRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemReceived_eventsPublicRequestBuilder) WithUrl(rawUrl string) *ItemReceived_eventsPublicRequestBuilder
- type ItemReceived_eventsPublicRequestBuilderGetQueryParameters
- type ItemReceived_eventsPublicRequestBuilderGetRequestConfiguration
- type ItemReceived_eventsRequestBuilder
- func (m *ItemReceived_eventsRequestBuilder) Get(ctx context.Context, ...) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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 ItemReceived_eventsRequestBuilderGetRequestConfiguration
- type ItemReposRequestBuilder
- type ItemReposRequestBuilderGetQueryParameters
- type ItemReposRequestBuilderGetRequestConfiguration
- type ItemSettingsBillingActionsRequestBuilder
- func (m *ItemSettingsBillingActionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemSettingsBillingActionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemSettingsBillingActionsRequestBuilder) WithUrl(rawUrl string) *ItemSettingsBillingActionsRequestBuilder
- type ItemSettingsBillingActionsRequestBuilderGetRequestConfiguration
- type ItemSettingsBillingPackagesRequestBuilder
- func (m *ItemSettingsBillingPackagesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemSettingsBillingPackagesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemSettingsBillingPackagesRequestBuilder) WithUrl(rawUrl string) *ItemSettingsBillingPackagesRequestBuilder
- type ItemSettingsBillingPackagesRequestBuilderGetRequestConfiguration
- type ItemSettingsBillingRequestBuilder
- func (m *ItemSettingsBillingRequestBuilder) Actions() *ItemSettingsBillingActionsRequestBuilder
- func (m *ItemSettingsBillingRequestBuilder) Packages() *ItemSettingsBillingPackagesRequestBuilder
- func (m *ItemSettingsBillingRequestBuilder) SharedStorage() *ItemSettingsBillingSharedStorageRequestBuilder
- type ItemSettingsBillingSharedStorageRequestBuilder
- func (m *ItemSettingsBillingSharedStorageRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemSettingsBillingSharedStorageRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemSettingsBillingSharedStorageRequestBuilder) WithUrl(rawUrl string) *ItemSettingsBillingSharedStorageRequestBuilder
- type ItemSettingsBillingSharedStorageRequestBuilderGetRequestConfiguration
- type ItemSettingsRequestBuilder
- type ItemSocial_accountsRequestBuilder
- type ItemSocial_accountsRequestBuilderGetQueryParameters
- type ItemSocial_accountsRequestBuilderGetRequestConfiguration
- type ItemSsh_signing_keysRequestBuilder
- type ItemSsh_signing_keysRequestBuilderGetQueryParameters
- type ItemSsh_signing_keysRequestBuilderGetRequestConfiguration
- type ItemStarredRepository
- type ItemStarredRepositoryable
- type ItemStarredRequestBuilder
- func (m *ItemStarredRequestBuilder) Get(ctx context.Context, ...) (StarredResponseable, error)
- func (m *ItemStarredRequestBuilder) GetAsStarredGetResponse(ctx context.Context, ...) (StarredGetResponseable, error)
- func (m *ItemStarredRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemStarredRequestBuilder) WithUrl(rawUrl string) *ItemStarredRequestBuilder
- type ItemStarredRequestBuilderGetQueryParameters
- type ItemStarredRequestBuilderGetRequestConfiguration
- type ItemSubscriptionsRequestBuilder
- type ItemSubscriptionsRequestBuilderGetQueryParameters
- type ItemSubscriptionsRequestBuilderGetRequestConfiguration
- 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 StarredResponse
- func (m *StarredResponse) GetFieldDeserializers() ...
- func (m *StarredResponse) GetIsComposedType() bool
- func (m *StarredResponse) GetItemStarredRepository() []ItemStarredRepositoryable
- func (m *StarredResponse) GetStarredResponseItemStarredRepository() []ItemStarredRepositoryable
- func (m *StarredResponse) Serialize(...) error
- func (m *StarredResponse) SetItemStarredRepository(value []ItemStarredRepositoryable)
- func (m *StarredResponse) SetStarredResponseItemStarredRepository(value []ItemStarredRepositoryable)
- type StarredResponseable
- 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 UsersRequestBuilderGetRequestConfiguration
- 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, ...) (WithUsernameResponseable, error)
- func (m *WithUsernameItemRequestBuilder) GetAsWithUsernameGetResponse(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) Settings() *ItemSettingsRequestBuilder
- 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) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *WithUsernameItemRequestBuilder) WithUrl(rawUrl string) *WithUsernameItemRequestBuilder
- type WithUsernameItemRequestBuilderGetRequestConfiguration
- type WithUsernameResponse
- func (m *WithUsernameResponse) GetFieldDeserializers() ...
- func (m *WithUsernameResponse) GetIsComposedType() bool
- func (m *WithUsernameResponse) GetPrivateUser() ...
- func (m *WithUsernameResponse) GetPublicUser() ...
- func (m *WithUsernameResponse) Serialize(...) error
- func (m *WithUsernameResponse) SetPrivateUser(...)
- func (m *WithUsernameResponse) SetPublicUser(...)
- type WithUsernameResponseable
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
func CreateStarredGetResponseFromDiscriminatorValue ¶
func CreateStarredGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateStarredGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateStarredResponseFromDiscriminatorValue ¶
func CreateStarredResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateStarredResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateWithUsernameGetResponseFromDiscriminatorValue ¶
func CreateWithUsernameGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateWithUsernameGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateWithUsernameResponseFromDiscriminatorValue ¶
func CreateWithUsernameResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateWithUsernameResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
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 ConflictsRequestBuilder and sets the default values.
func NewItemDockerConflictsRequestBuilderInternal ¶
func NewItemDockerConflictsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDockerConflictsRequestBuilder
NewItemDockerConflictsRequestBuilderInternal instantiates a new ConflictsRequestBuilder and sets the default values.
func (*ItemDockerConflictsRequestBuilder) Get ¶
func (m *ItemDockerConflictsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDockerConflictsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. API method documentation
func (*ItemDockerConflictsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemDockerConflictsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDockerConflictsRequestBuilderGetRequestConfiguration) (*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.To use this endpoint, you must authenticate using an access token with the `read:packages` scope.
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.
type ItemDockerConflictsRequestBuilderGetRequestConfiguration ¶
type ItemDockerConflictsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemDockerConflictsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemDockerRequestBuilder ¶
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 DockerRequestBuilder and sets the default values.
func NewItemDockerRequestBuilderInternal ¶
func NewItemDockerRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDockerRequestBuilder
NewItemDockerRequestBuilderInternal instantiates a new DockerRequestBuilder and sets the default values.
func (*ItemDockerRequestBuilder) Conflicts ¶
func (m *ItemDockerRequestBuilder) Conflicts() *ItemDockerConflictsRequestBuilder
Conflicts the conflicts property
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 OrgsRequestBuilder and sets the default values.
func NewItemEventsOrgsRequestBuilderInternal ¶
func NewItemEventsOrgsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEventsOrgsRequestBuilder
NewItemEventsOrgsRequestBuilderInternal instantiates a new OrgsRequestBuilder and sets the default values.
func (*ItemEventsOrgsRequestBuilder) ByOrg ¶
func (m *ItemEventsOrgsRequestBuilder) ByOrg(org string) *ItemEventsOrgsWithOrgItemRequestBuilder
ByOrg gets an item from the github.com/octokit/go-sdk/pkg/github/.users.item.events.orgs.item collection
type ItemEventsOrgsWithOrgItemRequestBuilder ¶
type ItemEventsOrgsWithOrgItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemEventsOrgsWithOrgItemRequestBuilder builds and executes requests for operations under \users\{username}\events\orgs\{org}
func NewItemEventsOrgsWithOrgItemRequestBuilder ¶
func NewItemEventsOrgsWithOrgItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEventsOrgsWithOrgItemRequestBuilder
NewItemEventsOrgsWithOrgItemRequestBuilder instantiates a new WithOrgItemRequestBuilder and sets the default values.
func NewItemEventsOrgsWithOrgItemRequestBuilderInternal ¶
func NewItemEventsOrgsWithOrgItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEventsOrgsWithOrgItemRequestBuilder
NewItemEventsOrgsWithOrgItemRequestBuilderInternal instantiates a new WithOrgItemRequestBuilder and sets the default values.
func (*ItemEventsOrgsWithOrgItemRequestBuilder) Get ¶
func (m *ItemEventsOrgsWithOrgItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsOrgsWithOrgItemRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Eventable, error)
Get this is the user's organization dashboard. You must be authenticated as the user to view this. API method documentation
func (*ItemEventsOrgsWithOrgItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemEventsOrgsWithOrgItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsOrgsWithOrgItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation this is the user's organization dashboard. You must be authenticated as the user to view this.
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.
type ItemEventsOrgsWithOrgItemRequestBuilderGetQueryParameters ¶
type ItemEventsOrgsWithOrgItemRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemEventsOrgsWithOrgItemRequestBuilderGetQueryParameters this is the user's organization dashboard. You must be authenticated as the user to view this.
type ItemEventsOrgsWithOrgItemRequestBuilderGetRequestConfiguration ¶
type ItemEventsOrgsWithOrgItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemEventsOrgsWithOrgItemRequestBuilderGetQueryParameters }
ItemEventsOrgsWithOrgItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemEventsPublicRequestBuilder ¶
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 PublicRequestBuilder and sets the default values.
func NewItemEventsPublicRequestBuilderInternal ¶
func NewItemEventsPublicRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEventsPublicRequestBuilder
NewItemEventsPublicRequestBuilderInternal instantiates a new PublicRequestBuilder and sets the default values.
func (*ItemEventsPublicRequestBuilder) Get ¶
func (m *ItemEventsPublicRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsPublicRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Eventable, error)
Get list public events for a user API method documentation
func (*ItemEventsPublicRequestBuilder) ToGetRequestInformation ¶
func (m *ItemEventsPublicRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsPublicRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.
type ItemEventsPublicRequestBuilderGetQueryParameters ¶
type ItemEventsPublicRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemEventsPublicRequestBuilderGetQueryParameters list public events for a user
type ItemEventsPublicRequestBuilderGetRequestConfiguration ¶
type ItemEventsPublicRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemEventsPublicRequestBuilderGetQueryParameters }
ItemEventsPublicRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemEventsRequestBuilder ¶
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 EventsRequestBuilder and sets the default values.
func NewItemEventsRequestBuilderInternal ¶
func NewItemEventsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEventsRequestBuilder
NewItemEventsRequestBuilderInternal instantiates a new EventsRequestBuilder and sets the default values.
func (*ItemEventsRequestBuilder) Get ¶
func (m *ItemEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Eventable, error)
Get if you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. API method documentation
func (*ItemEventsRequestBuilder) Orgs ¶
func (m *ItemEventsRequestBuilder) Orgs() *ItemEventsOrgsRequestBuilder
Orgs the orgs property
func (*ItemEventsRequestBuilder) Public ¶
func (m *ItemEventsRequestBuilder) Public() *ItemEventsPublicRequestBuilder
Public the public property
func (*ItemEventsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsRequestBuilderGetRequestConfiguration) (*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.
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.
type ItemEventsRequestBuilderGetQueryParameters ¶
type ItemEventsRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemEventsRequestBuilderGetQueryParameters if you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.
type ItemEventsRequestBuilderGetRequestConfiguration ¶
type ItemEventsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemEventsRequestBuilderGetQueryParameters }
ItemEventsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemFollowersRequestBuilder ¶
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 FollowersRequestBuilder and sets the default values.
func NewItemFollowersRequestBuilderInternal ¶
func NewItemFollowersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemFollowersRequestBuilder
NewItemFollowersRequestBuilderInternal instantiates a new FollowersRequestBuilder and sets the default values.
func (*ItemFollowersRequestBuilder) Get ¶
func (m *ItemFollowersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemFollowersRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SimpleUserable, error)
Get lists the people following the specified user. API method documentation
func (*ItemFollowersRequestBuilder) ToGetRequestInformation ¶
func (m *ItemFollowersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemFollowersRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the people following the specified user.
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.
type ItemFollowersRequestBuilderGetQueryParameters ¶
type ItemFollowersRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemFollowersRequestBuilderGetQueryParameters lists the people following the specified user.
type ItemFollowersRequestBuilderGetRequestConfiguration ¶
type ItemFollowersRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemFollowersRequestBuilderGetQueryParameters }
ItemFollowersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemFollowingRequestBuilder ¶
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 FollowingRequestBuilder and sets the default values.
func NewItemFollowingRequestBuilderInternal ¶
func NewItemFollowingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemFollowingRequestBuilder
NewItemFollowingRequestBuilderInternal instantiates a new FollowingRequestBuilder and sets the default values.
func (*ItemFollowingRequestBuilder) ByTarget_user ¶
func (m *ItemFollowingRequestBuilder) ByTarget_user(target_user string) *ItemFollowingWithTarget_userItemRequestBuilder
ByTarget_user gets an item from the github.com/octokit/go-sdk/pkg/github/.users.item.following.item collection
func (*ItemFollowingRequestBuilder) Get ¶
func (m *ItemFollowingRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemFollowingRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SimpleUserable, error)
Get lists the people who the specified user follows. API method documentation
func (*ItemFollowingRequestBuilder) ToGetRequestInformation ¶
func (m *ItemFollowingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemFollowingRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the people who the specified user follows.
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.
type ItemFollowingRequestBuilderGetQueryParameters ¶
type ItemFollowingRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemFollowingRequestBuilderGetQueryParameters lists the people who the specified user follows.
type ItemFollowingRequestBuilderGetRequestConfiguration ¶
type ItemFollowingRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemFollowingRequestBuilderGetQueryParameters }
ItemFollowingRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemFollowingWithTarget_userItemRequestBuilder ¶
type ItemFollowingWithTarget_userItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemFollowingWithTarget_userItemRequestBuilder builds and executes requests for operations under \users\{username}\following\{target_user}
func NewItemFollowingWithTarget_userItemRequestBuilder ¶
func NewItemFollowingWithTarget_userItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemFollowingWithTarget_userItemRequestBuilder
NewItemFollowingWithTarget_userItemRequestBuilder instantiates a new WithTarget_userItemRequestBuilder and sets the default values.
func NewItemFollowingWithTarget_userItemRequestBuilderInternal ¶
func NewItemFollowingWithTarget_userItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemFollowingWithTarget_userItemRequestBuilder
NewItemFollowingWithTarget_userItemRequestBuilderInternal instantiates a new WithTarget_userItemRequestBuilder and sets the default values.
func (*ItemFollowingWithTarget_userItemRequestBuilder) Get ¶
func (m *ItemFollowingWithTarget_userItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemFollowingWithTarget_userItemRequestBuilderGetRequestConfiguration) 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 *ItemFollowingWithTarget_userItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.
type ItemFollowingWithTarget_userItemRequestBuilderGetRequestConfiguration ¶
type ItemFollowingWithTarget_userItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemFollowingWithTarget_userItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemGistsRequestBuilder ¶
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 GistsRequestBuilder and sets the default values.
func NewItemGistsRequestBuilderInternal ¶
func NewItemGistsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemGistsRequestBuilder
NewItemGistsRequestBuilderInternal instantiates a new GistsRequestBuilder and sets the default values.
func (*ItemGistsRequestBuilder) Get ¶
func (m *ItemGistsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGistsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.BaseGistable, error)
Get lists public gists for the specified user: API method documentation
func (*ItemGistsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemGistsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGistsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists public gists for the specified user:
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.
type ItemGistsRequestBuilderGetQueryParameters ¶
type ItemGistsRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` // Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Since *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"since"` }
ItemGistsRequestBuilderGetQueryParameters lists public gists for the specified user:
type ItemGistsRequestBuilderGetRequestConfiguration ¶
type ItemGistsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemGistsRequestBuilderGetQueryParameters }
ItemGistsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemGpg_keysRequestBuilder ¶
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 Gpg_keysRequestBuilder and sets the default values.
func NewItemGpg_keysRequestBuilderInternal ¶
func NewItemGpg_keysRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemGpg_keysRequestBuilder
NewItemGpg_keysRequestBuilderInternal instantiates a new Gpg_keysRequestBuilder and sets the default values.
func (*ItemGpg_keysRequestBuilder) Get ¶
func (m *ItemGpg_keysRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGpg_keysRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.GpgKeyable, error)
Get lists the GPG keys for a user. This information is accessible by anyone. API method documentation
func (*ItemGpg_keysRequestBuilder) ToGetRequestInformation ¶
func (m *ItemGpg_keysRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGpg_keysRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the GPG keys for a user. This information is accessible by anyone.
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.
type ItemGpg_keysRequestBuilderGetQueryParameters ¶
type ItemGpg_keysRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemGpg_keysRequestBuilderGetQueryParameters lists the GPG keys for a user. This information is accessible by anyone.
type ItemGpg_keysRequestBuilderGetRequestConfiguration ¶
type ItemGpg_keysRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemGpg_keysRequestBuilderGetQueryParameters }
ItemGpg_keysRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemHovercardRequestBuilder ¶
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 HovercardRequestBuilder and sets the default values.
func NewItemHovercardRequestBuilderInternal ¶
func NewItemHovercardRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHovercardRequestBuilder
NewItemHovercardRequestBuilderInternal instantiates a new HovercardRequestBuilder and sets the default values.
func (*ItemHovercardRequestBuilder) Get ¶
func (m *ItemHovercardRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemHovercardRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Hovercardable, error)
Get provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:```shell curl -u username:token https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192``` API method documentation
func (*ItemHovercardRequestBuilder) ToGetRequestInformation ¶
func (m *ItemHovercardRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemHovercardRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:```shell curl -u username:token https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192```
func (*ItemHovercardRequestBuilder) WithUrl ¶
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.
type ItemHovercardRequestBuilderGetQueryParameters ¶
type ItemHovercardRequestBuilderGetQueryParameters struct { // Uses the ID for the `subject_type` you specified. **Required** when using `subject_type`. Subject_id *string `uriparametername:"subject_id"` // Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, `pull_request`. **Required** when using `subject_id`. // Deprecated: This property is deprecated, use subject_typeAsGetSubject_typeQueryParameterType instead Subject_type *string `uriparametername:"subject_type"` // Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, `pull_request`. **Required** when using `subject_id`. Subject_typeAsGetSubject_typeQueryParameterType *i86be503ed361dd89062cf612d6874879b1dd1f54504dee2f25e28c35ee69cfa2.GetSubject_typeQueryParameterType `uriparametername:"subject_type"` }
ItemHovercardRequestBuilderGetQueryParameters provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:```shell curl -u username:token https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192```
type ItemHovercardRequestBuilderGetRequestConfiguration ¶
type ItemHovercardRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemHovercardRequestBuilderGetQueryParameters }
ItemHovercardRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemInstallationRequestBuilder ¶
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 InstallationRequestBuilder and sets the default values.
func NewItemInstallationRequestBuilderInternal ¶
func NewItemInstallationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInstallationRequestBuilder
NewItemInstallationRequestBuilderInternal instantiates a new InstallationRequestBuilder and sets the default values.
func (*ItemInstallationRequestBuilder) Get ¶
func (m *ItemInstallationRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInstallationRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Installationable, error)
Get enables an authenticated GitHub App to find the user’s installation information.You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. API method documentation
func (*ItemInstallationRequestBuilder) ToGetRequestInformation ¶
func (m *ItemInstallationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInstallationRequestBuilderGetRequestConfiguration) (*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/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
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.
type ItemInstallationRequestBuilderGetRequestConfiguration ¶
type ItemInstallationRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemInstallationRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemKeysRequestBuilder ¶
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 KeysRequestBuilder and sets the default values.
func NewItemKeysRequestBuilderInternal ¶
func NewItemKeysRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemKeysRequestBuilder
NewItemKeysRequestBuilderInternal instantiates a new KeysRequestBuilder and sets the default values.
func (*ItemKeysRequestBuilder) Get ¶
func (m *ItemKeysRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemKeysRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.KeySimpleable, error)
Get lists the _verified_ public SSH keys for a user. This is accessible by anyone. API method documentation
func (*ItemKeysRequestBuilder) ToGetRequestInformation ¶
func (m *ItemKeysRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemKeysRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the _verified_ public SSH keys for a user. This is accessible by anyone.
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.
type ItemKeysRequestBuilderGetQueryParameters ¶
type ItemKeysRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemKeysRequestBuilderGetQueryParameters lists the _verified_ public SSH keys for a user. This is accessible by anyone.
type ItemKeysRequestBuilderGetRequestConfiguration ¶
type ItemKeysRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemKeysRequestBuilderGetQueryParameters }
ItemKeysRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemOrgsRequestBuilder ¶
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 OrgsRequestBuilder and sets the default values.
func NewItemOrgsRequestBuilderInternal ¶
func NewItemOrgsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrgsRequestBuilder
NewItemOrgsRequestBuilderInternal instantiates a new OrgsRequestBuilder and sets the default values.
func (*ItemOrgsRequestBuilder) Get ¶
func (m *ItemOrgsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOrgsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationSimpleable, error)
Get list [public organization memberships](https://docs.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.This method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/rest/orgs/orgs#list-organizations-for-the-authenticated-user) API instead. API method documentation
func (*ItemOrgsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemOrgsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOrgsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list [public organization memberships](https://docs.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.This method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/rest/orgs/orgs#list-organizations-for-the-authenticated-user) API instead.
func (*ItemOrgsRequestBuilder) WithUrl ¶
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.
type ItemOrgsRequestBuilderGetQueryParameters ¶
type ItemOrgsRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemOrgsRequestBuilderGetQueryParameters list [public organization memberships](https://docs.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.This method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/rest/orgs/orgs#list-organizations-for-the-authenticated-user) API instead.
type ItemOrgsRequestBuilderGetRequestConfiguration ¶
type ItemOrgsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemOrgsRequestBuilderGetQueryParameters }
ItemOrgsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPackagesItemItemRestoreRequestBuilder ¶
type ItemPackagesItemItemRestoreRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemPackagesItemItemRestoreRequestBuilder builds and executes requests for operations under \users\{username}\packages\{package_type}\{package_name}\restore
func NewItemPackagesItemItemRestoreRequestBuilder ¶
func NewItemPackagesItemItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemRestoreRequestBuilder
NewItemPackagesItemItemRestoreRequestBuilder instantiates a new RestoreRequestBuilder and sets the default values.
func NewItemPackagesItemItemRestoreRequestBuilderInternal ¶
func NewItemPackagesItemItemRestoreRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemRestoreRequestBuilder
NewItemPackagesItemItemRestoreRequestBuilderInternal instantiates a new RestoreRequestBuilder and sets the default values.
func (*ItemPackagesItemItemRestoreRequestBuilder) Post ¶
func (m *ItemPackagesItemItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPackagesItemItemRestoreRequestBuilderPostRequestConfiguration) 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.To use this endpoint, you must authenticate using an access token with the `read:packages` and `write:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package you want to restore. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." API method documentation
func (*ItemPackagesItemItemRestoreRequestBuilder) ToPostRequestInformation ¶
func (m *ItemPackagesItemItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemPackagesItemItemRestoreRequestBuilderPostRequestConfiguration) (*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.To use this endpoint, you must authenticate using an access token with the `read:packages` and `write:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package you want to restore. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
func (*ItemPackagesItemItemRestoreRequestBuilder) WithUrl ¶
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.
type ItemPackagesItemItemRestoreRequestBuilderPostQueryParameters ¶
type ItemPackagesItemItemRestoreRequestBuilderPostQueryParameters struct { // package token Token *string `uriparametername:"token"` }
ItemPackagesItemItemRestoreRequestBuilderPostQueryParameters restores an entire package for a user.You can restore a deleted package under the following conditions: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.To use this endpoint, you must authenticate using an access token with the `read:packages` and `write:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package you want to restore. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
type ItemPackagesItemItemRestoreRequestBuilderPostRequestConfiguration ¶
type ItemPackagesItemItemRestoreRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemPackagesItemItemRestoreRequestBuilderPostQueryParameters }
ItemPackagesItemItemRestoreRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPackagesItemItemVersionsItemRestoreRequestBuilder ¶
type ItemPackagesItemItemVersionsItemRestoreRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemPackagesItemItemVersionsItemRestoreRequestBuilder builds and executes requests for operations under \users\{username}\packages\{package_type}\{package_name}\versions\{package_version_id}\restore
func NewItemPackagesItemItemVersionsItemRestoreRequestBuilder ¶
func NewItemPackagesItemItemVersionsItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsItemRestoreRequestBuilder
NewItemPackagesItemItemVersionsItemRestoreRequestBuilder instantiates a new RestoreRequestBuilder and sets the default values.
func NewItemPackagesItemItemVersionsItemRestoreRequestBuilderInternal ¶
func NewItemPackagesItemItemVersionsItemRestoreRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsItemRestoreRequestBuilder
NewItemPackagesItemItemVersionsItemRestoreRequestBuilderInternal instantiates a new RestoreRequestBuilder and sets the default values.
func (*ItemPackagesItemItemVersionsItemRestoreRequestBuilder) Post ¶
func (m *ItemPackagesItemItemVersionsItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPackagesItemItemVersionsItemRestoreRequestBuilderPostRequestConfiguration) 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.To use this endpoint, you must authenticate using an access token with the `read:packages` and `write:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package whose version you want to restore. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." API method documentation
func (*ItemPackagesItemItemVersionsItemRestoreRequestBuilder) ToPostRequestInformation ¶
func (m *ItemPackagesItemItemVersionsItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemPackagesItemItemVersionsItemRestoreRequestBuilderPostRequestConfiguration) (*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.To use this endpoint, you must authenticate using an access token with the `read:packages` and `write:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package whose version you want to restore. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
func (*ItemPackagesItemItemVersionsItemRestoreRequestBuilder) WithUrl ¶
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.
type ItemPackagesItemItemVersionsItemRestoreRequestBuilderPostRequestConfiguration ¶
type ItemPackagesItemItemVersionsItemRestoreRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemPackagesItemItemVersionsItemRestoreRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPackagesItemItemVersionsRequestBuilder ¶
type ItemPackagesItemItemVersionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemPackagesItemItemVersionsRequestBuilder builds and executes requests for operations under \users\{username}\packages\{package_type}\{package_name}\versions
func NewItemPackagesItemItemVersionsRequestBuilder ¶
func NewItemPackagesItemItemVersionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsRequestBuilder
NewItemPackagesItemItemVersionsRequestBuilder instantiates a new VersionsRequestBuilder and sets the default values.
func NewItemPackagesItemItemVersionsRequestBuilderInternal ¶
func NewItemPackagesItemItemVersionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsRequestBuilder
NewItemPackagesItemItemVersionsRequestBuilderInternal instantiates a new VersionsRequestBuilder and sets the default values.
func (*ItemPackagesItemItemVersionsRequestBuilder) ByPackage_version_id ¶
func (m *ItemPackagesItemItemVersionsRequestBuilder) ByPackage_version_id(package_version_id string) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
ByPackage_version_id gets an item from the github.com/octokit/go-sdk/pkg/github/.users.item.packages.item.item.versions.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.
func (*ItemPackagesItemItemVersionsRequestBuilder) ByPackage_version_idInteger ¶
func (m *ItemPackagesItemItemVersionsRequestBuilder) ByPackage_version_idInteger(package_version_id int32) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
ByPackage_version_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.users.item.packages.item.item.versions.item collection
func (*ItemPackagesItemItemVersionsRequestBuilder) Get ¶
func (m *ItemPackagesItemItemVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPackagesItemItemVersionsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PackageVersionable, error)
Get lists package versions for a public package owned by a specified user.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." API method documentation
func (*ItemPackagesItemItemVersionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPackagesItemItemVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPackagesItemItemVersionsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists package versions for a public package owned by a specified user.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."
func (*ItemPackagesItemItemVersionsRequestBuilder) WithUrl ¶
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.
type ItemPackagesItemItemVersionsRequestBuilderGetRequestConfiguration ¶
type ItemPackagesItemItemVersionsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemPackagesItemItemVersionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder ¶
type ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder builds and executes requests for operations under \users\{username}\packages\{package_type}\{package_name}\versions\{package_version_id}
func NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder ¶
func NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder instantiates a new WithPackage_version_ItemRequestBuilder and sets the default values.
func NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderInternal ¶
func NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderInternal instantiates a new WithPackage_version_ItemRequestBuilder and sets the default values.
func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Delete ¶
func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderDeleteRequestConfiguration) 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.To use this endpoint, you must authenticate using an access token with the `read:packages` and `delete:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package whose version you want to delete. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." API method documentation
func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Get ¶
func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PackageVersionable, error)
Get gets a specific package version for a public package owned by a specified user.At this time, to use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." API method documentation
func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Restore ¶
func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Restore() *ItemPackagesItemItemVersionsItemRestoreRequestBuilder
Restore the restore property
func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderDeleteRequestConfiguration) (*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.To use this endpoint, you must authenticate using an access token with the `read:packages` and `delete:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package whose version you want to delete. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a specific package version for a public package owned by a specified user.At this time, to use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."
func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) WithUrl ¶
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.
type ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderDeleteRequestConfiguration ¶
type ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderGetRequestConfiguration ¶
type ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPackagesItemWithPackage_nameItemRequestBuilder ¶
type ItemPackagesItemWithPackage_nameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemPackagesItemWithPackage_nameItemRequestBuilder builds and executes requests for operations under \users\{username}\packages\{package_type}\{package_name}
func NewItemPackagesItemWithPackage_nameItemRequestBuilder ¶
func NewItemPackagesItemWithPackage_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemWithPackage_nameItemRequestBuilder
NewItemPackagesItemWithPackage_nameItemRequestBuilder instantiates a new WithPackage_nameItemRequestBuilder and sets the default values.
func NewItemPackagesItemWithPackage_nameItemRequestBuilderInternal ¶
func NewItemPackagesItemWithPackage_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemWithPackage_nameItemRequestBuilder
NewItemPackagesItemWithPackage_nameItemRequestBuilderInternal instantiates a new WithPackage_nameItemRequestBuilder and sets the default values.
func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Delete ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemPackagesItemWithPackage_nameItemRequestBuilderDeleteRequestConfiguration) 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.To use this endpoint, you must authenticate using an access token with the `read:packages` and `delete:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package you want to delete. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." API method documentation
func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Get ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPackagesItemWithPackage_nameItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PackageEscapedable, error)
Get gets a specific package metadata for a public package owned by a user.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." API method documentation
func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Restore ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) Restore() *ItemPackagesItemItemRestoreRequestBuilder
Restore the restore property
func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemPackagesItemWithPackage_nameItemRequestBuilderDeleteRequestConfiguration) (*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.To use this endpoint, you must authenticate using an access token with the `read:packages` and `delete:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package you want to delete. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPackagesItemWithPackage_nameItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a specific package metadata for a public package owned by a user.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."
func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Versions ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) Versions() *ItemPackagesItemItemVersionsRequestBuilder
Versions the versions property
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.
type ItemPackagesItemWithPackage_nameItemRequestBuilderDeleteRequestConfiguration ¶
type ItemPackagesItemWithPackage_nameItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemPackagesItemWithPackage_nameItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPackagesItemWithPackage_nameItemRequestBuilderGetRequestConfiguration ¶
type ItemPackagesItemWithPackage_nameItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemPackagesItemWithPackage_nameItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPackagesRequestBuilder ¶
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 PackagesRequestBuilder and sets the default values.
func NewItemPackagesRequestBuilderInternal ¶
func NewItemPackagesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesRequestBuilder
NewItemPackagesRequestBuilderInternal instantiates a new PackagesRequestBuilder and sets the default values.
func (*ItemPackagesRequestBuilder) ByPackage_type ¶
func (m *ItemPackagesRequestBuilder) ByPackage_type(package_type string) *ItemPackagesWithPackage_typeItemRequestBuilder
ByPackage_type gets an item from the github.com/octokit/go-sdk/pkg/github/.users.item.packages.item collection
func (*ItemPackagesRequestBuilder) Get ¶
func (m *ItemPackagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPackagesRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PackageEscapedable, error)
Get lists all packages in a user's namespace for which the requesting user has access.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." API method documentation
func (*ItemPackagesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPackagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPackagesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all packages in a user's namespace for which the requesting user has access.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."
func (*ItemPackagesRequestBuilder) WithUrl ¶
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.
type ItemPackagesRequestBuilderGetQueryParameters ¶
type ItemPackagesRequestBuilderGetQueryParameters struct { // The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. // Deprecated: This property is deprecated, use package_typeAsGetPackage_typeQueryParameterType instead Package_type *string `uriparametername:"package_type"` // The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. Package_typeAsGetPackage_typeQueryParameterType *i0db6aa605b66c3e026e578c21909de97874d74c479b878696174db88d81a5b36.GetPackage_typeQueryParameterType `uriparametername:"package_type"` // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` // The selected visibility of the packages. This parameter is optional and only filters an existing result set.The `internal` visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems `internal` is synonymous with `private`.For the list of GitHub Packages registries that support granular permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." // Deprecated: This property is deprecated, use visibilityAsGetVisibilityQueryParameterType instead Visibility *string `uriparametername:"visibility"` // The selected visibility of the packages. This parameter is optional and only filters an existing result set.The `internal` visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems `internal` is synonymous with `private`.For the list of GitHub Packages registries that support granular permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." VisibilityAsGetVisibilityQueryParameterType *i0db6aa605b66c3e026e578c21909de97874d74c479b878696174db88d81a5b36.GetVisibilityQueryParameterType `uriparametername:"visibility"` }
ItemPackagesRequestBuilderGetQueryParameters lists all packages in a user's namespace for which the requesting user has access.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."
type ItemPackagesRequestBuilderGetRequestConfiguration ¶
type ItemPackagesRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemPackagesRequestBuilderGetQueryParameters }
ItemPackagesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPackagesWithPackage_typeItemRequestBuilder ¶
type ItemPackagesWithPackage_typeItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemPackagesWithPackage_typeItemRequestBuilder builds and executes requests for operations under \users\{username}\packages\{package_type}
func NewItemPackagesWithPackage_typeItemRequestBuilder ¶
func NewItemPackagesWithPackage_typeItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesWithPackage_typeItemRequestBuilder
NewItemPackagesWithPackage_typeItemRequestBuilder instantiates a new WithPackage_typeItemRequestBuilder and sets the default values.
func NewItemPackagesWithPackage_typeItemRequestBuilderInternal ¶
func NewItemPackagesWithPackage_typeItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesWithPackage_typeItemRequestBuilder
NewItemPackagesWithPackage_typeItemRequestBuilderInternal instantiates a new WithPackage_typeItemRequestBuilder and sets the default values.
func (*ItemPackagesWithPackage_typeItemRequestBuilder) ByPackage_name ¶
func (m *ItemPackagesWithPackage_typeItemRequestBuilder) ByPackage_name(package_name string) *ItemPackagesItemWithPackage_nameItemRequestBuilder
ByPackage_name gets an item from the github.com/octokit/go-sdk/pkg/github/.users.item.packages.item.item collection
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 ProjectsRequestBuilder and sets the default values.
func NewItemProjectsRequestBuilderInternal ¶
func NewItemProjectsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemProjectsRequestBuilder
NewItemProjectsRequestBuilderInternal instantiates a new ProjectsRequestBuilder and sets the default values.
func (*ItemProjectsRequestBuilder) Get ¶
func (m *ItemProjectsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProjectsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Projectable, error)
Get lists projects for a user. API method documentation
func (*ItemProjectsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemProjectsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProjectsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists projects for a user.
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.
type ItemProjectsRequestBuilderGetQueryParameters ¶
type ItemProjectsRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` // Indicates the state of the projects to return. // Deprecated: This property is deprecated, use stateAsGetStateQueryParameterType instead State *string `uriparametername:"state"` // Indicates the state of the projects to return. StateAsGetStateQueryParameterType *icca4326a4d3967039c59fe33a86af8ae6f2286dcd8769ed1c103306e802c277c.GetStateQueryParameterType `uriparametername:"state"` }
ItemProjectsRequestBuilderGetQueryParameters lists projects for a user.
type ItemProjectsRequestBuilderGetRequestConfiguration ¶
type ItemProjectsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemProjectsRequestBuilderGetQueryParameters }
ItemProjectsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemReceived_eventsPublicRequestBuilder ¶
type ItemReceived_eventsPublicRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemReceived_eventsPublicRequestBuilder builds and executes requests for operations under \users\{username}\received_events\public
func NewItemReceived_eventsPublicRequestBuilder ¶
func NewItemReceived_eventsPublicRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemReceived_eventsPublicRequestBuilder
NewItemReceived_eventsPublicRequestBuilder instantiates a new PublicRequestBuilder and sets the default values.
func NewItemReceived_eventsPublicRequestBuilderInternal ¶
func NewItemReceived_eventsPublicRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemReceived_eventsPublicRequestBuilder
NewItemReceived_eventsPublicRequestBuilderInternal instantiates a new PublicRequestBuilder and sets the default values.
func (*ItemReceived_eventsPublicRequestBuilder) Get ¶
func (m *ItemReceived_eventsPublicRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemReceived_eventsPublicRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Eventable, error)
Get list public events received by a user API method documentation
func (*ItemReceived_eventsPublicRequestBuilder) ToGetRequestInformation ¶
func (m *ItemReceived_eventsPublicRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemReceived_eventsPublicRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.
type ItemReceived_eventsPublicRequestBuilderGetQueryParameters ¶
type ItemReceived_eventsPublicRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemReceived_eventsPublicRequestBuilderGetQueryParameters list public events received by a user
type ItemReceived_eventsPublicRequestBuilderGetRequestConfiguration ¶
type ItemReceived_eventsPublicRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemReceived_eventsPublicRequestBuilderGetQueryParameters }
ItemReceived_eventsPublicRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemReceived_eventsRequestBuilder ¶
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 Received_eventsRequestBuilder and sets the default values.
func NewItemReceived_eventsRequestBuilderInternal ¶
func NewItemReceived_eventsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemReceived_eventsRequestBuilder
NewItemReceived_eventsRequestBuilderInternal instantiates a new Received_eventsRequestBuilder and sets the default values.
func (*ItemReceived_eventsRequestBuilder) Get ¶
func (m *ItemReceived_eventsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemReceived_eventsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Eventable, error)
Get these are events that you've received by watching repositories and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events. API method documentation
func (*ItemReceived_eventsRequestBuilder) Public ¶
func (m *ItemReceived_eventsRequestBuilder) Public() *ItemReceived_eventsPublicRequestBuilder
Public the public property
func (*ItemReceived_eventsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemReceived_eventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemReceived_eventsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation these are events that you've received by watching repositories and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.
func (*ItemReceived_eventsRequestBuilder) WithUrl ¶
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.
type ItemReceived_eventsRequestBuilderGetQueryParameters ¶
type ItemReceived_eventsRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemReceived_eventsRequestBuilderGetQueryParameters these are events that you've received by watching repositories and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.
type ItemReceived_eventsRequestBuilderGetRequestConfiguration ¶
type ItemReceived_eventsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemReceived_eventsRequestBuilderGetQueryParameters }
ItemReceived_eventsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemReposRequestBuilder ¶
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 ReposRequestBuilder and sets the default values.
func NewItemReposRequestBuilderInternal ¶
func NewItemReposRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemReposRequestBuilder
NewItemReposRequestBuilderInternal instantiates a new ReposRequestBuilder and sets the default values.
func (*ItemReposRequestBuilder) Get ¶
func (m *ItemReposRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemReposRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable, error)
Get lists public repositories for the specified user. API method documentation
func (*ItemReposRequestBuilder) ToGetRequestInformation ¶
func (m *ItemReposRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemReposRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists public repositories for the specified user.
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.
type ItemReposRequestBuilderGetQueryParameters ¶
type ItemReposRequestBuilderGetQueryParameters struct { // The order to sort by. Default: `asc` when using `full_name`, otherwise `desc`. // Deprecated: This property is deprecated, use directionAsGetDirectionQueryParameterType instead Direction *string `uriparametername:"direction"` // The order to sort by. Default: `asc` when using `full_name`, otherwise `desc`. DirectionAsGetDirectionQueryParameterType *i487dd991a050255d595716157a2da48d14b5f796b611f60abee72f569fd2147b.GetDirectionQueryParameterType `uriparametername:"direction"` // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` // The property to sort the results by. // Deprecated: This property is deprecated, use sortAsGetSortQueryParameterType instead Sort *string `uriparametername:"sort"` // The property to sort the results by. SortAsGetSortQueryParameterType *i487dd991a050255d595716157a2da48d14b5f796b611f60abee72f569fd2147b.GetSortQueryParameterType `uriparametername:"sort"` // Limit results to repositories of the specified type. // Deprecated: This property is deprecated, use typeAsGetTypeQueryParameterType instead Type *string `uriparametername:"type"` // Limit results to repositories of the specified type. TypeAsGetTypeQueryParameterType *i487dd991a050255d595716157a2da48d14b5f796b611f60abee72f569fd2147b.GetTypeQueryParameterType `uriparametername:"type"` }
ItemReposRequestBuilderGetQueryParameters lists public repositories for the specified user.
type ItemReposRequestBuilderGetRequestConfiguration ¶
type ItemReposRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemReposRequestBuilderGetQueryParameters }
ItemReposRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemSettingsBillingActionsRequestBuilder ¶
type ItemSettingsBillingActionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemSettingsBillingActionsRequestBuilder builds and executes requests for operations under \users\{username}\settings\billing\actions
func NewItemSettingsBillingActionsRequestBuilder ¶
func NewItemSettingsBillingActionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingActionsRequestBuilder
NewItemSettingsBillingActionsRequestBuilder instantiates a new ActionsRequestBuilder and sets the default values.
func NewItemSettingsBillingActionsRequestBuilderInternal ¶
func NewItemSettingsBillingActionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingActionsRequestBuilder
NewItemSettingsBillingActionsRequestBuilderInternal instantiates a new ActionsRequestBuilder and sets the default values.
func (*ItemSettingsBillingActionsRequestBuilder) Get ¶
func (m *ItemSettingsBillingActionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsBillingActionsRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ActionsBillingUsageable, error)
Get gets the summary of the free and paid GitHub Actions minutes used.Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".Access tokens must have the `user` scope. API method documentation
func (*ItemSettingsBillingActionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemSettingsBillingActionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsBillingActionsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the summary of the free and paid GitHub Actions minutes used.Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".Access tokens must have the `user` scope.
func (*ItemSettingsBillingActionsRequestBuilder) WithUrl ¶
func (m *ItemSettingsBillingActionsRequestBuilder) WithUrl(rawUrl string) *ItemSettingsBillingActionsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemSettingsBillingActionsRequestBuilderGetRequestConfiguration ¶
type ItemSettingsBillingActionsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemSettingsBillingActionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemSettingsBillingPackagesRequestBuilder ¶
type ItemSettingsBillingPackagesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemSettingsBillingPackagesRequestBuilder builds and executes requests for operations under \users\{username}\settings\billing\packages
func NewItemSettingsBillingPackagesRequestBuilder ¶
func NewItemSettingsBillingPackagesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingPackagesRequestBuilder
NewItemSettingsBillingPackagesRequestBuilder instantiates a new PackagesRequestBuilder and sets the default values.
func NewItemSettingsBillingPackagesRequestBuilderInternal ¶
func NewItemSettingsBillingPackagesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingPackagesRequestBuilder
NewItemSettingsBillingPackagesRequestBuilderInternal instantiates a new PackagesRequestBuilder and sets the default values.
func (*ItemSettingsBillingPackagesRequestBuilder) Get ¶
func (m *ItemSettingsBillingPackagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsBillingPackagesRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PackagesBillingUsageable, error)
Get gets the free and paid storage used for GitHub Packages in gigabytes.Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."Access tokens must have the `user` scope. API method documentation
func (*ItemSettingsBillingPackagesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemSettingsBillingPackagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsBillingPackagesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the free and paid storage used for GitHub Packages in gigabytes.Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."Access tokens must have the `user` scope.
func (*ItemSettingsBillingPackagesRequestBuilder) WithUrl ¶
func (m *ItemSettingsBillingPackagesRequestBuilder) WithUrl(rawUrl string) *ItemSettingsBillingPackagesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemSettingsBillingPackagesRequestBuilderGetRequestConfiguration ¶
type ItemSettingsBillingPackagesRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemSettingsBillingPackagesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemSettingsBillingRequestBuilder ¶
type ItemSettingsBillingRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemSettingsBillingRequestBuilder builds and executes requests for operations under \users\{username}\settings\billing
func NewItemSettingsBillingRequestBuilder ¶
func NewItemSettingsBillingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingRequestBuilder
NewItemSettingsBillingRequestBuilder instantiates a new BillingRequestBuilder and sets the default values.
func NewItemSettingsBillingRequestBuilderInternal ¶
func NewItemSettingsBillingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingRequestBuilder
NewItemSettingsBillingRequestBuilderInternal instantiates a new BillingRequestBuilder and sets the default values.
func (*ItemSettingsBillingRequestBuilder) Actions ¶
func (m *ItemSettingsBillingRequestBuilder) Actions() *ItemSettingsBillingActionsRequestBuilder
Actions the actions property
func (*ItemSettingsBillingRequestBuilder) Packages ¶
func (m *ItemSettingsBillingRequestBuilder) Packages() *ItemSettingsBillingPackagesRequestBuilder
Packages the packages property
func (*ItemSettingsBillingRequestBuilder) SharedStorage ¶
func (m *ItemSettingsBillingRequestBuilder) SharedStorage() *ItemSettingsBillingSharedStorageRequestBuilder
SharedStorage the sharedStorage property
type ItemSettingsBillingSharedStorageRequestBuilder ¶
type ItemSettingsBillingSharedStorageRequestBuilder struct {
}ItemSettingsBillingSharedStorageRequestBuilder builds and executes requests for operations under \users\{username}\settings\billing\shared-storage
func NewItemSettingsBillingSharedStorageRequestBuilder ¶
func NewItemSettingsBillingSharedStorageRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingSharedStorageRequestBuilder
NewItemSettingsBillingSharedStorageRequestBuilder instantiates a new SharedStorageRequestBuilder and sets the default values.
func NewItemSettingsBillingSharedStorageRequestBuilderInternal ¶
func NewItemSettingsBillingSharedStorageRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingSharedStorageRequestBuilder
NewItemSettingsBillingSharedStorageRequestBuilderInternal instantiates a new SharedStorageRequestBuilder and sets the default values.
func (*ItemSettingsBillingSharedStorageRequestBuilder) Get ¶
func (m *ItemSettingsBillingSharedStorageRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsBillingSharedStorageRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CombinedBillingUsageable, error)
Get gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."Access tokens must have the `user` scope. API method documentation
func (*ItemSettingsBillingSharedStorageRequestBuilder) ToGetRequestInformation ¶
func (m *ItemSettingsBillingSharedStorageRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsBillingSharedStorageRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."Access tokens must have the `user` scope.
func (*ItemSettingsBillingSharedStorageRequestBuilder) WithUrl ¶
func (m *ItemSettingsBillingSharedStorageRequestBuilder) WithUrl(rawUrl string) *ItemSettingsBillingSharedStorageRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemSettingsBillingSharedStorageRequestBuilderGetRequestConfiguration ¶
type ItemSettingsBillingSharedStorageRequestBuilderGetRequestConfiguration struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }Headers *
ItemSettingsBillingSharedStorageRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemSettingsRequestBuilder ¶
type ItemSettingsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemSettingsRequestBuilder builds and executes requests for operations under \users\{username}\settings
func NewItemSettingsRequestBuilder ¶
func NewItemSettingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsRequestBuilder
NewItemSettingsRequestBuilder instantiates a new SettingsRequestBuilder and sets the default values.
func NewItemSettingsRequestBuilderInternal ¶
func NewItemSettingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsRequestBuilder
NewItemSettingsRequestBuilderInternal instantiates a new SettingsRequestBuilder and sets the default values.
func (*ItemSettingsRequestBuilder) Billing ¶
func (m *ItemSettingsRequestBuilder) Billing() *ItemSettingsBillingRequestBuilder
Billing the billing property
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 Social_accountsRequestBuilder and sets the default values.
func NewItemSocial_accountsRequestBuilderInternal ¶
func NewItemSocial_accountsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSocial_accountsRequestBuilder
NewItemSocial_accountsRequestBuilderInternal instantiates a new Social_accountsRequestBuilder and sets the default values.
func (*ItemSocial_accountsRequestBuilder) Get ¶
func (m *ItemSocial_accountsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSocial_accountsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SocialAccountable, error)
Get lists social media accounts for a user. This endpoint is accessible by anyone. API method documentation
func (*ItemSocial_accountsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemSocial_accountsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSocial_accountsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists social media accounts for a user. This endpoint is accessible by anyone.
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.
type ItemSocial_accountsRequestBuilderGetQueryParameters ¶
type ItemSocial_accountsRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemSocial_accountsRequestBuilderGetQueryParameters lists social media accounts for a user. This endpoint is accessible by anyone.
type ItemSocial_accountsRequestBuilderGetRequestConfiguration ¶
type ItemSocial_accountsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemSocial_accountsRequestBuilderGetQueryParameters }
ItemSocial_accountsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemSsh_signing_keysRequestBuilder ¶
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 Ssh_signing_keysRequestBuilder and sets the default values.
func NewItemSsh_signing_keysRequestBuilderInternal ¶
func NewItemSsh_signing_keysRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSsh_signing_keysRequestBuilder
NewItemSsh_signing_keysRequestBuilderInternal instantiates a new Ssh_signing_keysRequestBuilder and sets the default values.
func (*ItemSsh_signing_keysRequestBuilder) Get ¶
func (m *ItemSsh_signing_keysRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSsh_signing_keysRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SshSigningKeyable, error)
Get lists the SSH signing keys for a user. This operation is accessible by anyone. API method documentation
func (*ItemSsh_signing_keysRequestBuilder) ToGetRequestInformation ¶
func (m *ItemSsh_signing_keysRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSsh_signing_keysRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the SSH signing keys for a user. This operation is accessible by anyone.
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.
type ItemSsh_signing_keysRequestBuilderGetQueryParameters ¶
type ItemSsh_signing_keysRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemSsh_signing_keysRequestBuilderGetQueryParameters lists the SSH signing keys for a user. This operation is accessible by anyone.
type ItemSsh_signing_keysRequestBuilderGetRequestConfiguration ¶
type ItemSsh_signing_keysRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemSsh_signing_keysRequestBuilderGetQueryParameters }
ItemSsh_signing_keysRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemStarredRepository ¶
type ItemStarredRepository struct {
// contains filtered or unexported fields
}
ItemStarredRepository
func NewItemStarredRepository ¶
func NewItemStarredRepository() *ItemStarredRepository
NewItemStarredRepository instantiates a new ItemStarredRepository and sets the default values.
func (*ItemStarredRepository) GetAdditionalData ¶
func (m *ItemStarredRepository) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemStarredRepository) GetFieldDeserializers ¶
func (m *ItemStarredRepository) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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 }
ItemStarredRepositoryable
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 StarredRequestBuilder and sets the default values.
func NewItemStarredRequestBuilderInternal ¶
func NewItemStarredRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemStarredRequestBuilder
NewItemStarredRequestBuilderInternal instantiates a new StarredRequestBuilder and sets the default values.
func (*ItemStarredRequestBuilder) Get ¶
func (m *ItemStarredRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemStarredRequestBuilderGetRequestConfiguration) (StarredResponseable, error)
Get lists repositories a user has starred.You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`. Deprecated: This method is obsolete. Use GetAsStarredGetResponse instead. API method documentation
func (*ItemStarredRequestBuilder) GetAsStarredGetResponse ¶
func (m *ItemStarredRequestBuilder) GetAsStarredGetResponse(ctx context.Context, requestConfiguration *ItemStarredRequestBuilderGetRequestConfiguration) (StarredGetResponseable, error)
GetAsStarredGetResponse lists repositories a user has starred.You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`. API method documentation
func (*ItemStarredRequestBuilder) ToGetRequestInformation ¶
func (m *ItemStarredRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemStarredRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists repositories a user has starred.You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.
func (*ItemStarredRequestBuilder) WithUrl ¶
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.
type ItemStarredRequestBuilderGetQueryParameters ¶
type ItemStarredRequestBuilderGetQueryParameters struct { // The direction to sort the results by. // Deprecated: This property is deprecated, use directionAsGetDirectionQueryParameterType instead Direction *string `uriparametername:"direction"` // The direction to sort the results by. DirectionAsGetDirectionQueryParameterType *i79bee196f908e2ec3c0a95608a335c04823e48e52984cbf48aa57b354fe8088c.GetDirectionQueryParameterType `uriparametername:"direction"` // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` // The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed to. // Deprecated: This property is deprecated, use sortAsGetSortQueryParameterType instead Sort *string `uriparametername:"sort"` // The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed to. SortAsGetSortQueryParameterType *i79bee196f908e2ec3c0a95608a335c04823e48e52984cbf48aa57b354fe8088c.GetSortQueryParameterType `uriparametername:"sort"` }
ItemStarredRequestBuilderGetQueryParameters lists repositories a user has starred.You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.
type ItemStarredRequestBuilderGetRequestConfiguration ¶
type ItemStarredRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemStarredRequestBuilderGetQueryParameters }
ItemStarredRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemSubscriptionsRequestBuilder ¶
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 SubscriptionsRequestBuilder and sets the default values.
func NewItemSubscriptionsRequestBuilderInternal ¶
func NewItemSubscriptionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSubscriptionsRequestBuilder
NewItemSubscriptionsRequestBuilderInternal instantiates a new SubscriptionsRequestBuilder and sets the default values.
func (*ItemSubscriptionsRequestBuilder) Get ¶
func (m *ItemSubscriptionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSubscriptionsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable, error)
Get lists repositories a user is watching. API method documentation
func (*ItemSubscriptionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemSubscriptionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSubscriptionsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists repositories a user is watching.
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.
type ItemSubscriptionsRequestBuilderGetQueryParameters ¶
type ItemSubscriptionsRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemSubscriptionsRequestBuilderGetQueryParameters lists repositories a user is watching.
type ItemSubscriptionsRequestBuilderGetRequestConfiguration ¶
type ItemSubscriptionsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemSubscriptionsRequestBuilderGetQueryParameters }
ItemSubscriptionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type StarredGetResponse ¶
type StarredGetResponse struct {
// contains filtered or unexported fields
}
StarredGetResponse composed type wrapper for classes ItemStarredRepository, ItemStarredRepository
func NewStarredGetResponse ¶
func NewStarredGetResponse() *StarredGetResponse
NewStarredGetResponse instantiates a new starredGetResponse and sets the default values.
func (*StarredGetResponse) GetFieldDeserializers ¶
func (m *StarredGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*StarredGetResponse) GetIsComposedType ¶
func (m *StarredGetResponse) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type
func (*StarredGetResponse) GetItemStarredRepository ¶
func (m *StarredGetResponse) GetItemStarredRepository() []ItemStarredRepositoryable
GetItemStarredRepository gets the ItemStarredRepository property value. Composed type representation for type ItemStarredRepository
func (*StarredGetResponse) GetStarredGetResponseItemStarredRepository ¶
func (m *StarredGetResponse) GetStarredGetResponseItemStarredRepository() []ItemStarredRepositoryable
GetStarredGetResponseItemStarredRepository gets the ItemStarredRepository property value. Composed type representation for type ItemStarredRepository
func (*StarredGetResponse) Serialize ¶
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 ItemStarredRepository
func (*StarredGetResponse) SetStarredGetResponseItemStarredRepository ¶
func (m *StarredGetResponse) SetStarredGetResponseItemStarredRepository(value []ItemStarredRepositoryable)
SetStarredGetResponseItemStarredRepository sets the ItemStarredRepository property value. Composed type representation for type ItemStarredRepository
type StarredGetResponseable ¶
type StarredGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetItemStarredRepository() []ItemStarredRepositoryable GetStarredGetResponseItemStarredRepository() []ItemStarredRepositoryable SetItemStarredRepository(value []ItemStarredRepositoryable) SetStarredGetResponseItemStarredRepository(value []ItemStarredRepositoryable) }
StarredGetResponseable
type StarredResponse ¶
type StarredResponse struct {
// contains filtered or unexported fields
}
StarredResponse composed type wrapper for classes ItemStarredRepository, ItemStarredRepository
func NewStarredResponse ¶
func NewStarredResponse() *StarredResponse
NewStarredResponse instantiates a new starredResponse and sets the default values.
func (*StarredResponse) GetFieldDeserializers ¶
func (m *StarredResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*StarredResponse) GetIsComposedType ¶
func (m *StarredResponse) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type
func (*StarredResponse) GetItemStarredRepository ¶
func (m *StarredResponse) GetItemStarredRepository() []ItemStarredRepositoryable
GetItemStarredRepository gets the ItemStarredRepository property value. Composed type representation for type ItemStarredRepository
func (*StarredResponse) GetStarredResponseItemStarredRepository ¶
func (m *StarredResponse) GetStarredResponseItemStarredRepository() []ItemStarredRepositoryable
GetStarredResponseItemStarredRepository gets the ItemStarredRepository property value. Composed type representation for type ItemStarredRepository
func (*StarredResponse) Serialize ¶
func (m *StarredResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*StarredResponse) SetItemStarredRepository ¶
func (m *StarredResponse) SetItemStarredRepository(value []ItemStarredRepositoryable)
SetItemStarredRepository sets the ItemStarredRepository property value. Composed type representation for type ItemStarredRepository
func (*StarredResponse) SetStarredResponseItemStarredRepository ¶
func (m *StarredResponse) SetStarredResponseItemStarredRepository(value []ItemStarredRepositoryable)
SetStarredResponseItemStarredRepository sets the ItemStarredRepository property value. Composed type representation for type ItemStarredRepository
type StarredResponseable ¶
type StarredResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetItemStarredRepository() []ItemStarredRepositoryable GetStarredResponseItemStarredRepository() []ItemStarredRepositoryable SetItemStarredRepository(value []ItemStarredRepositoryable) SetStarredResponseItemStarredRepository(value []ItemStarredRepositoryable) }
StarredResponseable
type UsersRequestBuilder ¶
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/pkg/github/.users.item collection
func (*UsersRequestBuilder) Get ¶
func (m *UsersRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SimpleUserable, error)
Get lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts.Note: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of users. API method documentation
func (*UsersRequestBuilder) ToGetRequestInformation ¶
func (m *UsersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts.Note: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of users.
func (*UsersRequestBuilder) WithUrl ¶
func (m *UsersRequestBuilder) WithUrl(rawUrl string) *UsersRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type UsersRequestBuilderGetQueryParameters ¶
type UsersRequestBuilderGetQueryParameters struct { // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` // A user ID. Only return users with an ID greater than this ID. Since *int32 `uriparametername:"since"` }
UsersRequestBuilderGetQueryParameters lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts.Note: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of users.
type UsersRequestBuilderGetRequestConfiguration ¶
type UsersRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *UsersRequestBuilderGetQueryParameters }
UsersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type WithUsernameGetResponse ¶
type WithUsernameGetResponse struct {
// contains filtered or unexported fields
}
WithUsernameGetResponse composed type wrapper for classes privateUser, publicUser
func NewWithUsernameGetResponse ¶
func NewWithUsernameGetResponse() *WithUsernameGetResponse
NewWithUsernameGetResponse instantiates a new WithUsernameGetResponse and sets the default values.
func (*WithUsernameGetResponse) GetFieldDeserializers ¶
func (m *WithUsernameGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*WithUsernameGetResponse) GetIsComposedType ¶
func (m *WithUsernameGetResponse) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type
func (*WithUsernameGetResponse) GetPrivateUser ¶
func (m *WithUsernameGetResponse) GetPrivateUser() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable
GetPrivateUser gets the privateUser property value. Composed type representation for type privateUser
func (*WithUsernameGetResponse) GetPublicUser ¶
func (m *WithUsernameGetResponse) GetPublicUser() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable
GetPublicUser gets the publicUser property value. Composed type representation for type publicUser
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 i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable)
SetPrivateUser sets the privateUser property value. Composed type representation for type privateUser
func (*WithUsernameGetResponse) SetPublicUser ¶
func (m *WithUsernameGetResponse) SetPublicUser(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable)
SetPublicUser sets the publicUser property value. Composed type representation for type publicUser
type WithUsernameGetResponseable ¶
type WithUsernameGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetPrivateUser() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable GetPublicUser() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable SetPrivateUser(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable) SetPublicUser(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable) }
WithUsernameGetResponseable
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
func (*WithUsernameItemRequestBuilder) Events ¶
func (m *WithUsernameItemRequestBuilder) Events() *ItemEventsRequestBuilder
Events the events property
func (*WithUsernameItemRequestBuilder) Followers ¶
func (m *WithUsernameItemRequestBuilder) Followers() *ItemFollowersRequestBuilder
Followers the followers property
func (*WithUsernameItemRequestBuilder) Following ¶
func (m *WithUsernameItemRequestBuilder) Following() *ItemFollowingRequestBuilder
Following the following property
func (*WithUsernameItemRequestBuilder) Get ¶
func (m *WithUsernameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WithUsernameItemRequestBuilderGetRequestConfiguration) (WithUsernameResponseable, error)
Get provides publicly available information about someone with a GitHub account.GitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub plan. The GitHub App must be authenticated as a user. See "[Identifying and authorizing users for GitHub Apps](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)" for details about authentication. For an example response, see 'Response with GitHub plan information' below"The `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://docs.github.com/rest/overview/resources-in-the-rest-api#authentication).The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see "[Emails API](https://docs.github.com/rest/users/emails)". Deprecated: This method is obsolete. Use GetAsWithUsernameGetResponse instead. API method documentation
func (*WithUsernameItemRequestBuilder) GetAsWithUsernameGetResponse ¶
func (m *WithUsernameItemRequestBuilder) GetAsWithUsernameGetResponse(ctx context.Context, requestConfiguration *WithUsernameItemRequestBuilderGetRequestConfiguration) (WithUsernameGetResponseable, error)
GetAsWithUsernameGetResponse provides publicly available information about someone with a GitHub account.GitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub plan. The GitHub App must be authenticated as a user. See "[Identifying and authorizing users for GitHub Apps](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)" for details about authentication. For an example response, see 'Response with GitHub plan information' below"The `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://docs.github.com/rest/overview/resources-in-the-rest-api#authentication).The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see "[Emails API](https://docs.github.com/rest/users/emails)". API method documentation
func (*WithUsernameItemRequestBuilder) Gists ¶
func (m *WithUsernameItemRequestBuilder) Gists() *ItemGistsRequestBuilder
Gists the gists property
func (*WithUsernameItemRequestBuilder) Gpg_keys ¶
func (m *WithUsernameItemRequestBuilder) Gpg_keys() *ItemGpg_keysRequestBuilder
Gpg_keys the gpg_keys property
func (*WithUsernameItemRequestBuilder) Hovercard ¶
func (m *WithUsernameItemRequestBuilder) Hovercard() *ItemHovercardRequestBuilder
Hovercard the hovercard property
func (*WithUsernameItemRequestBuilder) Installation ¶
func (m *WithUsernameItemRequestBuilder) Installation() *ItemInstallationRequestBuilder
Installation the installation property
func (*WithUsernameItemRequestBuilder) Keys ¶
func (m *WithUsernameItemRequestBuilder) Keys() *ItemKeysRequestBuilder
Keys the keys property
func (*WithUsernameItemRequestBuilder) Orgs ¶
func (m *WithUsernameItemRequestBuilder) Orgs() *ItemOrgsRequestBuilder
Orgs the orgs property
func (*WithUsernameItemRequestBuilder) Packages ¶
func (m *WithUsernameItemRequestBuilder) Packages() *ItemPackagesRequestBuilder
Packages the packages property
func (*WithUsernameItemRequestBuilder) Projects ¶
func (m *WithUsernameItemRequestBuilder) Projects() *ItemProjectsRequestBuilder
Projects the projects property
func (*WithUsernameItemRequestBuilder) Received_events ¶
func (m *WithUsernameItemRequestBuilder) Received_events() *ItemReceived_eventsRequestBuilder
Received_events the received_events property
func (*WithUsernameItemRequestBuilder) Repos ¶
func (m *WithUsernameItemRequestBuilder) Repos() *ItemReposRequestBuilder
Repos the repos property
func (*WithUsernameItemRequestBuilder) Settings ¶
func (m *WithUsernameItemRequestBuilder) Settings() *ItemSettingsRequestBuilder
Settings the settings property
func (*WithUsernameItemRequestBuilder) Social_accounts ¶
func (m *WithUsernameItemRequestBuilder) Social_accounts() *ItemSocial_accountsRequestBuilder
Social_accounts the social_accounts property
func (*WithUsernameItemRequestBuilder) Ssh_signing_keys ¶
func (m *WithUsernameItemRequestBuilder) Ssh_signing_keys() *ItemSsh_signing_keysRequestBuilder
Ssh_signing_keys the ssh_signing_keys property
func (*WithUsernameItemRequestBuilder) Starred ¶
func (m *WithUsernameItemRequestBuilder) Starred() *ItemStarredRequestBuilder
Starred the starred property
func (*WithUsernameItemRequestBuilder) Subscriptions ¶
func (m *WithUsernameItemRequestBuilder) Subscriptions() *ItemSubscriptionsRequestBuilder
Subscriptions the subscriptions property
func (*WithUsernameItemRequestBuilder) ToGetRequestInformation ¶
func (m *WithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WithUsernameItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation provides publicly available information about someone with a GitHub account.GitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub plan. The GitHub App must be authenticated as a user. See "[Identifying and authorizing users for GitHub Apps](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)" for details about authentication. For an example response, see 'Response with GitHub plan information' below"The `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://docs.github.com/rest/overview/resources-in-the-rest-api#authentication).The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see "[Emails API](https://docs.github.com/rest/users/emails)".
func (*WithUsernameItemRequestBuilder) WithUrl ¶
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.
type WithUsernameItemRequestBuilderGetRequestConfiguration ¶
type WithUsernameItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
WithUsernameItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type WithUsernameResponse ¶
type WithUsernameResponse struct {
// contains filtered or unexported fields
}
WithUsernameResponse composed type wrapper for classes privateUser, publicUser
func NewWithUsernameResponse ¶
func NewWithUsernameResponse() *WithUsernameResponse
NewWithUsernameResponse instantiates a new WithUsernameResponse and sets the default values.
func (*WithUsernameResponse) GetFieldDeserializers ¶
func (m *WithUsernameResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*WithUsernameResponse) GetIsComposedType ¶
func (m *WithUsernameResponse) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type
func (*WithUsernameResponse) GetPrivateUser ¶
func (m *WithUsernameResponse) GetPrivateUser() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable
GetPrivateUser gets the privateUser property value. Composed type representation for type privateUser
func (*WithUsernameResponse) GetPublicUser ¶
func (m *WithUsernameResponse) GetPublicUser() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable
GetPublicUser gets the publicUser property value. Composed type representation for type publicUser
func (*WithUsernameResponse) Serialize ¶
func (m *WithUsernameResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*WithUsernameResponse) SetPrivateUser ¶
func (m *WithUsernameResponse) SetPrivateUser(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable)
SetPrivateUser sets the privateUser property value. Composed type representation for type privateUser
func (*WithUsernameResponse) SetPublicUser ¶
func (m *WithUsernameResponse) SetPublicUser(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable)
SetPublicUser sets the publicUser property value. Composed type representation for type publicUser
type WithUsernameResponseable ¶
type WithUsernameResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetPrivateUser() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable GetPublicUser() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable SetPrivateUser(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PrivateUserable) SetPublicUser(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PublicUserable) }
WithUsernameResponseable
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_user_item_request_builder.go
- item_gists_request_builder.go
- item_gpg_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_version_item_request_builder.go
- item_packages_item_with_package_name_item_request_builder.go
- item_packages_request_builder.go
- item_packages_with_package_type_item_request_builder.go
- item_projects_request_builder.go
- item_received_events_public_request_builder.go
- item_received_events_request_builder.go
- item_repos_request_builder.go
- item_settings_billing_actions_request_builder.go
- item_settings_billing_packages_request_builder.go
- item_settings_billing_request_builder.go
- item_settings_billing_shared_storage_request_builder.go
- item_settings_request_builder.go
- item_social_accounts_request_builder.go
- item_ssh_signing_keys_request_builder.go
- item_starred_repository.go
- item_starred_request_builder.go
- item_subscriptions_request_builder.go
- users_request_builder.go
- with_username_item_request_builder.go