Documentation
¶
Index ¶
- type AssignmentsRequestBuilder
- type ItemAccepted_assignmentsRequestBuilder
- func (m *ItemAccepted_assignmentsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemAccepted_assignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemAccepted_assignmentsRequestBuilder) WithUrl(rawUrl string) *ItemAccepted_assignmentsRequestBuilder
- type ItemAccepted_assignmentsRequestBuilderGetQueryParameters
- type ItemGradesRequestBuilder
- type WithAssignment_ItemRequestBuilder
- func (m *WithAssignment_ItemRequestBuilder) Accepted_assignments() *ItemAccepted_assignmentsRequestBuilder
- func (m *WithAssignment_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *WithAssignment_ItemRequestBuilder) Grades() *ItemGradesRequestBuilder
- func (m *WithAssignment_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *WithAssignment_ItemRequestBuilder) WithUrl(rawUrl string) *WithAssignment_ItemRequestBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignmentsRequestBuilder ¶
type AssignmentsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
AssignmentsRequestBuilder builds and executes requests for operations under \assignments
func NewAssignmentsRequestBuilder ¶
func NewAssignmentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *AssignmentsRequestBuilder
NewAssignmentsRequestBuilder instantiates a new AssignmentsRequestBuilder and sets the default values.
func NewAssignmentsRequestBuilderInternal ¶
func NewAssignmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *AssignmentsRequestBuilder
NewAssignmentsRequestBuilderInternal instantiates a new AssignmentsRequestBuilder and sets the default values.
func (*AssignmentsRequestBuilder) ByAssignment_id ¶
func (m *AssignmentsRequestBuilder) ByAssignment_id(assignment_id int32) *WithAssignment_ItemRequestBuilder
ByAssignment_id gets an item from the github.com/octokit/go-sdk/pkg/github.assignments.item collection returns a *WithAssignment_ItemRequestBuilder when successful
type ItemAccepted_assignmentsRequestBuilder ¶
type ItemAccepted_assignmentsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemAccepted_assignmentsRequestBuilder builds and executes requests for operations under \assignments\{assignment_id}\accepted_assignments
func NewItemAccepted_assignmentsRequestBuilder ¶
func NewItemAccepted_assignmentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemAccepted_assignmentsRequestBuilder
NewItemAccepted_assignmentsRequestBuilder instantiates a new ItemAccepted_assignmentsRequestBuilder and sets the default values.
func NewItemAccepted_assignmentsRequestBuilderInternal ¶
func NewItemAccepted_assignmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemAccepted_assignmentsRequestBuilder
NewItemAccepted_assignmentsRequestBuilderInternal instantiates a new ItemAccepted_assignmentsRequestBuilder and sets the default values.
func (*ItemAccepted_assignmentsRequestBuilder) Get ¶
func (m *ItemAccepted_assignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemAccepted_assignmentsRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ClassroomAcceptedAssignmentable, error)
Get lists any assignment repositories that have been created by students accepting a GitHub Classroom assignment. Accepted assignments will only be returned if the current user is an administrator of the GitHub Classroom for the assignment. returns a []ClassroomAcceptedAssignmentable when successful API method documentation
func (*ItemAccepted_assignmentsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemAccepted_assignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemAccepted_assignmentsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists any assignment repositories that have been created by students accepting a GitHub Classroom assignment. Accepted assignments will only be returned if the current user is an administrator of the GitHub Classroom for the assignment. returns a *RequestInformation when successful
func (*ItemAccepted_assignmentsRequestBuilder) WithUrl ¶
func (m *ItemAccepted_assignmentsRequestBuilder) WithUrl(rawUrl string) *ItemAccepted_assignmentsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemAccepted_assignmentsRequestBuilder when successful
type ItemAccepted_assignmentsRequestBuilderGetQueryParameters ¶
type ItemAccepted_assignmentsRequestBuilderGetQueryParameters 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"` }
ItemAccepted_assignmentsRequestBuilderGetQueryParameters lists any assignment repositories that have been created by students accepting a GitHub Classroom assignment. Accepted assignments will only be returned if the current user is an administrator of the GitHub Classroom for the assignment.
type ItemGradesRequestBuilder ¶
type ItemGradesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemGradesRequestBuilder builds and executes requests for operations under \assignments\{assignment_id}\grades
func NewItemGradesRequestBuilder ¶
func NewItemGradesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemGradesRequestBuilder
NewItemGradesRequestBuilder instantiates a new ItemGradesRequestBuilder and sets the default values.
func NewItemGradesRequestBuilderInternal ¶
func NewItemGradesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemGradesRequestBuilder
NewItemGradesRequestBuilderInternal instantiates a new ItemGradesRequestBuilder and sets the default values.
func (*ItemGradesRequestBuilder) Get ¶
func (m *ItemGradesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ClassroomAssignmentGradeable, error)
Get gets grades for a GitHub Classroom assignment. Grades will only be returned if the current user is an administrator of the GitHub Classroom for the assignment. returns a []ClassroomAssignmentGradeable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemGradesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemGradesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets grades for a GitHub Classroom assignment. Grades will only be returned if the current user is an administrator of the GitHub Classroom for the assignment. returns a *RequestInformation when successful
func (*ItemGradesRequestBuilder) WithUrl ¶
func (m *ItemGradesRequestBuilder) WithUrl(rawUrl string) *ItemGradesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemGradesRequestBuilder when successful
type WithAssignment_ItemRequestBuilder ¶
type WithAssignment_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
WithAssignment_ItemRequestBuilder builds and executes requests for operations under \assignments\{assignment_id}
func NewWithAssignment_ItemRequestBuilder ¶
func NewWithAssignment_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithAssignment_ItemRequestBuilder
NewWithAssignment_ItemRequestBuilder instantiates a new WithAssignment_ItemRequestBuilder and sets the default values.
func NewWithAssignment_ItemRequestBuilderInternal ¶
func NewWithAssignment_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithAssignment_ItemRequestBuilder
NewWithAssignment_ItemRequestBuilderInternal instantiates a new WithAssignment_ItemRequestBuilder and sets the default values.
func (*WithAssignment_ItemRequestBuilder) Accepted_assignments ¶
func (m *WithAssignment_ItemRequestBuilder) Accepted_assignments() *ItemAccepted_assignmentsRequestBuilder
Accepted_assignments the accepted_assignments property returns a *ItemAccepted_assignmentsRequestBuilder when successful
func (*WithAssignment_ItemRequestBuilder) Get ¶
func (m *WithAssignment_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ClassroomAssignmentable, error)
Get gets a GitHub Classroom assignment. Assignment will only be returned if the current user is an administrator of the GitHub Classroom for the assignment. returns a ClassroomAssignmentable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*WithAssignment_ItemRequestBuilder) Grades ¶
func (m *WithAssignment_ItemRequestBuilder) Grades() *ItemGradesRequestBuilder
Grades the grades property returns a *ItemGradesRequestBuilder when successful
func (*WithAssignment_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *WithAssignment_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a GitHub Classroom assignment. Assignment will only be returned if the current user is an administrator of the GitHub Classroom for the assignment. returns a *RequestInformation when successful
func (*WithAssignment_ItemRequestBuilder) WithUrl ¶
func (m *WithAssignment_ItemRequestBuilder) WithUrl(rawUrl string) *WithAssignment_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *WithAssignment_ItemRequestBuilder when successful