Documentation
¶
Index ¶
- type ClassroomsRequestBuilder
- func (m *ClassroomsRequestBuilder) ByClassroom_id(classroom_id int32) *WithClassroom_ItemRequestBuilder
- func (m *ClassroomsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ClassroomsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ClassroomsRequestBuilder) WithUrl(rawUrl string) *ClassroomsRequestBuilder
- type ClassroomsRequestBuilderGetQueryParameters
- type ItemAssignmentsRequestBuilder
- type ItemAssignmentsRequestBuilderGetQueryParameters
- type WithClassroom_ItemRequestBuilder
- func (m *WithClassroom_ItemRequestBuilder) Assignments() *ItemAssignmentsRequestBuilder
- func (m *WithClassroom_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *WithClassroom_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *WithClassroom_ItemRequestBuilder) WithUrl(rawUrl string) *WithClassroom_ItemRequestBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClassroomsRequestBuilder ¶
type ClassroomsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ClassroomsRequestBuilder builds and executes requests for operations under \classrooms
func NewClassroomsRequestBuilder ¶
func NewClassroomsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ClassroomsRequestBuilder
NewClassroomsRequestBuilder instantiates a new ClassroomsRequestBuilder and sets the default values.
func NewClassroomsRequestBuilderInternal ¶
func NewClassroomsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ClassroomsRequestBuilder
NewClassroomsRequestBuilderInternal instantiates a new ClassroomsRequestBuilder and sets the default values.
func (*ClassroomsRequestBuilder) ByClassroom_id ¶
func (m *ClassroomsRequestBuilder) ByClassroom_id(classroom_id int32) *WithClassroom_ItemRequestBuilder
ByClassroom_id gets an item from the github.com/octokit/go-sdk/pkg/github/.classrooms.item collection
func (*ClassroomsRequestBuilder) Get ¶
func (m *ClassroomsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ClassroomsRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SimpleClassroomable, error)
Get lists GitHub Classroom classrooms for the current user. Classrooms will only be returned if the current user is an administrator of one or more GitHub Classrooms. API method documentation
func (*ClassroomsRequestBuilder) ToGetRequestInformation ¶
func (m *ClassroomsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ClassroomsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists GitHub Classroom classrooms for the current user. Classrooms will only be returned if the current user is an administrator of one or more GitHub Classrooms.
func (*ClassroomsRequestBuilder) WithUrl ¶
func (m *ClassroomsRequestBuilder) WithUrl(rawUrl string) *ClassroomsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ClassroomsRequestBuilderGetQueryParameters ¶
type ClassroomsRequestBuilderGetQueryParameters 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"` }
ClassroomsRequestBuilderGetQueryParameters lists GitHub Classroom classrooms for the current user. Classrooms will only be returned if the current user is an administrator of one or more GitHub Classrooms.
type ItemAssignmentsRequestBuilder ¶
type ItemAssignmentsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemAssignmentsRequestBuilder builds and executes requests for operations under \classrooms\{classroom_id}\assignments
func NewItemAssignmentsRequestBuilder ¶
func NewItemAssignmentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemAssignmentsRequestBuilder
NewItemAssignmentsRequestBuilder instantiates a new AssignmentsRequestBuilder and sets the default values.
func NewItemAssignmentsRequestBuilderInternal ¶
func NewItemAssignmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemAssignmentsRequestBuilder
NewItemAssignmentsRequestBuilderInternal instantiates a new AssignmentsRequestBuilder and sets the default values.
func (*ItemAssignmentsRequestBuilder) Get ¶
func (m *ItemAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemAssignmentsRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SimpleClassroomAssignmentable, error)
Get lists GitHub Classroom assignments for a classroom. Assignments will only be returned if the current user is an administrator of the GitHub Classroom. API method documentation
func (*ItemAssignmentsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemAssignmentsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists GitHub Classroom assignments for a classroom. Assignments will only be returned if the current user is an administrator of the GitHub Classroom.
func (*ItemAssignmentsRequestBuilder) WithUrl ¶
func (m *ItemAssignmentsRequestBuilder) WithUrl(rawUrl string) *ItemAssignmentsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemAssignmentsRequestBuilderGetQueryParameters ¶
type ItemAssignmentsRequestBuilderGetQueryParameters 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"` }
ItemAssignmentsRequestBuilderGetQueryParameters lists GitHub Classroom assignments for a classroom. Assignments will only be returned if the current user is an administrator of the GitHub Classroom.
type WithClassroom_ItemRequestBuilder ¶
type WithClassroom_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
WithClassroom_ItemRequestBuilder builds and executes requests for operations under \classrooms\{classroom_id}
func NewWithClassroom_ItemRequestBuilder ¶
func NewWithClassroom_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithClassroom_ItemRequestBuilder
NewWithClassroom_ItemRequestBuilder instantiates a new WithClassroom_ItemRequestBuilder and sets the default values.
func NewWithClassroom_ItemRequestBuilderInternal ¶
func NewWithClassroom_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithClassroom_ItemRequestBuilder
NewWithClassroom_ItemRequestBuilderInternal instantiates a new WithClassroom_ItemRequestBuilder and sets the default values.
func (*WithClassroom_ItemRequestBuilder) Assignments ¶
func (m *WithClassroom_ItemRequestBuilder) Assignments() *ItemAssignmentsRequestBuilder
Assignments the assignments property
func (*WithClassroom_ItemRequestBuilder) Get ¶
func (m *WithClassroom_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Classroomable, error)
Get gets a GitHub Classroom classroom for the current user. Classroom will only be returned if the current user is an administrator of the GitHub Classroom. API method documentation
func (*WithClassroom_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *WithClassroom_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a GitHub Classroom classroom for the current user. Classroom will only be returned if the current user is an administrator of the GitHub Classroom.
func (*WithClassroom_ItemRequestBuilder) WithUrl ¶
func (m *WithClassroom_ItemRequestBuilder) WithUrl(rawUrl string) *WithClassroom_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.