Documentation
¶
Index ¶
- func CreateItemDiscussionsItemCommentsItemReactionsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemDiscussionsItemCommentsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemDiscussionsItemReactionsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemDiscussionsItemWithDiscussion_numberPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemDiscussionsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemMembershipsItemWithUsernamePutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemProjectsItemWithProject_403ErrorFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemProjectsItemWithProject_PutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemReposItemItemWithRepoPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemWithTeam_PatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type ItemDiscussionsItemCommentsItemReactionsPostRequestBody
- func (m *ItemDiscussionsItemCommentsItemReactionsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemDiscussionsItemCommentsItemReactionsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemDiscussionsItemCommentsItemReactionsPostRequestBody) Serialize(...) error
- func (m *ItemDiscussionsItemCommentsItemReactionsPostRequestBody) SetAdditionalData(value map[string]any)
- type ItemDiscussionsItemCommentsItemReactionsPostRequestBodyable
- type ItemDiscussionsItemCommentsItemReactionsRequestBuilder
- func NewItemDiscussionsItemCommentsItemReactionsRequestBuilder(rawUrl string, ...) *ItemDiscussionsItemCommentsItemReactionsRequestBuilder
- func NewItemDiscussionsItemCommentsItemReactionsRequestBuilderInternal(pathParameters map[string]string, ...) *ItemDiscussionsItemCommentsItemReactionsRequestBuilder
- func (m *ItemDiscussionsItemCommentsItemReactionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemDiscussionsItemCommentsItemReactionsRequestBuilder) Post(ctx context.Context, ...) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Reactionable, ...)
- func (m *ItemDiscussionsItemCommentsItemReactionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemDiscussionsItemCommentsItemReactionsRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemDiscussionsItemCommentsItemReactionsRequestBuilder) WithUrl(rawUrl string) *ItemDiscussionsItemCommentsItemReactionsRequestBuilder
- type ItemDiscussionsItemCommentsItemReactionsRequestBuilderGetQueryParameters
- type ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody
- func (m *ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetBody() *string
- func (m *ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) Serialize(...) error
- func (m *ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) SetBody(value *string)
- type ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyable
- type ItemDiscussionsItemCommentsPostRequestBody
- func (m *ItemDiscussionsItemCommentsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemDiscussionsItemCommentsPostRequestBody) GetBody() *string
- func (m *ItemDiscussionsItemCommentsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemDiscussionsItemCommentsPostRequestBody) Serialize(...) error
- func (m *ItemDiscussionsItemCommentsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemDiscussionsItemCommentsPostRequestBody) SetBody(value *string)
- type ItemDiscussionsItemCommentsPostRequestBodyable
- type ItemDiscussionsItemCommentsRequestBuilder
- func (m *ItemDiscussionsItemCommentsRequestBuilder) ByComment_number(comment_number int32) *ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder
- func (m *ItemDiscussionsItemCommentsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemDiscussionsItemCommentsRequestBuilder) Post(ctx context.Context, body ItemDiscussionsItemCommentsPostRequestBodyable, ...) (...)
- func (m *ItemDiscussionsItemCommentsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemDiscussionsItemCommentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemDiscussionsItemCommentsPostRequestBodyable, ...) (...)
- func (m *ItemDiscussionsItemCommentsRequestBuilder) WithUrl(rawUrl string) *ItemDiscussionsItemCommentsRequestBuilder
- type ItemDiscussionsItemCommentsRequestBuilderGetQueryParameters
- type ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder
- func NewItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder(rawUrl string, ...) *ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder
- func NewItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder
- func (m *ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Reactions() *ItemDiscussionsItemCommentsItemReactionsRequestBuilder
- func (m *ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) WithUrl(rawUrl string) *ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder
- type ItemDiscussionsItemReactionsPostRequestBody
- func (m *ItemDiscussionsItemReactionsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemDiscussionsItemReactionsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemDiscussionsItemReactionsPostRequestBody) Serialize(...) error
- func (m *ItemDiscussionsItemReactionsPostRequestBody) SetAdditionalData(value map[string]any)
- type ItemDiscussionsItemReactionsPostRequestBodyable
- type ItemDiscussionsItemReactionsRequestBuilder
- func (m *ItemDiscussionsItemReactionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemDiscussionsItemReactionsRequestBuilder) Post(ctx context.Context, body ItemDiscussionsItemReactionsPostRequestBodyable, ...) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Reactionable, ...)
- func (m *ItemDiscussionsItemReactionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemDiscussionsItemReactionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemDiscussionsItemReactionsPostRequestBodyable, ...) (...)
- func (m *ItemDiscussionsItemReactionsRequestBuilder) WithUrl(rawUrl string) *ItemDiscussionsItemReactionsRequestBuilder
- type ItemDiscussionsItemReactionsRequestBuilderGetQueryParameters
- type ItemDiscussionsItemWithDiscussion_numberPatchRequestBody
- func (m *ItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetBody() *string
- func (m *ItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetTitle() *string
- func (m *ItemDiscussionsItemWithDiscussion_numberPatchRequestBody) Serialize(...) error
- func (m *ItemDiscussionsItemWithDiscussion_numberPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemDiscussionsItemWithDiscussion_numberPatchRequestBody) SetBody(value *string)
- func (m *ItemDiscussionsItemWithDiscussion_numberPatchRequestBody) SetTitle(value *string)
- type ItemDiscussionsItemWithDiscussion_numberPatchRequestBodyable
- type ItemDiscussionsPostRequestBody
- func (m *ItemDiscussionsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemDiscussionsPostRequestBody) GetBody() *string
- func (m *ItemDiscussionsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemDiscussionsPostRequestBody) GetPrivate() *bool
- func (m *ItemDiscussionsPostRequestBody) GetTitle() *string
- func (m *ItemDiscussionsPostRequestBody) Serialize(...) error
- func (m *ItemDiscussionsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemDiscussionsPostRequestBody) SetBody(value *string)
- func (m *ItemDiscussionsPostRequestBody) SetPrivate(value *bool)
- func (m *ItemDiscussionsPostRequestBody) SetTitle(value *string)
- type ItemDiscussionsPostRequestBodyable
- type ItemDiscussionsRequestBuilder
- func (m *ItemDiscussionsRequestBuilder) ByDiscussion_number(discussion_number int32) *ItemDiscussionsWithDiscussion_numberItemRequestBuilder
- func (m *ItemDiscussionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemDiscussionsRequestBuilder) Post(ctx context.Context, body ItemDiscussionsPostRequestBodyable, ...) (...)
- func (m *ItemDiscussionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemDiscussionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemDiscussionsPostRequestBodyable, ...) (...)
- func (m *ItemDiscussionsRequestBuilder) WithUrl(rawUrl string) *ItemDiscussionsRequestBuilder
- type ItemDiscussionsRequestBuilderGetQueryParameters
- type ItemDiscussionsWithDiscussion_numberItemRequestBuilder
- func NewItemDiscussionsWithDiscussion_numberItemRequestBuilder(rawUrl string, ...) *ItemDiscussionsWithDiscussion_numberItemRequestBuilder
- func NewItemDiscussionsWithDiscussion_numberItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemDiscussionsWithDiscussion_numberItemRequestBuilder
- func (m *ItemDiscussionsWithDiscussion_numberItemRequestBuilder) Comments() *ItemDiscussionsItemCommentsRequestBuilder
- func (m *ItemDiscussionsWithDiscussion_numberItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemDiscussionsWithDiscussion_numberItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemDiscussionsWithDiscussion_numberItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *ItemDiscussionsWithDiscussion_numberItemRequestBuilder) Reactions() *ItemDiscussionsItemReactionsRequestBuilder
- func (m *ItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemDiscussionsWithDiscussion_numberItemRequestBuilder) WithUrl(rawUrl string) *ItemDiscussionsWithDiscussion_numberItemRequestBuilder
- type ItemInvitationsRequestBuilder
- type ItemInvitationsRequestBuilderGetQueryParameters
- type ItemMembersRequestBuilder
- func (m *ItemMembersRequestBuilder) ByUsername(username string) *ItemMembersWithUsernameItemRequestBuilder
- func (m *ItemMembersRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemMembersRequestBuilder) WithUrl(rawUrl string) *ItemMembersRequestBuilder
- type ItemMembersRequestBuilderGetQueryParameters
- type ItemMembersWithUsernameItemRequestBuilder
- func (m *ItemMembersWithUsernameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemMembersWithUsernameItemRequestBuilder) Get(ctx context.Context, ...) error
- func (m *ItemMembersWithUsernameItemRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemMembersWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemMembersWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemMembersWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemMembersWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *ItemMembersWithUsernameItemRequestBuilder
- type ItemMembershipsItemWithUsernamePutRequestBody
- func (m *ItemMembershipsItemWithUsernamePutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemMembershipsItemWithUsernamePutRequestBody) GetFieldDeserializers() ...
- func (m *ItemMembershipsItemWithUsernamePutRequestBody) Serialize(...) error
- func (m *ItemMembershipsItemWithUsernamePutRequestBody) SetAdditionalData(value map[string]any)
- type ItemMembershipsItemWithUsernamePutRequestBodyable
- type ItemMembershipsRequestBuilder
- type ItemMembershipsWithUsernameItemRequestBuilder
- func (m *ItemMembershipsWithUsernameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemMembershipsWithUsernameItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemMembershipsWithUsernameItemRequestBuilder) Put(ctx context.Context, body ItemMembershipsItemWithUsernamePutRequestBodyable, ...) (...)
- func (m *ItemMembershipsWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemMembershipsWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemMembershipsWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemMembershipsItemWithUsernamePutRequestBodyable, ...) (...)
- func (m *ItemMembershipsWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *ItemMembershipsWithUsernameItemRequestBuilder
- type ItemProjectsItemWithProject_403Error
- func (m *ItemProjectsItemWithProject_403Error) Error() string
- func (m *ItemProjectsItemWithProject_403Error) GetAdditionalData() map[string]any
- func (m *ItemProjectsItemWithProject_403Error) GetDocumentationUrl() *string
- func (m *ItemProjectsItemWithProject_403Error) GetFieldDeserializers() ...
- func (m *ItemProjectsItemWithProject_403Error) GetMessage() *string
- func (m *ItemProjectsItemWithProject_403Error) Serialize(...) error
- func (m *ItemProjectsItemWithProject_403Error) SetAdditionalData(value map[string]any)
- func (m *ItemProjectsItemWithProject_403Error) SetDocumentationUrl(value *string)
- func (m *ItemProjectsItemWithProject_403Error) SetMessage(value *string)
- type ItemProjectsItemWithProject_403Errorable
- type ItemProjectsItemWithProject_PutRequestBody
- func (m *ItemProjectsItemWithProject_PutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemProjectsItemWithProject_PutRequestBody) GetFieldDeserializers() ...
- func (m *ItemProjectsItemWithProject_PutRequestBody) Serialize(...) error
- func (m *ItemProjectsItemWithProject_PutRequestBody) SetAdditionalData(value map[string]any)
- type ItemProjectsItemWithProject_PutRequestBodyable
- type ItemProjectsRequestBuilder
- func (m *ItemProjectsRequestBuilder) ByProject_id(project_id int32) *ItemProjectsWithProject_ItemRequestBuilder
- func (m *ItemProjectsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemProjectsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemProjectsRequestBuilder) WithUrl(rawUrl string) *ItemProjectsRequestBuilder
- type ItemProjectsRequestBuilderGetQueryParameters
- type ItemProjectsWithProject_ItemRequestBuilder
- func (m *ItemProjectsWithProject_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemProjectsWithProject_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemProjectsWithProject_ItemRequestBuilder) Put(ctx context.Context, body ItemProjectsItemWithProject_PutRequestBodyable, ...) error
- func (m *ItemProjectsWithProject_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemProjectsWithProject_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemProjectsWithProject_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemProjectsItemWithProject_PutRequestBodyable, ...) (...)
- func (m *ItemProjectsWithProject_ItemRequestBuilder) WithUrl(rawUrl string) *ItemProjectsWithProject_ItemRequestBuilder
- type ItemReposItemItemWithRepoPutRequestBody
- func (m *ItemReposItemItemWithRepoPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemReposItemItemWithRepoPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemReposItemItemWithRepoPutRequestBody) Serialize(...) error
- func (m *ItemReposItemItemWithRepoPutRequestBody) SetAdditionalData(value map[string]any)
- type ItemReposItemItemWithRepoPutRequestBodyable
- type ItemReposItemWithRepoItemRequestBuilder
- func (m *ItemReposItemWithRepoItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemReposItemWithRepoItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemReposItemWithRepoItemRequestBuilder) Put(ctx context.Context, body ItemReposItemItemWithRepoPutRequestBodyable, ...) error
- func (m *ItemReposItemWithRepoItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemReposItemWithRepoItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemReposItemWithRepoItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemReposItemItemWithRepoPutRequestBodyable, ...) (...)
- func (m *ItemReposItemWithRepoItemRequestBuilder) WithUrl(rawUrl string) *ItemReposItemWithRepoItemRequestBuilder
- type ItemReposRequestBuilder
- func (m *ItemReposRequestBuilder) ByOwner(owner string) *ItemReposWithOwnerItemRequestBuilder
- func (m *ItemReposRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemReposRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemReposRequestBuilder) WithUrl(rawUrl string) *ItemReposRequestBuilder
- type ItemReposRequestBuilderGetQueryParameters
- type ItemReposWithOwnerItemRequestBuilder
- type ItemTeamsRequestBuilder
- func (m *ItemTeamsRequestBuilder) Get(ctx context.Context, ...) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Teamable, ...)
- func (m *ItemTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsRequestBuilder) WithUrl(rawUrl string) *ItemTeamsRequestBuilder
- type ItemTeamsRequestBuilderGetQueryParameters
- type ItemWithTeam_PatchRequestBody
- func (m *ItemWithTeam_PatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemWithTeam_PatchRequestBody) GetDescription() *string
- func (m *ItemWithTeam_PatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemWithTeam_PatchRequestBody) GetName() *string
- func (m *ItemWithTeam_PatchRequestBody) GetParentTeamId() *int32
- func (m *ItemWithTeam_PatchRequestBody) Serialize(...) error
- func (m *ItemWithTeam_PatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemWithTeam_PatchRequestBody) SetDescription(value *string)
- func (m *ItemWithTeam_PatchRequestBody) SetName(value *string)
- func (m *ItemWithTeam_PatchRequestBody) SetParentTeamId(value *int32)
- type ItemWithTeam_PatchRequestBodyable
- type TeamsRequestBuilder
- type WithTeam_ItemRequestBuilder
- func (m *WithTeam_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *WithTeam_ItemRequestBuilder) Discussions() *ItemDiscussionsRequestBuilder
- func (m *WithTeam_ItemRequestBuilder) Get(ctx context.Context, ...) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamFullable, ...)
- func (m *WithTeam_ItemRequestBuilder) Invitations() *ItemInvitationsRequestBuilder
- func (m *WithTeam_ItemRequestBuilder) Members() *ItemMembersRequestBuilder
- func (m *WithTeam_ItemRequestBuilder) Memberships() *ItemMembershipsRequestBuilder
- func (m *WithTeam_ItemRequestBuilder) Patch(ctx context.Context, body ItemWithTeam_PatchRequestBodyable, ...) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamFullable, ...)
- func (m *WithTeam_ItemRequestBuilder) Projects() *ItemProjectsRequestBuilder
- func (m *WithTeam_ItemRequestBuilder) Repos() *ItemReposRequestBuilder
- func (m *WithTeam_ItemRequestBuilder) Teams() *ItemTeamsRequestBuilder
- func (m *WithTeam_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *WithTeam_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *WithTeam_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemWithTeam_PatchRequestBodyable, ...) (...)
- func (m *WithTeam_ItemRequestBuilder) WithUrl(rawUrl string) *WithTeam_ItemRequestBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateItemDiscussionsItemCommentsItemReactionsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemDiscussionsItemCommentsItemReactionsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemDiscussionsItemCommentsItemReactionsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemDiscussionsItemCommentsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemDiscussionsItemCommentsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemDiscussionsItemCommentsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemDiscussionsItemReactionsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemDiscussionsItemReactionsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemDiscussionsItemReactionsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemDiscussionsItemWithDiscussion_numberPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemDiscussionsItemWithDiscussion_numberPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemDiscussionsItemWithDiscussion_numberPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemDiscussionsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemDiscussionsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemDiscussionsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemMembershipsItemWithUsernamePutRequestBodyFromDiscriminatorValue ¶
func CreateItemMembershipsItemWithUsernamePutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemMembershipsItemWithUsernamePutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemProjectsItemWithProject_403ErrorFromDiscriminatorValue ¶
func CreateItemProjectsItemWithProject_403ErrorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemProjectsItemWithProject_403ErrorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemProjectsItemWithProject_PutRequestBodyFromDiscriminatorValue ¶
func CreateItemProjectsItemWithProject_PutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemProjectsItemWithProject_PutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemReposItemItemWithRepoPutRequestBodyFromDiscriminatorValue ¶
func CreateItemReposItemItemWithRepoPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemReposItemItemWithRepoPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemWithTeam_PatchRequestBodyFromDiscriminatorValue ¶
func CreateItemWithTeam_PatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemWithTeam_PatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
Types ¶
type ItemDiscussionsItemCommentsItemReactionsPostRequestBody ¶
type ItemDiscussionsItemCommentsItemReactionsPostRequestBody struct {
// contains filtered or unexported fields
}
ItemDiscussionsItemCommentsItemReactionsPostRequestBody
func NewItemDiscussionsItemCommentsItemReactionsPostRequestBody ¶
func NewItemDiscussionsItemCommentsItemReactionsPostRequestBody() *ItemDiscussionsItemCommentsItemReactionsPostRequestBody
NewItemDiscussionsItemCommentsItemReactionsPostRequestBody instantiates a new ItemDiscussionsItemCommentsItemReactionsPostRequestBody and sets the default values.
func (*ItemDiscussionsItemCommentsItemReactionsPostRequestBody) GetAdditionalData ¶
func (m *ItemDiscussionsItemCommentsItemReactionsPostRequestBody) 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 (*ItemDiscussionsItemCommentsItemReactionsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemDiscussionsItemCommentsItemReactionsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemDiscussionsItemCommentsItemReactionsPostRequestBody) Serialize ¶
func (m *ItemDiscussionsItemCommentsItemReactionsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemDiscussionsItemCommentsItemReactionsPostRequestBody) SetAdditionalData ¶
func (m *ItemDiscussionsItemCommentsItemReactionsPostRequestBody) 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 ItemDiscussionsItemCommentsItemReactionsPostRequestBodyable ¶
type ItemDiscussionsItemCommentsItemReactionsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemDiscussionsItemCommentsItemReactionsPostRequestBodyable
type ItemDiscussionsItemCommentsItemReactionsRequestBuilder ¶
type ItemDiscussionsItemCommentsItemReactionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemDiscussionsItemCommentsItemReactionsRequestBuilder builds and executes requests for operations under \teams\{team_id}\discussions\{discussion_number}\comments\{comment_number}\reactions
func NewItemDiscussionsItemCommentsItemReactionsRequestBuilder ¶
func NewItemDiscussionsItemCommentsItemReactionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDiscussionsItemCommentsItemReactionsRequestBuilder
NewItemDiscussionsItemCommentsItemReactionsRequestBuilder instantiates a new ReactionsRequestBuilder and sets the default values.
func NewItemDiscussionsItemCommentsItemReactionsRequestBuilderInternal ¶
func NewItemDiscussionsItemCommentsItemReactionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDiscussionsItemCommentsItemReactionsRequestBuilder
NewItemDiscussionsItemCommentsItemReactionsRequestBuilderInternal instantiates a new ReactionsRequestBuilder and sets the default values.
func (*ItemDiscussionsItemCommentsItemReactionsRequestBuilder) Get ¶
func (m *ItemDiscussionsItemCommentsItemReactionsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemDiscussionsItemCommentsItemReactionsRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Reactionable, error)
Get **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. Deprecated: API method documentation
func (*ItemDiscussionsItemCommentsItemReactionsRequestBuilder) Post ¶
func (m *ItemDiscussionsItemCommentsItemReactionsRequestBuilder) Post(ctx context.Context, body ItemDiscussionsItemCommentsItemReactionsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Reactionable, error)
Post **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. Deprecated: API method documentation
func (*ItemDiscussionsItemCommentsItemReactionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemDiscussionsItemCommentsItemReactionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemDiscussionsItemCommentsItemReactionsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. Deprecated:
func (*ItemDiscussionsItemCommentsItemReactionsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemDiscussionsItemCommentsItemReactionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemDiscussionsItemCommentsItemReactionsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. Deprecated:
func (*ItemDiscussionsItemCommentsItemReactionsRequestBuilder) WithUrl ¶
func (m *ItemDiscussionsItemCommentsItemReactionsRequestBuilder) WithUrl(rawUrl string) *ItemDiscussionsItemCommentsItemReactionsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. Deprecated:
type ItemDiscussionsItemCommentsItemReactionsRequestBuilderGetQueryParameters ¶
type ItemDiscussionsItemCommentsItemReactionsRequestBuilderGetQueryParameters struct { // Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. Content *i9e08f9889b0fa471ab4cadbc6a2e19081aecef1726390ab7a4bb58d73a59a375.GetContentQueryParameterType `uriparametername:"content"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemDiscussionsItemCommentsItemReactionsRequestBuilderGetQueryParameters **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.
type ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody ¶
type ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody struct {
// contains filtered or unexported fields
}
ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody
func NewItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody ¶
func NewItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody() *ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody
NewItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody instantiates a new ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody and sets the default values.
func (*ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetAdditionalData ¶
func (m *ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) 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 (*ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetBody ¶
func (m *ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetBody() *string
GetBody gets the body property value. The discussion comment's body text.
func (*ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) Serialize ¶
func (m *ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) SetAdditionalData ¶
func (m *ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) SetBody ¶
func (m *ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) SetBody(value *string)
SetBody sets the body property value. The discussion comment's body text.
type ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyable ¶
type ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBody() *string SetBody(value *string) }
ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyable
type ItemDiscussionsItemCommentsPostRequestBody ¶
type ItemDiscussionsItemCommentsPostRequestBody struct {
// contains filtered or unexported fields
}
ItemDiscussionsItemCommentsPostRequestBody
func NewItemDiscussionsItemCommentsPostRequestBody ¶
func NewItemDiscussionsItemCommentsPostRequestBody() *ItemDiscussionsItemCommentsPostRequestBody
NewItemDiscussionsItemCommentsPostRequestBody instantiates a new ItemDiscussionsItemCommentsPostRequestBody and sets the default values.
func (*ItemDiscussionsItemCommentsPostRequestBody) GetAdditionalData ¶
func (m *ItemDiscussionsItemCommentsPostRequestBody) 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 (*ItemDiscussionsItemCommentsPostRequestBody) GetBody ¶
func (m *ItemDiscussionsItemCommentsPostRequestBody) GetBody() *string
GetBody gets the body property value. The discussion comment's body text.
func (*ItemDiscussionsItemCommentsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemDiscussionsItemCommentsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemDiscussionsItemCommentsPostRequestBody) Serialize ¶
func (m *ItemDiscussionsItemCommentsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemDiscussionsItemCommentsPostRequestBody) SetAdditionalData ¶
func (m *ItemDiscussionsItemCommentsPostRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemDiscussionsItemCommentsPostRequestBody) SetBody ¶
func (m *ItemDiscussionsItemCommentsPostRequestBody) SetBody(value *string)
SetBody sets the body property value. The discussion comment's body text.
type ItemDiscussionsItemCommentsPostRequestBodyable ¶
type ItemDiscussionsItemCommentsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBody() *string SetBody(value *string) }
ItemDiscussionsItemCommentsPostRequestBodyable
type ItemDiscussionsItemCommentsRequestBuilder ¶
type ItemDiscussionsItemCommentsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemDiscussionsItemCommentsRequestBuilder builds and executes requests for operations under \teams\{team_id}\discussions\{discussion_number}\comments
func NewItemDiscussionsItemCommentsRequestBuilder ¶
func NewItemDiscussionsItemCommentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDiscussionsItemCommentsRequestBuilder
NewItemDiscussionsItemCommentsRequestBuilder instantiates a new CommentsRequestBuilder and sets the default values.
func NewItemDiscussionsItemCommentsRequestBuilderInternal ¶
func NewItemDiscussionsItemCommentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDiscussionsItemCommentsRequestBuilder
NewItemDiscussionsItemCommentsRequestBuilderInternal instantiates a new CommentsRequestBuilder and sets the default values.
func (*ItemDiscussionsItemCommentsRequestBuilder) ByComment_number ¶
func (m *ItemDiscussionsItemCommentsRequestBuilder) ByComment_number(comment_number int32) *ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder
ByComment_number gets an item from the github.com/octokit/go-sdk/pkg/github/.teams.item.discussions.item.comments.item collection Deprecated:
func (*ItemDiscussionsItemCommentsRequestBuilder) Get ¶
func (m *ItemDiscussionsItemCommentsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemDiscussionsItemCommentsRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamDiscussionCommentable, error)
Get **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint.List all comments on a team discussion.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. Deprecated: API method documentation
func (*ItemDiscussionsItemCommentsRequestBuilder) Post ¶
func (m *ItemDiscussionsItemCommentsRequestBuilder) Post(ctx context.Context, body ItemDiscussionsItemCommentsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamDiscussionCommentable, error)
Post **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint.Creates a new comment on a team discussion.This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. Deprecated: API method documentation
func (*ItemDiscussionsItemCommentsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemDiscussionsItemCommentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemDiscussionsItemCommentsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint.List all comments on a team discussion.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. Deprecated:
func (*ItemDiscussionsItemCommentsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemDiscussionsItemCommentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemDiscussionsItemCommentsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint.Creates a new comment on a team discussion.This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. Deprecated:
func (*ItemDiscussionsItemCommentsRequestBuilder) WithUrl ¶
func (m *ItemDiscussionsItemCommentsRequestBuilder) WithUrl(rawUrl string) *ItemDiscussionsItemCommentsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. Deprecated:
type ItemDiscussionsItemCommentsRequestBuilderGetQueryParameters ¶
type ItemDiscussionsItemCommentsRequestBuilderGetQueryParameters struct { // The direction to sort the results by. Direction *i941deefbb82fb3f01e785e3e51a0548ce708315c1471903f00d5488f323759f6.GetDirectionQueryParameterType `uriparametername:"direction"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemDiscussionsItemCommentsRequestBuilderGetQueryParameters **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint.List all comments on a team discussion.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.
type ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder ¶
type ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder builds and executes requests for operations under \teams\{team_id}\discussions\{discussion_number}\comments\{comment_number}
func NewItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder ¶
func NewItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder
NewItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder instantiates a new WithComment_numberItemRequestBuilder and sets the default values.
func NewItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderInternal ¶
func NewItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder
NewItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderInternal instantiates a new WithComment_numberItemRequestBuilder and sets the default values.
func (*ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Delete ¶
func (m *ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint.Deletes a comment on a team discussion.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. Deprecated: API method documentation
func (*ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Get ¶
func (m *ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamDiscussionCommentable, error)
Get **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint.Get a specific comment on a team discussion.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. Deprecated: API method documentation
func (*ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Patch ¶
func (m *ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Patch(ctx context.Context, body ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamDiscussionCommentable, error)
Patch **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.Edits the body text of a discussion comment.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. Deprecated: API method documentation
func (*ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Reactions ¶
func (m *ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Reactions() *ItemDiscussionsItemCommentsItemReactionsRequestBuilder
Reactions the reactions property
func (*ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint.Deletes a comment on a team discussion.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. Deprecated:
func (*ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint.Get a specific comment on a team discussion.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. Deprecated:
func (*ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.Edits the body text of a discussion comment.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. Deprecated:
func (*ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) WithUrl ¶
func (m *ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) WithUrl(rawUrl string) *ItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. Deprecated:
type ItemDiscussionsItemReactionsPostRequestBody ¶
type ItemDiscussionsItemReactionsPostRequestBody struct {
// contains filtered or unexported fields
}
ItemDiscussionsItemReactionsPostRequestBody
func NewItemDiscussionsItemReactionsPostRequestBody ¶
func NewItemDiscussionsItemReactionsPostRequestBody() *ItemDiscussionsItemReactionsPostRequestBody
NewItemDiscussionsItemReactionsPostRequestBody instantiates a new ItemDiscussionsItemReactionsPostRequestBody and sets the default values.
func (*ItemDiscussionsItemReactionsPostRequestBody) GetAdditionalData ¶
func (m *ItemDiscussionsItemReactionsPostRequestBody) 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 (*ItemDiscussionsItemReactionsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemDiscussionsItemReactionsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemDiscussionsItemReactionsPostRequestBody) Serialize ¶
func (m *ItemDiscussionsItemReactionsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemDiscussionsItemReactionsPostRequestBody) SetAdditionalData ¶
func (m *ItemDiscussionsItemReactionsPostRequestBody) 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 ItemDiscussionsItemReactionsPostRequestBodyable ¶
type ItemDiscussionsItemReactionsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemDiscussionsItemReactionsPostRequestBodyable
type ItemDiscussionsItemReactionsRequestBuilder ¶
type ItemDiscussionsItemReactionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemDiscussionsItemReactionsRequestBuilder builds and executes requests for operations under \teams\{team_id}\discussions\{discussion_number}\reactions
func NewItemDiscussionsItemReactionsRequestBuilder ¶
func NewItemDiscussionsItemReactionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDiscussionsItemReactionsRequestBuilder
NewItemDiscussionsItemReactionsRequestBuilder instantiates a new ReactionsRequestBuilder and sets the default values.
func NewItemDiscussionsItemReactionsRequestBuilderInternal ¶
func NewItemDiscussionsItemReactionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDiscussionsItemReactionsRequestBuilder
NewItemDiscussionsItemReactionsRequestBuilderInternal instantiates a new ReactionsRequestBuilder and sets the default values.
func (*ItemDiscussionsItemReactionsRequestBuilder) Get ¶
func (m *ItemDiscussionsItemReactionsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemDiscussionsItemReactionsRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Reactionable, error)
Get **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. Deprecated: API method documentation
func (*ItemDiscussionsItemReactionsRequestBuilder) Post ¶
func (m *ItemDiscussionsItemReactionsRequestBuilder) Post(ctx context.Context, body ItemDiscussionsItemReactionsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Reactionable, error)
Post **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).A response with an HTTP `200` status means that you already added the reaction type to this team discussion.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. Deprecated: API method documentation
func (*ItemDiscussionsItemReactionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemDiscussionsItemReactionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemDiscussionsItemReactionsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. Deprecated:
func (*ItemDiscussionsItemReactionsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemDiscussionsItemReactionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemDiscussionsItemReactionsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).A response with an HTTP `200` status means that you already added the reaction type to this team discussion.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. Deprecated:
func (*ItemDiscussionsItemReactionsRequestBuilder) WithUrl ¶
func (m *ItemDiscussionsItemReactionsRequestBuilder) WithUrl(rawUrl string) *ItemDiscussionsItemReactionsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. Deprecated:
type ItemDiscussionsItemReactionsRequestBuilderGetQueryParameters ¶
type ItemDiscussionsItemReactionsRequestBuilderGetQueryParameters struct { // Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. Content *i6dd5ca9d4904490106446bf5042ab3041508274ee6e42e98d8ce0d837eae7dfc.GetContentQueryParameterType `uriparametername:"content"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemDiscussionsItemReactionsRequestBuilderGetQueryParameters **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.
type ItemDiscussionsItemWithDiscussion_numberPatchRequestBody ¶
type ItemDiscussionsItemWithDiscussion_numberPatchRequestBody struct {
// contains filtered or unexported fields
}
ItemDiscussionsItemWithDiscussion_numberPatchRequestBody
func NewItemDiscussionsItemWithDiscussion_numberPatchRequestBody ¶
func NewItemDiscussionsItemWithDiscussion_numberPatchRequestBody() *ItemDiscussionsItemWithDiscussion_numberPatchRequestBody
NewItemDiscussionsItemWithDiscussion_numberPatchRequestBody instantiates a new ItemDiscussionsItemWithDiscussion_numberPatchRequestBody and sets the default values.
func (*ItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetAdditionalData ¶
func (m *ItemDiscussionsItemWithDiscussion_numberPatchRequestBody) 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 (*ItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetBody ¶
func (m *ItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetBody() *string
GetBody gets the body property value. The discussion post's body text.
func (*ItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetTitle ¶
func (m *ItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetTitle() *string
GetTitle gets the title property value. The discussion post's title.
func (*ItemDiscussionsItemWithDiscussion_numberPatchRequestBody) Serialize ¶
func (m *ItemDiscussionsItemWithDiscussion_numberPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemDiscussionsItemWithDiscussion_numberPatchRequestBody) SetAdditionalData ¶
func (m *ItemDiscussionsItemWithDiscussion_numberPatchRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemDiscussionsItemWithDiscussion_numberPatchRequestBody) SetBody ¶
func (m *ItemDiscussionsItemWithDiscussion_numberPatchRequestBody) SetBody(value *string)
SetBody sets the body property value. The discussion post's body text.
func (*ItemDiscussionsItemWithDiscussion_numberPatchRequestBody) SetTitle ¶
func (m *ItemDiscussionsItemWithDiscussion_numberPatchRequestBody) SetTitle(value *string)
SetTitle sets the title property value. The discussion post's title.
type ItemDiscussionsItemWithDiscussion_numberPatchRequestBodyable ¶
type ItemDiscussionsItemWithDiscussion_numberPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBody() *string GetTitle() *string SetBody(value *string) SetTitle(value *string) }
ItemDiscussionsItemWithDiscussion_numberPatchRequestBodyable
type ItemDiscussionsPostRequestBody ¶
type ItemDiscussionsPostRequestBody struct {
// contains filtered or unexported fields
}
ItemDiscussionsPostRequestBody
func NewItemDiscussionsPostRequestBody ¶
func NewItemDiscussionsPostRequestBody() *ItemDiscussionsPostRequestBody
NewItemDiscussionsPostRequestBody instantiates a new ItemDiscussionsPostRequestBody and sets the default values.
func (*ItemDiscussionsPostRequestBody) GetAdditionalData ¶
func (m *ItemDiscussionsPostRequestBody) 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 (*ItemDiscussionsPostRequestBody) GetBody ¶
func (m *ItemDiscussionsPostRequestBody) GetBody() *string
GetBody gets the body property value. The discussion post's body text.
func (*ItemDiscussionsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemDiscussionsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemDiscussionsPostRequestBody) GetPrivate ¶
func (m *ItemDiscussionsPostRequestBody) GetPrivate() *bool
GetPrivate gets the private property value. Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post.
func (*ItemDiscussionsPostRequestBody) GetTitle ¶
func (m *ItemDiscussionsPostRequestBody) GetTitle() *string
GetTitle gets the title property value. The discussion post's title.
func (*ItemDiscussionsPostRequestBody) Serialize ¶
func (m *ItemDiscussionsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemDiscussionsPostRequestBody) SetAdditionalData ¶
func (m *ItemDiscussionsPostRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemDiscussionsPostRequestBody) SetBody ¶
func (m *ItemDiscussionsPostRequestBody) SetBody(value *string)
SetBody sets the body property value. The discussion post's body text.
func (*ItemDiscussionsPostRequestBody) SetPrivate ¶
func (m *ItemDiscussionsPostRequestBody) SetPrivate(value *bool)
SetPrivate sets the private property value. Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post.
func (*ItemDiscussionsPostRequestBody) SetTitle ¶
func (m *ItemDiscussionsPostRequestBody) SetTitle(value *string)
SetTitle sets the title property value. The discussion post's title.
type ItemDiscussionsPostRequestBodyable ¶
type ItemDiscussionsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBody() *string GetPrivate() *bool GetTitle() *string SetBody(value *string) SetPrivate(value *bool) SetTitle(value *string) }
ItemDiscussionsPostRequestBodyable
type ItemDiscussionsRequestBuilder ¶
type ItemDiscussionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemDiscussionsRequestBuilder builds and executes requests for operations under \teams\{team_id}\discussions
func NewItemDiscussionsRequestBuilder ¶
func NewItemDiscussionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDiscussionsRequestBuilder
NewItemDiscussionsRequestBuilder instantiates a new DiscussionsRequestBuilder and sets the default values.
func NewItemDiscussionsRequestBuilderInternal ¶
func NewItemDiscussionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDiscussionsRequestBuilder
NewItemDiscussionsRequestBuilderInternal instantiates a new DiscussionsRequestBuilder and sets the default values.
func (*ItemDiscussionsRequestBuilder) ByDiscussion_number ¶
func (m *ItemDiscussionsRequestBuilder) ByDiscussion_number(discussion_number int32) *ItemDiscussionsWithDiscussion_numberItemRequestBuilder
ByDiscussion_number gets an item from the github.com/octokit/go-sdk/pkg/github/.teams.item.discussions.item collection Deprecated:
func (*ItemDiscussionsRequestBuilder) Get ¶
func (m *ItemDiscussionsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemDiscussionsRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamDiscussionable, error)
Get **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint.List all discussions on a team's page.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. Deprecated: API method documentation
func (*ItemDiscussionsRequestBuilder) Post ¶
func (m *ItemDiscussionsRequestBuilder) Post(ctx context.Context, body ItemDiscussionsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamDiscussionable, error)
Post **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint.Creates a new discussion post on a team's page.This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. Deprecated: API method documentation
func (*ItemDiscussionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemDiscussionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemDiscussionsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint.List all discussions on a team's page.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. Deprecated:
func (*ItemDiscussionsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemDiscussionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemDiscussionsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint.Creates a new discussion post on a team's page.This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. Deprecated:
func (*ItemDiscussionsRequestBuilder) WithUrl ¶
func (m *ItemDiscussionsRequestBuilder) WithUrl(rawUrl string) *ItemDiscussionsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. Deprecated:
type ItemDiscussionsRequestBuilderGetQueryParameters ¶
type ItemDiscussionsRequestBuilderGetQueryParameters struct { // The direction to sort the results by. Direction *i52da346299abb3525b9c53189aa635a523f7fc85ce05d7504dd361e4b8b8e0e0.GetDirectionQueryParameterType `uriparametername:"direction"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemDiscussionsRequestBuilderGetQueryParameters **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint.List all discussions on a team's page.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.
type ItemDiscussionsWithDiscussion_numberItemRequestBuilder ¶
type ItemDiscussionsWithDiscussion_numberItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemDiscussionsWithDiscussion_numberItemRequestBuilder builds and executes requests for operations under \teams\{team_id}\discussions\{discussion_number}
func NewItemDiscussionsWithDiscussion_numberItemRequestBuilder ¶
func NewItemDiscussionsWithDiscussion_numberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDiscussionsWithDiscussion_numberItemRequestBuilder
NewItemDiscussionsWithDiscussion_numberItemRequestBuilder instantiates a new WithDiscussion_numberItemRequestBuilder and sets the default values.
func NewItemDiscussionsWithDiscussion_numberItemRequestBuilderInternal ¶
func NewItemDiscussionsWithDiscussion_numberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDiscussionsWithDiscussion_numberItemRequestBuilder
NewItemDiscussionsWithDiscussion_numberItemRequestBuilderInternal instantiates a new WithDiscussion_numberItemRequestBuilder and sets the default values.
func (*ItemDiscussionsWithDiscussion_numberItemRequestBuilder) Comments ¶
func (m *ItemDiscussionsWithDiscussion_numberItemRequestBuilder) Comments() *ItemDiscussionsItemCommentsRequestBuilder
Comments the comments property
func (*ItemDiscussionsWithDiscussion_numberItemRequestBuilder) Delete ¶
func (m *ItemDiscussionsWithDiscussion_numberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint.Delete a discussion from a team's page.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. Deprecated: API method documentation
func (*ItemDiscussionsWithDiscussion_numberItemRequestBuilder) Get ¶
func (m *ItemDiscussionsWithDiscussion_numberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamDiscussionable, error)
Get **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint.Get a specific discussion on a team's page.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. Deprecated: API method documentation
func (*ItemDiscussionsWithDiscussion_numberItemRequestBuilder) Patch ¶
func (m *ItemDiscussionsWithDiscussion_numberItemRequestBuilder) Patch(ctx context.Context, body ItemDiscussionsItemWithDiscussion_numberPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamDiscussionable, error)
Patch **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint.Edits the title and body text of a discussion post. Only the parameters you provide are updated.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. Deprecated: API method documentation
func (*ItemDiscussionsWithDiscussion_numberItemRequestBuilder) Reactions ¶
func (m *ItemDiscussionsWithDiscussion_numberItemRequestBuilder) Reactions() *ItemDiscussionsItemReactionsRequestBuilder
Reactions the reactions property
func (*ItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint.Delete a discussion from a team's page.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. Deprecated:
func (*ItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint.Get a specific discussion on a team's page.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. Deprecated:
func (*ItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemDiscussionsItemWithDiscussion_numberPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint.Edits the title and body text of a discussion post. Only the parameters you provide are updated.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. Deprecated:
func (*ItemDiscussionsWithDiscussion_numberItemRequestBuilder) WithUrl ¶
func (m *ItemDiscussionsWithDiscussion_numberItemRequestBuilder) WithUrl(rawUrl string) *ItemDiscussionsWithDiscussion_numberItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. Deprecated:
type ItemInvitationsRequestBuilder ¶
type ItemInvitationsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemInvitationsRequestBuilder builds and executes requests for operations under \teams\{team_id}\invitations
func NewItemInvitationsRequestBuilder ¶
func NewItemInvitationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInvitationsRequestBuilder
NewItemInvitationsRequestBuilder instantiates a new InvitationsRequestBuilder and sets the default values.
func NewItemInvitationsRequestBuilderInternal ¶
func NewItemInvitationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInvitationsRequestBuilder
NewItemInvitationsRequestBuilderInternal instantiates a new InvitationsRequestBuilder and sets the default values.
func (*ItemInvitationsRequestBuilder) Get ¶
func (m *ItemInvitationsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemInvitationsRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationInvitationable, error)
Get **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint.The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. Deprecated: API method documentation
func (*ItemInvitationsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemInvitationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemInvitationsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint.The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. Deprecated:
func (*ItemInvitationsRequestBuilder) WithUrl ¶
func (m *ItemInvitationsRequestBuilder) WithUrl(rawUrl string) *ItemInvitationsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. Deprecated:
type ItemInvitationsRequestBuilderGetQueryParameters ¶
type ItemInvitationsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemInvitationsRequestBuilderGetQueryParameters **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint.The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.
type ItemMembersRequestBuilder ¶
type ItemMembersRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemMembersRequestBuilder builds and executes requests for operations under \teams\{team_id}\members
func NewItemMembersRequestBuilder ¶
func NewItemMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersRequestBuilder
NewItemMembersRequestBuilder instantiates a new MembersRequestBuilder and sets the default values.
func NewItemMembersRequestBuilderInternal ¶
func NewItemMembersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersRequestBuilder
NewItemMembersRequestBuilderInternal instantiates a new MembersRequestBuilder and sets the default values.
func (*ItemMembersRequestBuilder) ByUsername ¶
func (m *ItemMembersRequestBuilder) ByUsername(username string) *ItemMembersWithUsernameItemRequestBuilder
ByUsername gets an item from the github.com/octokit/go-sdk/pkg/github/.teams.item.members.item collection Deprecated:
func (*ItemMembersRequestBuilder) Get ¶
func (m *ItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemMembersRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SimpleUserable, error)
Get **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint.Team members will include the members of child teams. Deprecated: API method documentation
func (*ItemMembersRequestBuilder) ToGetRequestInformation ¶
func (m *ItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemMembersRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint.Team members will include the members of child teams. Deprecated:
func (*ItemMembersRequestBuilder) WithUrl ¶
func (m *ItemMembersRequestBuilder) WithUrl(rawUrl string) *ItemMembersRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. Deprecated:
type ItemMembersRequestBuilderGetQueryParameters ¶
type ItemMembersRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // Filters members returned by their role in the team. Role *i07b4692185bf98da4f7f935bafdccb4fb97722c77a14ee791910754a6c7b7fa4.GetRoleQueryParameterType `uriparametername:"role"` }
ItemMembersRequestBuilderGetQueryParameters **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint.Team members will include the members of child teams.
type ItemMembersWithUsernameItemRequestBuilder ¶
type ItemMembersWithUsernameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemMembersWithUsernameItemRequestBuilder builds and executes requests for operations under \teams\{team_id}\members\{username}
func NewItemMembersWithUsernameItemRequestBuilder ¶
func NewItemMembersWithUsernameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersWithUsernameItemRequestBuilder
NewItemMembersWithUsernameItemRequestBuilder instantiates a new WithUsernameItemRequestBuilder and sets the default values.
func NewItemMembersWithUsernameItemRequestBuilderInternal ¶
func NewItemMembersWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersWithUsernameItemRequestBuilder
NewItemMembersWithUsernameItemRequestBuilderInternal instantiates a new WithUsernameItemRequestBuilder and sets the default values.
func (*ItemMembersWithUsernameItemRequestBuilder) Delete ¶
func (m *ItemMembersWithUsernameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete the "Remove team member" endpoint (described below) is deprecated.We recommend using the [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.To remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." Deprecated: API method documentation
func (*ItemMembersWithUsernameItemRequestBuilder) Get ¶
func (m *ItemMembersWithUsernameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Get the "Get team member" endpoint (described below) is deprecated.We recommend using the [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.To list members in a team, the team must be visible to the authenticated user. Deprecated: API method documentation
func (*ItemMembersWithUsernameItemRequestBuilder) Put ¶
func (m *ItemMembersWithUsernameItemRequestBuilder) Put(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put the "Add team member" endpoint (described below) is deprecated.We recommend using the [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.To add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." Deprecated: API method documentation
func (*ItemMembersWithUsernameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemMembersWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation the "Remove team member" endpoint (described below) is deprecated.We recommend using the [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.To remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." Deprecated:
func (*ItemMembersWithUsernameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemMembersWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation the "Get team member" endpoint (described below) is deprecated.We recommend using the [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.To list members in a team, the team must be visible to the authenticated user. Deprecated:
func (*ItemMembersWithUsernameItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemMembersWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation the "Add team member" endpoint (described below) is deprecated.We recommend using the [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.To add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." Deprecated:
func (*ItemMembersWithUsernameItemRequestBuilder) WithUrl ¶
func (m *ItemMembersWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *ItemMembersWithUsernameItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. Deprecated:
type ItemMembershipsItemWithUsernamePutRequestBody ¶
type ItemMembershipsItemWithUsernamePutRequestBody struct {
// contains filtered or unexported fields
}
ItemMembershipsItemWithUsernamePutRequestBody
func NewItemMembershipsItemWithUsernamePutRequestBody ¶
func NewItemMembershipsItemWithUsernamePutRequestBody() *ItemMembershipsItemWithUsernamePutRequestBody
NewItemMembershipsItemWithUsernamePutRequestBody instantiates a new ItemMembershipsItemWithUsernamePutRequestBody and sets the default values.
func (*ItemMembershipsItemWithUsernamePutRequestBody) GetAdditionalData ¶
func (m *ItemMembershipsItemWithUsernamePutRequestBody) 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 (*ItemMembershipsItemWithUsernamePutRequestBody) GetFieldDeserializers ¶
func (m *ItemMembershipsItemWithUsernamePutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemMembershipsItemWithUsernamePutRequestBody) Serialize ¶
func (m *ItemMembershipsItemWithUsernamePutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemMembershipsItemWithUsernamePutRequestBody) SetAdditionalData ¶
func (m *ItemMembershipsItemWithUsernamePutRequestBody) 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 ItemMembershipsItemWithUsernamePutRequestBodyable ¶
type ItemMembershipsItemWithUsernamePutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemMembershipsItemWithUsernamePutRequestBodyable
type ItemMembershipsRequestBuilder ¶
type ItemMembershipsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemMembershipsRequestBuilder builds and executes requests for operations under \teams\{team_id}\memberships
func NewItemMembershipsRequestBuilder ¶
func NewItemMembershipsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembershipsRequestBuilder
NewItemMembershipsRequestBuilder instantiates a new MembershipsRequestBuilder and sets the default values.
func NewItemMembershipsRequestBuilderInternal ¶
func NewItemMembershipsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembershipsRequestBuilder
NewItemMembershipsRequestBuilderInternal instantiates a new MembershipsRequestBuilder and sets the default values.
func (*ItemMembershipsRequestBuilder) ByUsername ¶
func (m *ItemMembershipsRequestBuilder) ByUsername(username string) *ItemMembershipsWithUsernameItemRequestBuilder
ByUsername gets an item from the github.com/octokit/go-sdk/pkg/github/.teams.item.memberships.item collection Deprecated:
type ItemMembershipsWithUsernameItemRequestBuilder ¶
type ItemMembershipsWithUsernameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemMembershipsWithUsernameItemRequestBuilder builds and executes requests for operations under \teams\{team_id}\memberships\{username}
func NewItemMembershipsWithUsernameItemRequestBuilder ¶
func NewItemMembershipsWithUsernameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembershipsWithUsernameItemRequestBuilder
NewItemMembershipsWithUsernameItemRequestBuilder instantiates a new WithUsernameItemRequestBuilder and sets the default values.
func NewItemMembershipsWithUsernameItemRequestBuilderInternal ¶
func NewItemMembershipsWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembershipsWithUsernameItemRequestBuilder
NewItemMembershipsWithUsernameItemRequestBuilderInternal instantiates a new WithUsernameItemRequestBuilder and sets the default values.
func (*ItemMembershipsWithUsernameItemRequestBuilder) Delete ¶
func (m *ItemMembershipsWithUsernameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint.Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." Deprecated: API method documentation
func (*ItemMembershipsWithUsernameItemRequestBuilder) Get ¶
func (m *ItemMembershipsWithUsernameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamMembershipable, error)
Get **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint.Team members will include the members of child teams.To get a user's membership with a team, the team must be visible to the authenticated user.**Note:**The response contains the `state` of the membership and the member's `role`.The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/teams/teams#create-a-team). Deprecated: API method documentation
func (*ItemMembershipsWithUsernameItemRequestBuilder) Put ¶
func (m *ItemMembershipsWithUsernameItemRequestBuilder) Put(ctx context.Context, body ItemMembershipsItemWithUsernamePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamMembershipable, error)
Put **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the "pending" state until the user accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. Deprecated: API method documentation
func (*ItemMembershipsWithUsernameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemMembershipsWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint.Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." Deprecated:
func (*ItemMembershipsWithUsernameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemMembershipsWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint.Team members will include the members of child teams.To get a user's membership with a team, the team must be visible to the authenticated user.**Note:**The response contains the `state` of the membership and the member's `role`.The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/teams/teams#create-a-team). Deprecated:
func (*ItemMembershipsWithUsernameItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemMembershipsWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemMembershipsItemWithUsernamePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the "pending" state until the user accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. Deprecated:
func (*ItemMembershipsWithUsernameItemRequestBuilder) WithUrl ¶
func (m *ItemMembershipsWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *ItemMembershipsWithUsernameItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. Deprecated:
type ItemProjectsItemWithProject_403Error ¶
type ItemProjectsItemWithProject_403Error struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ApiError // contains filtered or unexported fields }
ItemProjectsItemWithProject_403Error
func NewItemProjectsItemWithProject_403Error ¶
func NewItemProjectsItemWithProject_403Error() *ItemProjectsItemWithProject_403Error
NewItemProjectsItemWithProject_403Error instantiates a new ItemProjectsItemWithProject_403Error and sets the default values.
func (*ItemProjectsItemWithProject_403Error) Error ¶
func (m *ItemProjectsItemWithProject_403Error) Error() string
Error the primary error message.
func (*ItemProjectsItemWithProject_403Error) GetAdditionalData ¶
func (m *ItemProjectsItemWithProject_403Error) 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 (*ItemProjectsItemWithProject_403Error) GetDocumentationUrl ¶
func (m *ItemProjectsItemWithProject_403Error) GetDocumentationUrl() *string
GetDocumentationUrl gets the documentation_url property value. The documentation_url property
func (*ItemProjectsItemWithProject_403Error) GetFieldDeserializers ¶
func (m *ItemProjectsItemWithProject_403Error) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemProjectsItemWithProject_403Error) GetMessage ¶
func (m *ItemProjectsItemWithProject_403Error) GetMessage() *string
GetMessage gets the message property value. The message property
func (*ItemProjectsItemWithProject_403Error) Serialize ¶
func (m *ItemProjectsItemWithProject_403Error) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemProjectsItemWithProject_403Error) SetAdditionalData ¶
func (m *ItemProjectsItemWithProject_403Error) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemProjectsItemWithProject_403Error) SetDocumentationUrl ¶
func (m *ItemProjectsItemWithProject_403Error) SetDocumentationUrl(value *string)
SetDocumentationUrl sets the documentation_url property value. The documentation_url property
func (*ItemProjectsItemWithProject_403Error) SetMessage ¶
func (m *ItemProjectsItemWithProject_403Error) SetMessage(value *string)
SetMessage sets the message property value. The message property
type ItemProjectsItemWithProject_403Errorable ¶
type ItemProjectsItemWithProject_403Errorable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetDocumentationUrl() *string GetMessage() *string SetDocumentationUrl(value *string) SetMessage(value *string) }
ItemProjectsItemWithProject_403Errorable
type ItemProjectsItemWithProject_PutRequestBody ¶
type ItemProjectsItemWithProject_PutRequestBody struct {
// contains filtered or unexported fields
}
ItemProjectsItemWithProject_PutRequestBody
func NewItemProjectsItemWithProject_PutRequestBody ¶
func NewItemProjectsItemWithProject_PutRequestBody() *ItemProjectsItemWithProject_PutRequestBody
NewItemProjectsItemWithProject_PutRequestBody instantiates a new ItemProjectsItemWithProject_PutRequestBody and sets the default values.
func (*ItemProjectsItemWithProject_PutRequestBody) GetAdditionalData ¶
func (m *ItemProjectsItemWithProject_PutRequestBody) 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 (*ItemProjectsItemWithProject_PutRequestBody) GetFieldDeserializers ¶
func (m *ItemProjectsItemWithProject_PutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemProjectsItemWithProject_PutRequestBody) Serialize ¶
func (m *ItemProjectsItemWithProject_PutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemProjectsItemWithProject_PutRequestBody) SetAdditionalData ¶
func (m *ItemProjectsItemWithProject_PutRequestBody) 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 ItemProjectsItemWithProject_PutRequestBodyable ¶
type ItemProjectsItemWithProject_PutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemProjectsItemWithProject_PutRequestBodyable
type ItemProjectsRequestBuilder ¶
type ItemProjectsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemProjectsRequestBuilder builds and executes requests for operations under \teams\{team_id}\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) ByProject_id ¶
func (m *ItemProjectsRequestBuilder) ByProject_id(project_id int32) *ItemProjectsWithProject_ItemRequestBuilder
ByProject_id gets an item from the github.com/octokit/go-sdk/pkg/github/.teams.item.projects.item collection Deprecated:
func (*ItemProjectsRequestBuilder) Get ¶
func (m *ItemProjectsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemProjectsRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamProjectable, error)
Get **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint.Lists the organization projects for a team. Deprecated: API method documentation
func (*ItemProjectsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemProjectsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemProjectsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint.Lists the organization projects for a team. Deprecated:
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. Deprecated:
type ItemProjectsRequestBuilderGetQueryParameters ¶
type ItemProjectsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemProjectsRequestBuilderGetQueryParameters **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint.Lists the organization projects for a team.
type ItemProjectsWithProject_ItemRequestBuilder ¶
type ItemProjectsWithProject_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemProjectsWithProject_ItemRequestBuilder builds and executes requests for operations under \teams\{team_id}\projects\{project_id}
func NewItemProjectsWithProject_ItemRequestBuilder ¶
func NewItemProjectsWithProject_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemProjectsWithProject_ItemRequestBuilder
NewItemProjectsWithProject_ItemRequestBuilder instantiates a new WithProject_ItemRequestBuilder and sets the default values.
func NewItemProjectsWithProject_ItemRequestBuilderInternal ¶
func NewItemProjectsWithProject_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemProjectsWithProject_ItemRequestBuilder
NewItemProjectsWithProject_ItemRequestBuilderInternal instantiates a new WithProject_ItemRequestBuilder and sets the default values.
func (*ItemProjectsWithProject_ItemRequestBuilder) Delete ¶
func (m *ItemProjectsWithProject_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint.Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it. Deprecated: API method documentation
func (*ItemProjectsWithProject_ItemRequestBuilder) Get ¶
func (m *ItemProjectsWithProject_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamProjectable, error)
Get **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint.Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. Deprecated: API method documentation
func (*ItemProjectsWithProject_ItemRequestBuilder) Put ¶
func (m *ItemProjectsWithProject_ItemRequestBuilder) Put(ctx context.Context, body ItemProjectsItemWithProject_PutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint.Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. Deprecated: API method documentation
func (*ItemProjectsWithProject_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemProjectsWithProject_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint.Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it. Deprecated:
func (*ItemProjectsWithProject_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemProjectsWithProject_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint.Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. Deprecated:
func (*ItemProjectsWithProject_ItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemProjectsWithProject_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemProjectsItemWithProject_PutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint.Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. Deprecated:
func (*ItemProjectsWithProject_ItemRequestBuilder) WithUrl ¶
func (m *ItemProjectsWithProject_ItemRequestBuilder) WithUrl(rawUrl string) *ItemProjectsWithProject_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. Deprecated:
type ItemReposItemItemWithRepoPutRequestBody ¶
type ItemReposItemItemWithRepoPutRequestBody struct {
// contains filtered or unexported fields
}
ItemReposItemItemWithRepoPutRequestBody
func NewItemReposItemItemWithRepoPutRequestBody ¶
func NewItemReposItemItemWithRepoPutRequestBody() *ItemReposItemItemWithRepoPutRequestBody
NewItemReposItemItemWithRepoPutRequestBody instantiates a new ItemReposItemItemWithRepoPutRequestBody and sets the default values.
func (*ItemReposItemItemWithRepoPutRequestBody) GetAdditionalData ¶
func (m *ItemReposItemItemWithRepoPutRequestBody) 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 (*ItemReposItemItemWithRepoPutRequestBody) GetFieldDeserializers ¶
func (m *ItemReposItemItemWithRepoPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemReposItemItemWithRepoPutRequestBody) Serialize ¶
func (m *ItemReposItemItemWithRepoPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemReposItemItemWithRepoPutRequestBody) SetAdditionalData ¶
func (m *ItemReposItemItemWithRepoPutRequestBody) 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 ItemReposItemItemWithRepoPutRequestBodyable ¶
type ItemReposItemItemWithRepoPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemReposItemItemWithRepoPutRequestBodyable
type ItemReposItemWithRepoItemRequestBuilder ¶
type ItemReposItemWithRepoItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemReposItemWithRepoItemRequestBuilder builds and executes requests for operations under \teams\{team_id}\repos\{owner}\{repo}
func NewItemReposItemWithRepoItemRequestBuilder ¶
func NewItemReposItemWithRepoItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemReposItemWithRepoItemRequestBuilder
NewItemReposItemWithRepoItemRequestBuilder instantiates a new WithRepoItemRequestBuilder and sets the default values.
func NewItemReposItemWithRepoItemRequestBuilderInternal ¶
func NewItemReposItemWithRepoItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemReposItemWithRepoItemRequestBuilder
NewItemReposItemWithRepoItemRequestBuilderInternal instantiates a new WithRepoItemRequestBuilder and sets the default values.
func (*ItemReposItemWithRepoItemRequestBuilder) Delete ¶
func (m *ItemReposItemWithRepoItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint.If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team. Deprecated: API method documentation
func (*ItemReposItemWithRepoItemRequestBuilder) Get ¶
func (m *ItemReposItemWithRepoItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamRepositoryable, error)
Get **Note**: Repositories inherited through a parent team will also be checked.**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint.You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: Deprecated: API method documentation
func (*ItemReposItemWithRepoItemRequestBuilder) Put ¶
func (m *ItemReposItemWithRepoItemRequestBuilder) Put(ctx context.Context, body ItemReposItemItemWithRepoPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint.To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." Deprecated: API method documentation
func (*ItemReposItemWithRepoItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemReposItemWithRepoItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint.If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team. Deprecated:
func (*ItemReposItemWithRepoItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemReposItemWithRepoItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation **Note**: Repositories inherited through a parent team will also be checked.**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint.You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: Deprecated:
func (*ItemReposItemWithRepoItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemReposItemWithRepoItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemReposItemItemWithRepoPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint.To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." Deprecated:
func (*ItemReposItemWithRepoItemRequestBuilder) WithUrl ¶
func (m *ItemReposItemWithRepoItemRequestBuilder) WithUrl(rawUrl string) *ItemReposItemWithRepoItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. Deprecated:
type ItemReposRequestBuilder ¶
type ItemReposRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemReposRequestBuilder builds and executes requests for operations under \teams\{team_id}\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) ByOwner ¶
func (m *ItemReposRequestBuilder) ByOwner(owner string) *ItemReposWithOwnerItemRequestBuilder
ByOwner gets an item from the github.com/octokit/go-sdk/pkg/github/.teams.item.repos.item collection
func (*ItemReposRequestBuilder) Get ¶
func (m *ItemReposRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemReposRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable, error)
Get **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. Deprecated: API method documentation
func (*ItemReposRequestBuilder) ToGetRequestInformation ¶
func (m *ItemReposRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemReposRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. Deprecated:
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. Deprecated:
type ItemReposRequestBuilderGetQueryParameters ¶
type ItemReposRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemReposRequestBuilderGetQueryParameters **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint.
type ItemReposWithOwnerItemRequestBuilder ¶
type ItemReposWithOwnerItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemReposWithOwnerItemRequestBuilder builds and executes requests for operations under \teams\{team_id}\repos\{owner}
func NewItemReposWithOwnerItemRequestBuilder ¶
func NewItemReposWithOwnerItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemReposWithOwnerItemRequestBuilder
NewItemReposWithOwnerItemRequestBuilder instantiates a new WithOwnerItemRequestBuilder and sets the default values.
func NewItemReposWithOwnerItemRequestBuilderInternal ¶
func NewItemReposWithOwnerItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemReposWithOwnerItemRequestBuilder
NewItemReposWithOwnerItemRequestBuilderInternal instantiates a new WithOwnerItemRequestBuilder and sets the default values.
func (*ItemReposWithOwnerItemRequestBuilder) ByRepo ¶
func (m *ItemReposWithOwnerItemRequestBuilder) ByRepo(repo string) *ItemReposItemWithRepoItemRequestBuilder
ByRepo gets an item from the github.com/octokit/go-sdk/pkg/github/.teams.item.repos.item.item collection Deprecated:
type ItemTeamsRequestBuilder ¶
type ItemTeamsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemTeamsRequestBuilder builds and executes requests for operations under \teams\{team_id}\teams
func NewItemTeamsRequestBuilder ¶
func NewItemTeamsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsRequestBuilder
NewItemTeamsRequestBuilder instantiates a new TeamsRequestBuilder and sets the default values.
func NewItemTeamsRequestBuilderInternal ¶
func NewItemTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsRequestBuilder
NewItemTeamsRequestBuilderInternal instantiates a new TeamsRequestBuilder and sets the default values.
func (*ItemTeamsRequestBuilder) Get ¶
func (m *ItemTeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemTeamsRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Teamable, error)
Get **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. Deprecated: API method documentation
func (*ItemTeamsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemTeamsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. Deprecated:
func (*ItemTeamsRequestBuilder) WithUrl ¶
func (m *ItemTeamsRequestBuilder) WithUrl(rawUrl string) *ItemTeamsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. Deprecated:
type ItemTeamsRequestBuilderGetQueryParameters ¶
type ItemTeamsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemTeamsRequestBuilderGetQueryParameters **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint.
type ItemWithTeam_PatchRequestBody ¶
type ItemWithTeam_PatchRequestBody struct {
// contains filtered or unexported fields
}
ItemWithTeam_PatchRequestBody
func NewItemWithTeam_PatchRequestBody ¶
func NewItemWithTeam_PatchRequestBody() *ItemWithTeam_PatchRequestBody
NewItemWithTeam_PatchRequestBody instantiates a new ItemWithTeam_PatchRequestBody and sets the default values.
func (*ItemWithTeam_PatchRequestBody) GetAdditionalData ¶
func (m *ItemWithTeam_PatchRequestBody) 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 (*ItemWithTeam_PatchRequestBody) GetDescription ¶
func (m *ItemWithTeam_PatchRequestBody) GetDescription() *string
GetDescription gets the description property value. The description of the team.
func (*ItemWithTeam_PatchRequestBody) GetFieldDeserializers ¶
func (m *ItemWithTeam_PatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemWithTeam_PatchRequestBody) GetName ¶
func (m *ItemWithTeam_PatchRequestBody) GetName() *string
GetName gets the name property value. The name of the team.
func (*ItemWithTeam_PatchRequestBody) GetParentTeamId ¶
func (m *ItemWithTeam_PatchRequestBody) GetParentTeamId() *int32
GetParentTeamId gets the parent_team_id property value. The ID of a team to set as the parent team.
func (*ItemWithTeam_PatchRequestBody) Serialize ¶
func (m *ItemWithTeam_PatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemWithTeam_PatchRequestBody) SetAdditionalData ¶
func (m *ItemWithTeam_PatchRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemWithTeam_PatchRequestBody) SetDescription ¶
func (m *ItemWithTeam_PatchRequestBody) SetDescription(value *string)
SetDescription sets the description property value. The description of the team.
func (*ItemWithTeam_PatchRequestBody) SetName ¶
func (m *ItemWithTeam_PatchRequestBody) SetName(value *string)
SetName sets the name property value. The name of the team.
func (*ItemWithTeam_PatchRequestBody) SetParentTeamId ¶
func (m *ItemWithTeam_PatchRequestBody) SetParentTeamId(value *int32)
SetParentTeamId sets the parent_team_id property value. The ID of a team to set as the parent team.
type ItemWithTeam_PatchRequestBodyable ¶
type ItemWithTeam_PatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetDescription() *string GetName() *string GetParentTeamId() *int32 SetDescription(value *string) SetName(value *string) SetParentTeamId(value *int32) }
ItemWithTeam_PatchRequestBodyable
type TeamsRequestBuilder ¶
type TeamsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
TeamsRequestBuilder builds and executes requests for operations under \teams
func NewTeamsRequestBuilder ¶
func NewTeamsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *TeamsRequestBuilder
NewTeamsRequestBuilder instantiates a new TeamsRequestBuilder and sets the default values.
func NewTeamsRequestBuilderInternal ¶
func NewTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *TeamsRequestBuilder
NewTeamsRequestBuilderInternal instantiates a new TeamsRequestBuilder and sets the default values.
func (*TeamsRequestBuilder) ByTeam_id ¶
func (m *TeamsRequestBuilder) ByTeam_id(team_id int32) *WithTeam_ItemRequestBuilder
ByTeam_id gets an item from the github.com/octokit/go-sdk/pkg/github/.teams.item collection Deprecated:
type WithTeam_ItemRequestBuilder ¶
type WithTeam_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
WithTeam_ItemRequestBuilder builds and executes requests for operations under \teams\{team_id}
func NewWithTeam_ItemRequestBuilder ¶
func NewWithTeam_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithTeam_ItemRequestBuilder
NewWithTeam_ItemRequestBuilder instantiates a new WithTeam_ItemRequestBuilder and sets the default values.
func NewWithTeam_ItemRequestBuilderInternal ¶
func NewWithTeam_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithTeam_ItemRequestBuilder
NewWithTeam_ItemRequestBuilderInternal instantiates a new WithTeam_ItemRequestBuilder and sets the default values.
func (*WithTeam_ItemRequestBuilder) Delete ¶
func (m *WithTeam_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint.To delete a team, the authenticated user must be an organization owner or team maintainer.If you are an organization owner, deleting a parent team will delete all of its child teams as well. Deprecated: API method documentation
func (*WithTeam_ItemRequestBuilder) Discussions ¶
func (m *WithTeam_ItemRequestBuilder) Discussions() *ItemDiscussionsRequestBuilder
Discussions the discussions property
func (*WithTeam_ItemRequestBuilder) Get ¶
func (m *WithTeam_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamFullable, error)
Get **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. Deprecated: API method documentation
func (*WithTeam_ItemRequestBuilder) Invitations ¶
func (m *WithTeam_ItemRequestBuilder) Invitations() *ItemInvitationsRequestBuilder
Invitations the invitations property
func (*WithTeam_ItemRequestBuilder) Members ¶
func (m *WithTeam_ItemRequestBuilder) Members() *ItemMembersRequestBuilder
Members the members property
func (*WithTeam_ItemRequestBuilder) Memberships ¶
func (m *WithTeam_ItemRequestBuilder) Memberships() *ItemMembershipsRequestBuilder
Memberships the memberships property
func (*WithTeam_ItemRequestBuilder) Patch ¶
func (m *WithTeam_ItemRequestBuilder) Patch(ctx context.Context, body ItemWithTeam_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamFullable, error)
Patch **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint.To edit a team, the authenticated user must either be an organization owner or a team maintainer.**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`. Deprecated: API method documentation
func (*WithTeam_ItemRequestBuilder) Projects ¶
func (m *WithTeam_ItemRequestBuilder) Projects() *ItemProjectsRequestBuilder
Projects the projects property
func (*WithTeam_ItemRequestBuilder) Repos ¶
func (m *WithTeam_ItemRequestBuilder) Repos() *ItemReposRequestBuilder
Repos the repos property
func (*WithTeam_ItemRequestBuilder) Teams ¶
func (m *WithTeam_ItemRequestBuilder) Teams() *ItemTeamsRequestBuilder
Teams the teams property
func (*WithTeam_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *WithTeam_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint.To delete a team, the authenticated user must be an organization owner or team maintainer.If you are an organization owner, deleting a parent team will delete all of its child teams as well. Deprecated:
func (*WithTeam_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *WithTeam_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. Deprecated:
func (*WithTeam_ItemRequestBuilder) ToPatchRequestInformation ¶
func (m *WithTeam_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemWithTeam_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint.To edit a team, the authenticated user must either be an organization owner or a team maintainer.**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`. Deprecated:
func (*WithTeam_ItemRequestBuilder) WithUrl ¶
func (m *WithTeam_ItemRequestBuilder) WithUrl(rawUrl string) *WithTeam_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. Deprecated:
Source Files
¶
- item_discussions_item_comments_item_reactions_post_request_body.go
- item_discussions_item_comments_item_reactions_request_builder.go
- item_discussions_item_comments_item_with_comment_number_patch_request_body.go
- item_discussions_item_comments_post_request_body.go
- item_discussions_item_comments_request_builder.go
- item_discussions_item_comments_with_comment_number_item_request_builder.go
- item_discussions_item_reactions_post_request_body.go
- item_discussions_item_reactions_request_builder.go
- item_discussions_item_with_discussion_number_patch_request_body.go
- item_discussions_post_request_body.go
- item_discussions_request_builder.go
- item_discussions_with_discussion_number_item_request_builder.go
- item_invitations_request_builder.go
- item_members_request_builder.go
- item_members_with_username_item_request_builder.go
- item_memberships_item_with_username_put_request_body.go
- item_memberships_request_builder.go
- item_memberships_with_username_item_request_builder.go
- item_projects_item_with_project_403_error.go
- item_projects_item_with_project_put_request_body.go
- item_projects_request_builder.go
- item_projects_with_project_item_request_builder.go
- item_repos_item_item_with_repo_put_request_body.go
- item_repos_item_with_repo_item_request_builder.go
- item_repos_request_builder.go
- item_repos_with_owner_item_request_builder.go
- item_teams_request_builder.go
- item_with_team_patch_request_body.go
- teams_request_builder.go
- with_team_item_request_builder.go