classrooms

package
v0.0.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClassroomsRequestBuilder

ClassroomsRequestBuilder builds and executes requests for operations under \classrooms

func NewClassroomsRequestBuilder

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 returns a *WithClassroom_ItemRequestBuilder when successful

func (*ClassroomsRequestBuilder) Get

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. returns a []SimpleClassroomable when successful API method documentation

func (*ClassroomsRequestBuilder) ToGetRequestInformation

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. returns a *RequestInformation when successful

func (*ClassroomsRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ClassroomsRequestBuilder when successful

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

ItemAssignmentsRequestBuilder builds and executes requests for operations under \classrooms\{classroom_id}\assignments

func NewItemAssignmentsRequestBuilder

NewItemAssignmentsRequestBuilder instantiates a new ItemAssignmentsRequestBuilder and sets the default values.

func NewItemAssignmentsRequestBuilderInternal

func NewItemAssignmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemAssignmentsRequestBuilder

NewItemAssignmentsRequestBuilderInternal instantiates a new ItemAssignmentsRequestBuilder and sets the default values.

func (*ItemAssignmentsRequestBuilder) Get

Get lists GitHub Classroom assignments for a classroom. Assignments will only be returned if the current user is an administrator of the GitHub Classroom. returns a []SimpleClassroomAssignmentable when successful API method documentation

func (*ItemAssignmentsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists GitHub Classroom assignments for a classroom. Assignments will only be returned if the current user is an administrator of the GitHub Classroom. returns a *RequestInformation when successful

func (*ItemAssignmentsRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemAssignmentsRequestBuilder when successful

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

WithClassroom_ItemRequestBuilder builds and executes requests for operations under \classrooms\{classroom_id}

func NewWithClassroom_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

Assignments the assignments property returns a *ItemAssignmentsRequestBuilder when successful

func (*WithClassroom_ItemRequestBuilder) Get

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. returns a Classroomable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*WithClassroom_ItemRequestBuilder) ToGetRequestInformation

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. returns a *RequestInformation when successful

func (*WithClassroom_ItemRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *WithClassroom_ItemRequestBuilder when successful

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL