codioapi

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2025 License: MIT Imports: 20 Imported by: 0

README

Go API client for codioapi

Documentation APIs v1.0

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1.0
  • Package version: 1.0.0
  • Generator version: 7.18.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import codioapi "github.com/codio/codio-api-go"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value codioapi.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), codioapi.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value codioapi.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), codioapi.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using codioapi.ContextOperationServerIndices and codioapi.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), codioapi.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), codioapi.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://octopus.codio.com

Class Method HTTP request Description
AssessmentLibrariesAPIAPI AssessmentLibraryCreateAssessment Post /api/v1/assessment_library/{libraryId}/assessment Create assessment
AssessmentLibrariesAPIAPI AssessmentLibraryGetAssessment Get /api/v1/assessment_library/{libraryId}/assessment/{id} Get assessment
AssessmentLibrariesAPIAPI AssessmentLibrarySearch Get /api/v1/assessment_library/{libraryId}/assessment Search assessments
AssessmentLibrariesAPIAPI AssessmentLibraryUpdateAssessment Put /api/v1/assessment_library/{libraryId}/assessment/{id} Update assessment
AssessmentLibrariesAPIAPI ListLibraries Get /api/v1/assessment_library List assessment libraries
CourseAPIAPI ArchiveCourse Post /api/v1/courses/{courseId}/archive Archive Course
CourseAPIAPI CourseStructure Get /api/v1/courses/{courseId} Fetch Course Structure
CourseAPIAPI CoursesList Get /api/v1/courses_list List Organization Courses
CourseAPIAPI CreateCourse Post /api/v1/courses Create Course
CourseAPIAPI CreateCourseModule Post /api/v1/courses/{courseId}/modules Create Course Module
CourseAPIAPI FilterLearnersForMentors Post /api/v1/courses/{courseId}/filterLearnersForMentors Filter Learners For Mentors
CourseAPIAPI FindCourse Get /api/v1/courses Find Course
CourseAPIAPI ListCourseStudents Get /api/v1/courses/{courseId}/students List Course Students
CourseAPIAPI ListCourseTeachers Get /api/v1/courses/{courseId}/teachers List Course Teachers
CourseAPIAPI StudentCourseProgress Get /api/v1/courses/{courseId}/students/{studentId}/progress Fetch Course Structure
CourseAPIAPI UpdateBooks Post /api/v1/courses/{courseId}/update_books Update Course Books
CourseAssignmentsAPIAPI AssignmentStudentsInfo Get /api/v1/courses/{courseId}/assignments/{assignmentId}/students Get assignment students info
CourseAssignmentsAPIAPI AssignmentVersionPublish Post /api/v1/courses/{courseId}/assignments/{assignmentId}/versions Publish new assignment version
CourseAssignmentsAPIAPI AssignmentVersionPublishesStatus Get /api/v1/courses/{courseId}/assignments/{assignmentId}/publishes/{taskId} Get assignment publish status
CourseAssignmentsAPIAPI CreateProjectBasedAssignment Post /api/v1/courses/{courseId}/assignments Create Project Based Assignment
CourseAssignmentsAPIAPI FetchAssignmentSettings Get /api/v1/courses/{courseId}/assignments/{assignmentId}/settings Fetch Assignment Settings
CourseAssignmentsAPIAPI UpdateAssignmentSettings Post /api/v1/courses/{courseId}/assignments/{assignmentId}/settings Update Assignment Settings
CourseAssignmentsAPIAPI UpdateStudentTimeExtensions Post /api/v1/courses/{courseId}/assignments/{assignmentId}/students/{studentId} Update Student Time Extensions
CourseBooksAPIAPI BookVersionPublish Post /api/v1/books/{bookId}/versions Publish new book version
CourseBooksAPIAPI BookVersionPublishesStatus Get /api/v1/books/{bookId}/publishes/{taskId} Get book publish status
CourseExportsAPIAPI ExportAssessmentData Get /api/v1/courses/{courseId}/export/assessments/csv Export Assessment Data CSV
CourseExportsAPIAPI ExportAssignmentCSV Get /api/v1/courses/{courseId}/assignments/{assignmentId}/export/csv Export Assignment CSV
CourseExportsAPIAPI ExportCoachData Post /api/v1/courses/{courseId}/export/coach Export Coach Data
CourseExportsAPIAPI ExportCoachDataByTask Get /api/v1/courses/{courseId}/export/coach/progress/{taskId} Fetch Export Coach Data Status
CourseExportsAPIAPI ExportCourseSourceDataItemByTask Get /api/v1/courses/{courseId}/export/sources/progress/{taskId} Fetch Export Sources Status
CourseExportsAPIAPI ExportCourseSourceDataItems Get /api/v1/courses/{courseId}/export/sources List Exports Course Sources Data
CourseExportsAPIAPI ExportCourseSourcesData Post /api/v1/courses/{courseId}/export/sources Export Course Sources
CourseExportsAPIAPI ExportCourseWorkData Post /api/v1/courses/{courseId}/export/workdata Export Course Work Data
CourseExportsAPIAPI ExportCourseWorkDataItemByTask Get /api/v1/courses/{courseId}/export/workdata/progress/{taskId} Fetch Export Work Data Status
CourseExportsAPIAPI ExportCourseWorkDataItems Get /api/v1/courses/{courseId}/export/workdata List Exports Course Work Data
CourseExportsAPIAPI ExportLLMProxyData Post /api/v1/courses/{courseId}/export/llmproxy Export LLMProxy Data
CourseExportsAPIAPI ExportLLMProxyDataByTaskRoute Get /api/v1/courses/{courseId}/export/llmproxy/progress/{taskId} Fetch Export LLMProxy Data Status
CourseExportsAPIAPI ExportStudentCSV Get /api/v1/courses/{courseId}/students/{studentId}/export/csv Export Student CSV
CourseExportsAPIAPI FetchDownloadStatus Get /api/v1/courses/{courseId}/export/assessments/csv/download/{taskId} Fetch Export Assessment Data CSV Status
CourseExportsAPIAPI FetchDownloadStatusStudent Get /api/v1/courses/{courseId}/assignments/{assignmentId}/students/{studentId}/download/{taskId} Fetch Export Student Data CSV Status
CourseExportsAPIAPI StartedAssignmentDownload Get /api/v1/courses/{courseId}/assignments/{assignmentId}/students/{studentId}/download Fetch Export Assessment Data CSV Status
CourseMembersAPIAPI AddTeacher Post /api/v1/courses/{courseId}/teachers Add teacher to course
EventsAPIAPI EventList Get /api/v1/events List Webhook Events
StackAPIAPI StackInfo Get /api/v1/stacks/{stackId} Get stack information
StackAPIAPI StackVersionsPublish Post /api/v1/stacks/{stackId}/versions Publish new stack version
StackAPIAPI StackVersionsPublishStatus Get /api/v1/stacks/{stackId}/tasks/{taskId} Get stack version publish information

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

bearerAuth
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), codioapi.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	AssessmentLibrariesAPIAPI *AssessmentLibrariesAPIAPIService

	CourseAPIAPI *CourseAPIAPIService

	CourseAssignmentsAPIAPI *CourseAssignmentsAPIAPIService

	CourseBooksAPIAPI *CourseBooksAPIAPIService

	CourseExportsAPIAPI *CourseExportsAPIAPIService

	CourseMembersAPIAPI *CourseMembersAPIAPIService

	EventsAPIAPI *EventsAPIAPIService

	StackAPIAPI *StackAPIAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Codio API API v1.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type AddTeacherToCourse added in v0.0.2

type AddTeacherToCourse struct {
	// User identifier
	UserId *string `json:"userId,omitempty"`
	// Teacher access, it will be ignored for org owners.
	ReadOnly *bool `json:"readOnly,omitempty"`
}

AddTeacherToCourse struct for AddTeacherToCourse

func NewAddTeacherToCourse added in v0.0.2

func NewAddTeacherToCourse() *AddTeacherToCourse

NewAddTeacherToCourse instantiates a new AddTeacherToCourse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAddTeacherToCourseWithDefaults added in v0.0.2

func NewAddTeacherToCourseWithDefaults() *AddTeacherToCourse

NewAddTeacherToCourseWithDefaults instantiates a new AddTeacherToCourse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AddTeacherToCourse) GetReadOnly added in v0.0.2

func (o *AddTeacherToCourse) GetReadOnly() bool

GetReadOnly returns the ReadOnly field value if set, zero value otherwise.

func (*AddTeacherToCourse) GetReadOnlyOk added in v0.0.2

func (o *AddTeacherToCourse) GetReadOnlyOk() (*bool, bool)

GetReadOnlyOk returns a tuple with the ReadOnly field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AddTeacherToCourse) GetUserId added in v0.0.2

func (o *AddTeacherToCourse) GetUserId() string

GetUserId returns the UserId field value if set, zero value otherwise.

func (*AddTeacherToCourse) GetUserIdOk added in v0.0.2

func (o *AddTeacherToCourse) GetUserIdOk() (*string, bool)

GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AddTeacherToCourse) HasReadOnly added in v0.0.2

func (o *AddTeacherToCourse) HasReadOnly() bool

HasReadOnly returns a boolean if a field has been set.

func (*AddTeacherToCourse) HasUserId added in v0.0.2

func (o *AddTeacherToCourse) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (AddTeacherToCourse) MarshalJSON added in v0.0.2

func (o AddTeacherToCourse) MarshalJSON() ([]byte, error)

func (*AddTeacherToCourse) SetReadOnly added in v0.0.2

func (o *AddTeacherToCourse) SetReadOnly(v bool)

SetReadOnly gets a reference to the given bool and assigns it to the ReadOnly field.

func (*AddTeacherToCourse) SetUserId added in v0.0.2

func (o *AddTeacherToCourse) SetUserId(v string)

SetUserId gets a reference to the given string and assigns it to the UserId field.

func (AddTeacherToCourse) ToMap added in v0.0.2

func (o AddTeacherToCourse) ToMap() (map[string]interface{}, error)

type AddTeacherToCourseAnswer added in v0.0.2

type AddTeacherToCourseAnswer struct {
	Completed *bool `json:"completed,omitempty"`
}

AddTeacherToCourseAnswer struct for AddTeacherToCourseAnswer

func NewAddTeacherToCourseAnswer added in v0.0.2

func NewAddTeacherToCourseAnswer() *AddTeacherToCourseAnswer

NewAddTeacherToCourseAnswer instantiates a new AddTeacherToCourseAnswer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAddTeacherToCourseAnswerWithDefaults added in v0.0.2

func NewAddTeacherToCourseAnswerWithDefaults() *AddTeacherToCourseAnswer

NewAddTeacherToCourseAnswerWithDefaults instantiates a new AddTeacherToCourseAnswer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AddTeacherToCourseAnswer) GetCompleted added in v0.0.2

func (o *AddTeacherToCourseAnswer) GetCompleted() bool

GetCompleted returns the Completed field value if set, zero value otherwise.

func (*AddTeacherToCourseAnswer) GetCompletedOk added in v0.0.2

func (o *AddTeacherToCourseAnswer) GetCompletedOk() (*bool, bool)

GetCompletedOk returns a tuple with the Completed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AddTeacherToCourseAnswer) HasCompleted added in v0.0.2

func (o *AddTeacherToCourseAnswer) HasCompleted() bool

HasCompleted returns a boolean if a field has been set.

func (AddTeacherToCourseAnswer) MarshalJSON added in v0.0.2

func (o AddTeacherToCourseAnswer) MarshalJSON() ([]byte, error)

func (*AddTeacherToCourseAnswer) SetCompleted added in v0.0.2

func (o *AddTeacherToCourseAnswer) SetCompleted(v bool)

SetCompleted gets a reference to the given bool and assigns it to the Completed field.

func (AddTeacherToCourseAnswer) ToMap added in v0.0.2

func (o AddTeacherToCourseAnswer) ToMap() (map[string]interface{}, error)

type ApiAddTeacherRequest added in v0.0.2

type ApiAddTeacherRequest struct {
	ApiService *CourseMembersAPIAPIService
	// contains filtered or unexported fields
}

func (ApiAddTeacherRequest) AddTeacherToCourse added in v0.0.2

func (r ApiAddTeacherRequest) AddTeacherToCourse(addTeacherToCourse AddTeacherToCourse) ApiAddTeacherRequest

func (ApiAddTeacherRequest) Execute added in v0.0.2

type ApiArchiveCourseRequest

type ApiArchiveCourseRequest struct {
	ApiService *CourseAPIAPIService
	// contains filtered or unexported fields
}

func (ApiArchiveCourseRequest) Execute

type ApiAssessmentLibraryCreateAssessmentRequest

type ApiAssessmentLibraryCreateAssessmentRequest struct {
	ApiService *AssessmentLibrariesAPIAPIService
	// contains filtered or unexported fields
}

func (ApiAssessmentLibraryCreateAssessmentRequest) Assessment

func (ApiAssessmentLibraryCreateAssessmentRequest) Bundle

Optional file archive data to be published

func (ApiAssessmentLibraryCreateAssessmentRequest) Execute

type ApiAssessmentLibraryGetAssessmentRequest

type ApiAssessmentLibraryGetAssessmentRequest struct {
	ApiService *AssessmentLibrariesAPIAPIService
	// contains filtered or unexported fields
}

func (ApiAssessmentLibraryGetAssessmentRequest) Execute

type ApiAssessmentLibrarySearchRequest

type ApiAssessmentLibrarySearchRequest struct {
	ApiService *AssessmentLibrariesAPIAPIService
	// contains filtered or unexported fields
}

func (ApiAssessmentLibrarySearchRequest) Count

Optional count parameter

func (ApiAssessmentLibrarySearchRequest) Execute

func (ApiAssessmentLibrarySearchRequest) Free

Free form tag search is allowed

func (ApiAssessmentLibrarySearchRequest) Offset

Optional offset parameter

type ApiAssessmentLibraryUpdateAssessmentRequest

type ApiAssessmentLibraryUpdateAssessmentRequest struct {
	ApiService *AssessmentLibrariesAPIAPIService
	// contains filtered or unexported fields
}

func (ApiAssessmentLibraryUpdateAssessmentRequest) Assessment

func (ApiAssessmentLibraryUpdateAssessmentRequest) Bundle

Optional file archive data to be published

func (ApiAssessmentLibraryUpdateAssessmentRequest) Execute

type ApiAssignmentStudentsInfoRequest

type ApiAssignmentStudentsInfoRequest struct {
	ApiService *CourseAssignmentsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiAssignmentStudentsInfoRequest) Execute

type ApiAssignmentVersionPublishRequest

type ApiAssignmentVersionPublishRequest struct {
	ApiService *CourseAssignmentsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiAssignmentVersionPublishRequest) Changelog

Publish changelog

func (ApiAssignmentVersionPublishRequest) Execute

func (ApiAssignmentVersionPublishRequest) File

File archive data to be published

func (ApiAssignmentVersionPublishRequest) StackVersionId

Stack version identification

func (ApiAssignmentVersionPublishRequest) WithStackUpdate

Propagate stack update

type ApiAssignmentVersionPublishesStatusRequest

type ApiAssignmentVersionPublishesStatusRequest struct {
	ApiService *CourseAssignmentsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiAssignmentVersionPublishesStatusRequest) Execute

type ApiBookVersionPublishRequest

type ApiBookVersionPublishRequest struct {
	ApiService *CourseBooksAPIAPIService
	// contains filtered or unexported fields
}

func (ApiBookVersionPublishRequest) Changelog

Publish changelog

func (ApiBookVersionPublishRequest) Execute

func (ApiBookVersionPublishRequest) File

File archive data to be published

func (ApiBookVersionPublishRequest) StackVersionId

func (r ApiBookVersionPublishRequest) StackVersionId(stackVersionId string) ApiBookVersionPublishRequest

Stack version identification

func (ApiBookVersionPublishRequest) WithStackUpdate

func (r ApiBookVersionPublishRequest) WithStackUpdate(withStackUpdate bool) ApiBookVersionPublishRequest

Propagate stack update

type ApiBookVersionPublishesStatusRequest

type ApiBookVersionPublishesStatusRequest struct {
	ApiService *CourseBooksAPIAPIService
	// contains filtered or unexported fields
}

func (ApiBookVersionPublishesStatusRequest) Execute

type ApiCourseStructureRequest

type ApiCourseStructureRequest struct {
	ApiService *CourseAPIAPIService
	// contains filtered or unexported fields
}

func (ApiCourseStructureRequest) Execute

func (ApiCourseStructureRequest) WithHiddenAssignments

func (r ApiCourseStructureRequest) WithHiddenAssignments(withHiddenAssignments string) ApiCourseStructureRequest

Fetch hidden assignments

type ApiCoursesListRequest

type ApiCoursesListRequest struct {
	ApiService *CourseAPIAPIService
	// contains filtered or unexported fields
}

func (ApiCoursesListRequest) Archived

func (r ApiCoursesListRequest) Archived(archived string) ApiCoursesListRequest

Archived courses filter

func (ApiCoursesListRequest) Execute

func (ApiCoursesListRequest) NextToken

func (r ApiCoursesListRequest) NextToken(nextToken string) ApiCoursesListRequest

Next search data portion token, if specified - other parameters will be ignored

type ApiCreateCourseModuleRequest

type ApiCreateCourseModuleRequest struct {
	ApiService *CourseAPIAPIService
	// contains filtered or unexported fields
}

func (ApiCreateCourseModuleRequest) CreateCourseModule

func (r ApiCreateCourseModuleRequest) CreateCourseModule(createCourseModule CreateCourseModule) ApiCreateCourseModuleRequest

func (ApiCreateCourseModuleRequest) Execute

type ApiCreateCourseRequest

type ApiCreateCourseRequest struct {
	ApiService *CourseAPIAPIService
	// contains filtered or unexported fields
}

func (ApiCreateCourseRequest) CreateCourse

func (r ApiCreateCourseRequest) CreateCourse(createCourse CreateCourse) ApiCreateCourseRequest

func (ApiCreateCourseRequest) Execute

type ApiCreateProjectBasedAssignmentRequest

type ApiCreateProjectBasedAssignmentRequest struct {
	ApiService *CourseAssignmentsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiCreateProjectBasedAssignmentRequest) CreateAssignment

func (ApiCreateProjectBasedAssignmentRequest) Execute

type ApiEventListRequest

type ApiEventListRequest struct {
	ApiService *EventsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiEventListRequest) Execute

func (r ApiEventListRequest) Execute() (*EventsList, *http.Response, error)

func (ApiEventListRequest) Limit

Count of returned events

func (ApiEventListRequest) NextToken

func (r ApiEventListRequest) NextToken(nextToken string) ApiEventListRequest

Continuation request token

type ApiExportAssessmentDataRequest

type ApiExportAssessmentDataRequest struct {
	ApiService *CourseExportsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiExportAssessmentDataRequest) Execute

type ApiExportAssignmentCSVRequest

type ApiExportAssignmentCSVRequest struct {
	ApiService *CourseExportsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiExportAssignmentCSVRequest) Execute

type ApiExportCoachDataByTaskRequest

type ApiExportCoachDataByTaskRequest struct {
	ApiService *CourseExportsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiExportCoachDataByTaskRequest) Execute

type ApiExportCoachDataRequest

type ApiExportCoachDataRequest struct {
	ApiService *CourseExportsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiExportCoachDataRequest) Execute

type ApiExportCourseSourceDataItemByTaskRequest

type ApiExportCourseSourceDataItemByTaskRequest struct {
	ApiService *CourseExportsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiExportCourseSourceDataItemByTaskRequest) Execute

type ApiExportCourseSourceDataItemsRequest

type ApiExportCourseSourceDataItemsRequest struct {
	ApiService *CourseExportsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiExportCourseSourceDataItemsRequest) Execute

type ApiExportCourseSourcesDataRequest

type ApiExportCourseSourcesDataRequest struct {
	ApiService *CourseExportsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiExportCourseSourcesDataRequest) Execute

type ApiExportCourseWorkDataItemByTaskRequest

type ApiExportCourseWorkDataItemByTaskRequest struct {
	ApiService *CourseExportsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiExportCourseWorkDataItemByTaskRequest) Execute

type ApiExportCourseWorkDataItemsRequest

type ApiExportCourseWorkDataItemsRequest struct {
	ApiService *CourseExportsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiExportCourseWorkDataItemsRequest) Execute

type ApiExportCourseWorkDataRequest

type ApiExportCourseWorkDataRequest struct {
	ApiService *CourseExportsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiExportCourseWorkDataRequest) Execute

type ApiExportLLMProxyDataByTaskRouteRequest

type ApiExportLLMProxyDataByTaskRouteRequest struct {
	ApiService *CourseExportsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiExportLLMProxyDataByTaskRouteRequest) Execute

type ApiExportLLMProxyDataRequest

type ApiExportLLMProxyDataRequest struct {
	ApiService *CourseExportsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiExportLLMProxyDataRequest) Execute

type ApiExportStudentCSVRequest

type ApiExportStudentCSVRequest struct {
	ApiService *CourseExportsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiExportStudentCSVRequest) Execute

type ApiFetchAssignmentSettingsRequest

type ApiFetchAssignmentSettingsRequest struct {
	ApiService *CourseAssignmentsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiFetchAssignmentSettingsRequest) Execute

type ApiFetchDownloadStatusRequest

type ApiFetchDownloadStatusRequest struct {
	ApiService *CourseExportsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiFetchDownloadStatusRequest) Execute

type ApiFetchDownloadStatusStudentRequest

type ApiFetchDownloadStatusStudentRequest struct {
	ApiService *CourseExportsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiFetchDownloadStatusStudentRequest) Execute

type ApiFilterLearnersForMentorsRequest

type ApiFilterLearnersForMentorsRequest struct {
	ApiService *CourseAPIAPIService
	// contains filtered or unexported fields
}

func (ApiFilterLearnersForMentorsRequest) Body

func (ApiFilterLearnersForMentorsRequest) Execute

type ApiFindCourseRequest

type ApiFindCourseRequest struct {
	ApiService *CourseAPIAPIService
	// contains filtered or unexported fields
}

func (ApiFindCourseRequest) Execute

func (r ApiFindCourseRequest) Execute() (*Course, *http.Response, error)

func (ApiFindCourseRequest) Name

Course name

func (ApiFindCourseRequest) WithHiddenAssignments

func (r ApiFindCourseRequest) WithHiddenAssignments(withHiddenAssignments string) ApiFindCourseRequest

Fetch hidden assignments

type ApiListCourseStudentsRequest

type ApiListCourseStudentsRequest struct {
	ApiService *CourseAPIAPIService
	// contains filtered or unexported fields
}

func (ApiListCourseStudentsRequest) Execute

type ApiListCourseTeachersRequest

type ApiListCourseTeachersRequest struct {
	ApiService *CourseAPIAPIService
	// contains filtered or unexported fields
}

func (ApiListCourseTeachersRequest) Execute

type ApiListLibrariesRequest

type ApiListLibrariesRequest struct {
	ApiService *AssessmentLibrariesAPIAPIService
	// contains filtered or unexported fields
}

func (ApiListLibrariesRequest) Execute

type ApiStackInfoRequest

type ApiStackInfoRequest struct {
	ApiService *StackAPIAPIService
	// contains filtered or unexported fields
}

func (ApiStackInfoRequest) Execute

func (r ApiStackInfoRequest) Execute() (*StackInfo, *http.Response, error)

type ApiStackVersionsPublishRequest

type ApiStackVersionsPublishRequest struct {
	ApiService *StackAPIAPIService
	// contains filtered or unexported fields
}

func (ApiStackVersionsPublishRequest) Content

Optional provision instructions. Content or bundle should be specified

func (ApiStackVersionsPublishRequest) Execute

func (ApiStackVersionsPublishRequest) File

Optional bundle for provisioner. Content or bundle should be specified

func (ApiStackVersionsPublishRequest) Id

func (ApiStackVersionsPublishRequest) Message

func (ApiStackVersionsPublishRequest) Provisioner

Provisioner type

type ApiStackVersionsPublishStatusRequest

type ApiStackVersionsPublishStatusRequest struct {
	ApiService *StackAPIAPIService
	// contains filtered or unexported fields
}

func (ApiStackVersionsPublishStatusRequest) Execute

type ApiStartedAssignmentDownloadRequest

type ApiStartedAssignmentDownloadRequest struct {
	ApiService *CourseExportsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiStartedAssignmentDownloadRequest) Execute

type ApiStudentCourseProgressRequest

type ApiStudentCourseProgressRequest struct {
	ApiService *CourseAPIAPIService
	// contains filtered or unexported fields
}

func (ApiStudentCourseProgressRequest) Execute

type ApiUpdateAssignmentSettingsRequest

type ApiUpdateAssignmentSettingsRequest struct {
	ApiService *CourseAssignmentsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateAssignmentSettingsRequest) AssignmentSettings

func (ApiUpdateAssignmentSettingsRequest) Execute

type ApiUpdateBooksRequest

type ApiUpdateBooksRequest struct {
	ApiService *CourseAPIAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateBooksRequest) BookId

Book id to process

func (ApiUpdateBooksRequest) Execute

func (r ApiUpdateBooksRequest) Execute() (*Course, *http.Response, error)

type ApiUpdateStudentTimeExtensionsRequest

type ApiUpdateStudentTimeExtensionsRequest struct {
	ApiService *CourseAssignmentsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateStudentTimeExtensionsRequest) Execute

func (ApiUpdateStudentTimeExtensionsRequest) StudentTimeExtension

type ArchiveCourse

type ArchiveCourse struct {
	// Course archive date, ISO Date String
	ArchivedDate *string `json:"archivedDate,omitempty"`
}

ArchiveCourse struct for ArchiveCourse

func NewArchiveCourse

func NewArchiveCourse() *ArchiveCourse

NewArchiveCourse instantiates a new ArchiveCourse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewArchiveCourseWithDefaults

func NewArchiveCourseWithDefaults() *ArchiveCourse

NewArchiveCourseWithDefaults instantiates a new ArchiveCourse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ArchiveCourse) GetArchivedDate

func (o *ArchiveCourse) GetArchivedDate() string

GetArchivedDate returns the ArchivedDate field value if set, zero value otherwise.

func (*ArchiveCourse) GetArchivedDateOk

func (o *ArchiveCourse) GetArchivedDateOk() (*string, bool)

GetArchivedDateOk returns a tuple with the ArchivedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ArchiveCourse) HasArchivedDate

func (o *ArchiveCourse) HasArchivedDate() bool

HasArchivedDate returns a boolean if a field has been set.

func (ArchiveCourse) MarshalJSON

func (o ArchiveCourse) MarshalJSON() ([]byte, error)

func (*ArchiveCourse) SetArchivedDate

func (o *ArchiveCourse) SetArchivedDate(v string)

SetArchivedDate gets a reference to the given string and assigns it to the ArchivedDate field.

func (ArchiveCourse) ToMap

func (o ArchiveCourse) ToMap() (map[string]interface{}, error)

type AssessmentLibrariesAPIAPIService

type AssessmentLibrariesAPIAPIService service

AssessmentLibrariesAPIAPIService AssessmentLibrariesAPIAPI service

func (*AssessmentLibrariesAPIAPIService) AssessmentLibraryCreateAssessment

func (a *AssessmentLibrariesAPIAPIService) AssessmentLibraryCreateAssessment(ctx context.Context, libraryId string) ApiAssessmentLibraryCreateAssessmentRequest

AssessmentLibraryCreateAssessment Create assessment

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param libraryId Library id
@return ApiAssessmentLibraryCreateAssessmentRequest

func (*AssessmentLibrariesAPIAPIService) AssessmentLibraryCreateAssessmentExecute

func (a *AssessmentLibrariesAPIAPIService) AssessmentLibraryCreateAssessmentExecute(r ApiAssessmentLibraryCreateAssessmentRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*AssessmentLibrariesAPIAPIService) AssessmentLibraryGetAssessment

func (a *AssessmentLibrariesAPIAPIService) AssessmentLibraryGetAssessment(ctx context.Context, libraryId string, id string) ApiAssessmentLibraryGetAssessmentRequest

AssessmentLibraryGetAssessment Get assessment

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param libraryId Library id
@param id Assessment id
@return ApiAssessmentLibraryGetAssessmentRequest

func (*AssessmentLibrariesAPIAPIService) AssessmentLibraryGetAssessmentExecute

Execute executes the request

@return string

func (*AssessmentLibrariesAPIAPIService) AssessmentLibrarySearch

AssessmentLibrarySearch Search assessments

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param libraryId Library id
@return ApiAssessmentLibrarySearchRequest

func (*AssessmentLibrariesAPIAPIService) AssessmentLibrarySearchExecute

Execute executes the request

@return SocrateAnswerExample

func (*AssessmentLibrariesAPIAPIService) AssessmentLibraryUpdateAssessment

func (a *AssessmentLibrariesAPIAPIService) AssessmentLibraryUpdateAssessment(ctx context.Context, libraryId string, id string) ApiAssessmentLibraryUpdateAssessmentRequest

AssessmentLibraryUpdateAssessment Update assessment

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param libraryId Library id
@param id Assessment id
@return ApiAssessmentLibraryUpdateAssessmentRequest

func (*AssessmentLibrariesAPIAPIService) AssessmentLibraryUpdateAssessmentExecute

func (a *AssessmentLibrariesAPIAPIService) AssessmentLibraryUpdateAssessmentExecute(r ApiAssessmentLibraryUpdateAssessmentRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*AssessmentLibrariesAPIAPIService) ListLibraries

ListLibraries List assessment libraries

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListLibrariesRequest

func (*AssessmentLibrariesAPIAPIService) ListLibrariesExecute

Execute executes the request

@return []SocratesLibrary

type Assignment

type Assignment struct {
	// Assignment name
	Name *string `json:"name,omitempty"`
	// Assignment identifier
	Id *string `json:"id,omitempty"`
}

Assignment struct for Assignment

func NewAssignment

func NewAssignment() *Assignment

NewAssignment instantiates a new Assignment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAssignmentWithDefaults

func NewAssignmentWithDefaults() *Assignment

NewAssignmentWithDefaults instantiates a new Assignment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Assignment) GetId

func (o *Assignment) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Assignment) GetIdOk

func (o *Assignment) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Assignment) GetName

func (o *Assignment) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Assignment) GetNameOk

func (o *Assignment) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Assignment) HasId

func (o *Assignment) HasId() bool

HasId returns a boolean if a field has been set.

func (*Assignment) HasName

func (o *Assignment) HasName() bool

HasName returns a boolean if a field has been set.

func (Assignment) MarshalJSON

func (o Assignment) MarshalJSON() ([]byte, error)

func (*Assignment) SetId

func (o *Assignment) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Assignment) SetName

func (o *Assignment) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (Assignment) ToMap

func (o Assignment) ToMap() (map[string]interface{}, error)

type AssignmentProgress

type AssignmentProgress struct {
	// Seconds spent in the assignment
	SecondsSpent *int32 `json:"seconds_spent,omitempty"`
	// Student grade
	Grade *int32 `json:"grade,omitempty"`
	// Assignment status
	Status *string `json:"status,omitempty"`
	// Assignment completion date, ISO Date String
	CompletionDate *string `json:"completion_date,omitempty"`
	// Extended time limit
	ExtendedTimeLimit *int32 `json:"extended_time_limit,omitempty"`
	// Extended deadline
	ExtendedDeadline *int32 `json:"extended_deadline,omitempty"`
}

AssignmentProgress struct for AssignmentProgress

func NewAssignmentProgress

func NewAssignmentProgress() *AssignmentProgress

NewAssignmentProgress instantiates a new AssignmentProgress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAssignmentProgressWithDefaults

func NewAssignmentProgressWithDefaults() *AssignmentProgress

NewAssignmentProgressWithDefaults instantiates a new AssignmentProgress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AssignmentProgress) GetCompletionDate

func (o *AssignmentProgress) GetCompletionDate() string

GetCompletionDate returns the CompletionDate field value if set, zero value otherwise.

func (*AssignmentProgress) GetCompletionDateOk

func (o *AssignmentProgress) GetCompletionDateOk() (*string, bool)

GetCompletionDateOk returns a tuple with the CompletionDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentProgress) GetExtendedDeadline

func (o *AssignmentProgress) GetExtendedDeadline() int32

GetExtendedDeadline returns the ExtendedDeadline field value if set, zero value otherwise.

func (*AssignmentProgress) GetExtendedDeadlineOk

func (o *AssignmentProgress) GetExtendedDeadlineOk() (*int32, bool)

GetExtendedDeadlineOk returns a tuple with the ExtendedDeadline field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentProgress) GetExtendedTimeLimit

func (o *AssignmentProgress) GetExtendedTimeLimit() int32

GetExtendedTimeLimit returns the ExtendedTimeLimit field value if set, zero value otherwise.

func (*AssignmentProgress) GetExtendedTimeLimitOk

func (o *AssignmentProgress) GetExtendedTimeLimitOk() (*int32, bool)

GetExtendedTimeLimitOk returns a tuple with the ExtendedTimeLimit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentProgress) GetGrade

func (o *AssignmentProgress) GetGrade() int32

GetGrade returns the Grade field value if set, zero value otherwise.

func (*AssignmentProgress) GetGradeOk

func (o *AssignmentProgress) GetGradeOk() (*int32, bool)

GetGradeOk returns a tuple with the Grade field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentProgress) GetSecondsSpent

func (o *AssignmentProgress) GetSecondsSpent() int32

GetSecondsSpent returns the SecondsSpent field value if set, zero value otherwise.

func (*AssignmentProgress) GetSecondsSpentOk

func (o *AssignmentProgress) GetSecondsSpentOk() (*int32, bool)

GetSecondsSpentOk returns a tuple with the SecondsSpent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentProgress) GetStatus

func (o *AssignmentProgress) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*AssignmentProgress) GetStatusOk

func (o *AssignmentProgress) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentProgress) HasCompletionDate

func (o *AssignmentProgress) HasCompletionDate() bool

HasCompletionDate returns a boolean if a field has been set.

func (*AssignmentProgress) HasExtendedDeadline

func (o *AssignmentProgress) HasExtendedDeadline() bool

HasExtendedDeadline returns a boolean if a field has been set.

func (*AssignmentProgress) HasExtendedTimeLimit

func (o *AssignmentProgress) HasExtendedTimeLimit() bool

HasExtendedTimeLimit returns a boolean if a field has been set.

func (*AssignmentProgress) HasGrade

func (o *AssignmentProgress) HasGrade() bool

HasGrade returns a boolean if a field has been set.

func (*AssignmentProgress) HasSecondsSpent

func (o *AssignmentProgress) HasSecondsSpent() bool

HasSecondsSpent returns a boolean if a field has been set.

func (*AssignmentProgress) HasStatus

func (o *AssignmentProgress) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (AssignmentProgress) MarshalJSON

func (o AssignmentProgress) MarshalJSON() ([]byte, error)

func (*AssignmentProgress) SetCompletionDate

func (o *AssignmentProgress) SetCompletionDate(v string)

SetCompletionDate gets a reference to the given string and assigns it to the CompletionDate field.

func (*AssignmentProgress) SetExtendedDeadline

func (o *AssignmentProgress) SetExtendedDeadline(v int32)

SetExtendedDeadline gets a reference to the given int32 and assigns it to the ExtendedDeadline field.

func (*AssignmentProgress) SetExtendedTimeLimit

func (o *AssignmentProgress) SetExtendedTimeLimit(v int32)

SetExtendedTimeLimit gets a reference to the given int32 and assigns it to the ExtendedTimeLimit field.

func (*AssignmentProgress) SetGrade

func (o *AssignmentProgress) SetGrade(v int32)

SetGrade gets a reference to the given int32 and assigns it to the Grade field.

func (*AssignmentProgress) SetSecondsSpent

func (o *AssignmentProgress) SetSecondsSpent(v int32)

SetSecondsSpent gets a reference to the given int32 and assigns it to the SecondsSpent field.

func (*AssignmentProgress) SetStatus

func (o *AssignmentProgress) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (AssignmentProgress) ToMap

func (o AssignmentProgress) ToMap() (map[string]interface{}, error)

type AssignmentProgressItem

type AssignmentProgressItem struct {
	// Assignment name
	AssignmentName *string `json:"assignment_name,omitempty"`
	// Module id
	AssignmentId *string `json:"assignment_id,omitempty"`
	Started      *bool   `json:"started,omitempty"`
	// Assignment progress
	Progress *AssignmentProgress `json:"progress,omitempty"`
}

AssignmentProgressItem struct for AssignmentProgressItem

func NewAssignmentProgressItem

func NewAssignmentProgressItem() *AssignmentProgressItem

NewAssignmentProgressItem instantiates a new AssignmentProgressItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAssignmentProgressItemWithDefaults

func NewAssignmentProgressItemWithDefaults() *AssignmentProgressItem

NewAssignmentProgressItemWithDefaults instantiates a new AssignmentProgressItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AssignmentProgressItem) GetAssignmentId

func (o *AssignmentProgressItem) GetAssignmentId() string

GetAssignmentId returns the AssignmentId field value if set, zero value otherwise.

func (*AssignmentProgressItem) GetAssignmentIdOk

func (o *AssignmentProgressItem) GetAssignmentIdOk() (*string, bool)

GetAssignmentIdOk returns a tuple with the AssignmentId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentProgressItem) GetAssignmentName

func (o *AssignmentProgressItem) GetAssignmentName() string

GetAssignmentName returns the AssignmentName field value if set, zero value otherwise.

func (*AssignmentProgressItem) GetAssignmentNameOk

func (o *AssignmentProgressItem) GetAssignmentNameOk() (*string, bool)

GetAssignmentNameOk returns a tuple with the AssignmentName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentProgressItem) GetProgress

func (o *AssignmentProgressItem) GetProgress() AssignmentProgress

GetProgress returns the Progress field value if set, zero value otherwise.

func (*AssignmentProgressItem) GetProgressOk

func (o *AssignmentProgressItem) GetProgressOk() (*AssignmentProgress, bool)

GetProgressOk returns a tuple with the Progress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentProgressItem) GetStarted

func (o *AssignmentProgressItem) GetStarted() bool

GetStarted returns the Started field value if set, zero value otherwise.

func (*AssignmentProgressItem) GetStartedOk

func (o *AssignmentProgressItem) GetStartedOk() (*bool, bool)

GetStartedOk returns a tuple with the Started field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentProgressItem) HasAssignmentId

func (o *AssignmentProgressItem) HasAssignmentId() bool

HasAssignmentId returns a boolean if a field has been set.

func (*AssignmentProgressItem) HasAssignmentName

func (o *AssignmentProgressItem) HasAssignmentName() bool

HasAssignmentName returns a boolean if a field has been set.

func (*AssignmentProgressItem) HasProgress

func (o *AssignmentProgressItem) HasProgress() bool

HasProgress returns a boolean if a field has been set.

func (*AssignmentProgressItem) HasStarted

func (o *AssignmentProgressItem) HasStarted() bool

HasStarted returns a boolean if a field has been set.

func (AssignmentProgressItem) MarshalJSON

func (o AssignmentProgressItem) MarshalJSON() ([]byte, error)

func (*AssignmentProgressItem) SetAssignmentId

func (o *AssignmentProgressItem) SetAssignmentId(v string)

SetAssignmentId gets a reference to the given string and assigns it to the AssignmentId field.

func (*AssignmentProgressItem) SetAssignmentName

func (o *AssignmentProgressItem) SetAssignmentName(v string)

SetAssignmentName gets a reference to the given string and assigns it to the AssignmentName field.

func (*AssignmentProgressItem) SetProgress

func (o *AssignmentProgressItem) SetProgress(v AssignmentProgress)

SetProgress gets a reference to the given AssignmentProgress and assigns it to the Progress field.

func (*AssignmentProgressItem) SetStarted

func (o *AssignmentProgressItem) SetStarted(v bool)

SetStarted gets a reference to the given bool and assigns it to the Started field.

func (AssignmentProgressItem) ToMap

func (o AssignmentProgressItem) ToMap() (map[string]interface{}, error)

type AssignmentSettings

type AssignmentSettings struct {
	IsDisabled                     *bool `json:"isDisabled,omitempty"`
	ReleaseGrades                  *bool `json:"releaseGrades,omitempty"`
	EnableResetAssignmentByStudent *bool `json:"enableResetAssignmentByStudent,omitempty"`
	DisableDownloadByStudent       *bool `json:"disableDownloadByStudent,omitempty"`
	// Assignment visibility
	VisibilityOnDisabled *string `json:"visibilityOnDisabled,omitempty"`
	// Assignment visibility on completed
	VisibilityOnCompleted   *string          `json:"visibilityOnCompleted,omitempty"`
	PenaltiesV2             *PenaltySettings `json:"penaltiesV2,omitempty"`
	ExamMode                *ExamMode        `json:"examMode,omitempty"`
	Start                   *string          `json:"start,omitempty"`
	Due                     *string          `json:"due,omitempty"`
	MarkAsCompleteOnDueDate *bool            `json:"markAsCompleteOnDueDate,omitempty"`
	End                     *string          `json:"end,omitempty"`
	// Assignment action on completed
	Action *string `json:"action,omitempty"`
}

AssignmentSettings struct for AssignmentSettings

func NewAssignmentSettings

func NewAssignmentSettings() *AssignmentSettings

NewAssignmentSettings instantiates a new AssignmentSettings object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAssignmentSettingsWithDefaults

func NewAssignmentSettingsWithDefaults() *AssignmentSettings

NewAssignmentSettingsWithDefaults instantiates a new AssignmentSettings object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AssignmentSettings) GetAction

func (o *AssignmentSettings) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*AssignmentSettings) GetActionOk

func (o *AssignmentSettings) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettings) GetDisableDownloadByStudent

func (o *AssignmentSettings) GetDisableDownloadByStudent() bool

GetDisableDownloadByStudent returns the DisableDownloadByStudent field value if set, zero value otherwise.

func (*AssignmentSettings) GetDisableDownloadByStudentOk

func (o *AssignmentSettings) GetDisableDownloadByStudentOk() (*bool, bool)

GetDisableDownloadByStudentOk returns a tuple with the DisableDownloadByStudent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettings) GetDue

func (o *AssignmentSettings) GetDue() string

GetDue returns the Due field value if set, zero value otherwise.

func (*AssignmentSettings) GetDueOk

func (o *AssignmentSettings) GetDueOk() (*string, bool)

GetDueOk returns a tuple with the Due field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettings) GetEnableResetAssignmentByStudent

func (o *AssignmentSettings) GetEnableResetAssignmentByStudent() bool

GetEnableResetAssignmentByStudent returns the EnableResetAssignmentByStudent field value if set, zero value otherwise.

func (*AssignmentSettings) GetEnableResetAssignmentByStudentOk

func (o *AssignmentSettings) GetEnableResetAssignmentByStudentOk() (*bool, bool)

GetEnableResetAssignmentByStudentOk returns a tuple with the EnableResetAssignmentByStudent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettings) GetEnd

func (o *AssignmentSettings) GetEnd() string

GetEnd returns the End field value if set, zero value otherwise.

func (*AssignmentSettings) GetEndOk

func (o *AssignmentSettings) GetEndOk() (*string, bool)

GetEndOk returns a tuple with the End field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettings) GetExamMode

func (o *AssignmentSettings) GetExamMode() ExamMode

GetExamMode returns the ExamMode field value if set, zero value otherwise.

func (*AssignmentSettings) GetExamModeOk

func (o *AssignmentSettings) GetExamModeOk() (*ExamMode, bool)

GetExamModeOk returns a tuple with the ExamMode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettings) GetIsDisabled

func (o *AssignmentSettings) GetIsDisabled() bool

GetIsDisabled returns the IsDisabled field value if set, zero value otherwise.

func (*AssignmentSettings) GetIsDisabledOk

func (o *AssignmentSettings) GetIsDisabledOk() (*bool, bool)

GetIsDisabledOk returns a tuple with the IsDisabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettings) GetMarkAsCompleteOnDueDate

func (o *AssignmentSettings) GetMarkAsCompleteOnDueDate() bool

GetMarkAsCompleteOnDueDate returns the MarkAsCompleteOnDueDate field value if set, zero value otherwise.

func (*AssignmentSettings) GetMarkAsCompleteOnDueDateOk

func (o *AssignmentSettings) GetMarkAsCompleteOnDueDateOk() (*bool, bool)

GetMarkAsCompleteOnDueDateOk returns a tuple with the MarkAsCompleteOnDueDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettings) GetPenaltiesV2

func (o *AssignmentSettings) GetPenaltiesV2() PenaltySettings

GetPenaltiesV2 returns the PenaltiesV2 field value if set, zero value otherwise.

func (*AssignmentSettings) GetPenaltiesV2Ok

func (o *AssignmentSettings) GetPenaltiesV2Ok() (*PenaltySettings, bool)

GetPenaltiesV2Ok returns a tuple with the PenaltiesV2 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettings) GetReleaseGrades

func (o *AssignmentSettings) GetReleaseGrades() bool

GetReleaseGrades returns the ReleaseGrades field value if set, zero value otherwise.

func (*AssignmentSettings) GetReleaseGradesOk

func (o *AssignmentSettings) GetReleaseGradesOk() (*bool, bool)

GetReleaseGradesOk returns a tuple with the ReleaseGrades field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettings) GetStart

func (o *AssignmentSettings) GetStart() string

GetStart returns the Start field value if set, zero value otherwise.

func (*AssignmentSettings) GetStartOk

func (o *AssignmentSettings) GetStartOk() (*string, bool)

GetStartOk returns a tuple with the Start field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettings) GetVisibilityOnCompleted

func (o *AssignmentSettings) GetVisibilityOnCompleted() string

GetVisibilityOnCompleted returns the VisibilityOnCompleted field value if set, zero value otherwise.

func (*AssignmentSettings) GetVisibilityOnCompletedOk

func (o *AssignmentSettings) GetVisibilityOnCompletedOk() (*string, bool)

GetVisibilityOnCompletedOk returns a tuple with the VisibilityOnCompleted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettings) GetVisibilityOnDisabled

func (o *AssignmentSettings) GetVisibilityOnDisabled() string

GetVisibilityOnDisabled returns the VisibilityOnDisabled field value if set, zero value otherwise.

func (*AssignmentSettings) GetVisibilityOnDisabledOk

func (o *AssignmentSettings) GetVisibilityOnDisabledOk() (*string, bool)

GetVisibilityOnDisabledOk returns a tuple with the VisibilityOnDisabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettings) HasAction

func (o *AssignmentSettings) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*AssignmentSettings) HasDisableDownloadByStudent

func (o *AssignmentSettings) HasDisableDownloadByStudent() bool

HasDisableDownloadByStudent returns a boolean if a field has been set.

func (*AssignmentSettings) HasDue

func (o *AssignmentSettings) HasDue() bool

HasDue returns a boolean if a field has been set.

func (*AssignmentSettings) HasEnableResetAssignmentByStudent

func (o *AssignmentSettings) HasEnableResetAssignmentByStudent() bool

HasEnableResetAssignmentByStudent returns a boolean if a field has been set.

func (*AssignmentSettings) HasEnd

func (o *AssignmentSettings) HasEnd() bool

HasEnd returns a boolean if a field has been set.

func (*AssignmentSettings) HasExamMode

func (o *AssignmentSettings) HasExamMode() bool

HasExamMode returns a boolean if a field has been set.

func (*AssignmentSettings) HasIsDisabled

func (o *AssignmentSettings) HasIsDisabled() bool

HasIsDisabled returns a boolean if a field has been set.

func (*AssignmentSettings) HasMarkAsCompleteOnDueDate

func (o *AssignmentSettings) HasMarkAsCompleteOnDueDate() bool

HasMarkAsCompleteOnDueDate returns a boolean if a field has been set.

func (*AssignmentSettings) HasPenaltiesV2

func (o *AssignmentSettings) HasPenaltiesV2() bool

HasPenaltiesV2 returns a boolean if a field has been set.

func (*AssignmentSettings) HasReleaseGrades

func (o *AssignmentSettings) HasReleaseGrades() bool

HasReleaseGrades returns a boolean if a field has been set.

func (*AssignmentSettings) HasStart

func (o *AssignmentSettings) HasStart() bool

HasStart returns a boolean if a field has been set.

func (*AssignmentSettings) HasVisibilityOnCompleted

func (o *AssignmentSettings) HasVisibilityOnCompleted() bool

HasVisibilityOnCompleted returns a boolean if a field has been set.

func (*AssignmentSettings) HasVisibilityOnDisabled

func (o *AssignmentSettings) HasVisibilityOnDisabled() bool

HasVisibilityOnDisabled returns a boolean if a field has been set.

func (AssignmentSettings) MarshalJSON

func (o AssignmentSettings) MarshalJSON() ([]byte, error)

func (*AssignmentSettings) SetAction

func (o *AssignmentSettings) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*AssignmentSettings) SetDisableDownloadByStudent

func (o *AssignmentSettings) SetDisableDownloadByStudent(v bool)

SetDisableDownloadByStudent gets a reference to the given bool and assigns it to the DisableDownloadByStudent field.

func (*AssignmentSettings) SetDue

func (o *AssignmentSettings) SetDue(v string)

SetDue gets a reference to the given string and assigns it to the Due field.

func (*AssignmentSettings) SetEnableResetAssignmentByStudent

func (o *AssignmentSettings) SetEnableResetAssignmentByStudent(v bool)

SetEnableResetAssignmentByStudent gets a reference to the given bool and assigns it to the EnableResetAssignmentByStudent field.

func (*AssignmentSettings) SetEnd

func (o *AssignmentSettings) SetEnd(v string)

SetEnd gets a reference to the given string and assigns it to the End field.

func (*AssignmentSettings) SetExamMode

func (o *AssignmentSettings) SetExamMode(v ExamMode)

SetExamMode gets a reference to the given ExamMode and assigns it to the ExamMode field.

func (*AssignmentSettings) SetIsDisabled

func (o *AssignmentSettings) SetIsDisabled(v bool)

SetIsDisabled gets a reference to the given bool and assigns it to the IsDisabled field.

func (*AssignmentSettings) SetMarkAsCompleteOnDueDate

func (o *AssignmentSettings) SetMarkAsCompleteOnDueDate(v bool)

SetMarkAsCompleteOnDueDate gets a reference to the given bool and assigns it to the MarkAsCompleteOnDueDate field.

func (*AssignmentSettings) SetPenaltiesV2

func (o *AssignmentSettings) SetPenaltiesV2(v PenaltySettings)

SetPenaltiesV2 gets a reference to the given PenaltySettings and assigns it to the PenaltiesV2 field.

func (*AssignmentSettings) SetReleaseGrades

func (o *AssignmentSettings) SetReleaseGrades(v bool)

SetReleaseGrades gets a reference to the given bool and assigns it to the ReleaseGrades field.

func (*AssignmentSettings) SetStart

func (o *AssignmentSettings) SetStart(v string)

SetStart gets a reference to the given string and assigns it to the Start field.

func (*AssignmentSettings) SetVisibilityOnCompleted

func (o *AssignmentSettings) SetVisibilityOnCompleted(v string)

SetVisibilityOnCompleted gets a reference to the given string and assigns it to the VisibilityOnCompleted field.

func (*AssignmentSettings) SetVisibilityOnDisabled

func (o *AssignmentSettings) SetVisibilityOnDisabled(v string)

SetVisibilityOnDisabled gets a reference to the given string and assigns it to the VisibilityOnDisabled field.

func (AssignmentSettings) ToMap

func (o AssignmentSettings) ToMap() (map[string]interface{}, error)

type AssignmentSettingsResult

type AssignmentSettingsResult struct {
	IsDisabled                     *bool `json:"isDisabled,omitempty"`
	ReleaseGrades                  *bool `json:"releaseGrades,omitempty"`
	EnableResetAssignmentByStudent *bool `json:"enableResetAssignmentByStudent,omitempty"`
	DisableDownloadByStudent       *bool `json:"disableDownloadByStudent,omitempty"`
	// Assignment visibility
	VisibilityOnDisabled *string `json:"visibilityOnDisabled,omitempty"`
	// Assignment visibility on completed
	VisibilityOnCompleted   *string          `json:"visibilityOnCompleted,omitempty"`
	PenaltiesV2             *PenaltySettings `json:"penaltiesV2,omitempty"`
	StartTime               *string          `json:"startTime,omitempty"`
	DueTime                 *string          `json:"dueTime,omitempty"`
	MarkAsCompleteOnDueDate *bool            `json:"markAsCompleteOnDueDate,omitempty"`
	EndTime                 *string          `json:"endTime,omitempty"`
	// Assignment action on completed
	Action   *string   `json:"action,omitempty"`
	ExamMode *ExamMode `json:"examMode,omitempty"`
}

AssignmentSettingsResult struct for AssignmentSettingsResult

func NewAssignmentSettingsResult

func NewAssignmentSettingsResult() *AssignmentSettingsResult

NewAssignmentSettingsResult instantiates a new AssignmentSettingsResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAssignmentSettingsResultWithDefaults

func NewAssignmentSettingsResultWithDefaults() *AssignmentSettingsResult

NewAssignmentSettingsResultWithDefaults instantiates a new AssignmentSettingsResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AssignmentSettingsResult) GetAction

func (o *AssignmentSettingsResult) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*AssignmentSettingsResult) GetActionOk

func (o *AssignmentSettingsResult) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettingsResult) GetDisableDownloadByStudent

func (o *AssignmentSettingsResult) GetDisableDownloadByStudent() bool

GetDisableDownloadByStudent returns the DisableDownloadByStudent field value if set, zero value otherwise.

func (*AssignmentSettingsResult) GetDisableDownloadByStudentOk

func (o *AssignmentSettingsResult) GetDisableDownloadByStudentOk() (*bool, bool)

GetDisableDownloadByStudentOk returns a tuple with the DisableDownloadByStudent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettingsResult) GetDueTime

func (o *AssignmentSettingsResult) GetDueTime() string

GetDueTime returns the DueTime field value if set, zero value otherwise.

func (*AssignmentSettingsResult) GetDueTimeOk

func (o *AssignmentSettingsResult) GetDueTimeOk() (*string, bool)

GetDueTimeOk returns a tuple with the DueTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettingsResult) GetEnableResetAssignmentByStudent

func (o *AssignmentSettingsResult) GetEnableResetAssignmentByStudent() bool

GetEnableResetAssignmentByStudent returns the EnableResetAssignmentByStudent field value if set, zero value otherwise.

func (*AssignmentSettingsResult) GetEnableResetAssignmentByStudentOk

func (o *AssignmentSettingsResult) GetEnableResetAssignmentByStudentOk() (*bool, bool)

GetEnableResetAssignmentByStudentOk returns a tuple with the EnableResetAssignmentByStudent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettingsResult) GetEndTime

func (o *AssignmentSettingsResult) GetEndTime() string

GetEndTime returns the EndTime field value if set, zero value otherwise.

func (*AssignmentSettingsResult) GetEndTimeOk

func (o *AssignmentSettingsResult) GetEndTimeOk() (*string, bool)

GetEndTimeOk returns a tuple with the EndTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettingsResult) GetExamMode

func (o *AssignmentSettingsResult) GetExamMode() ExamMode

GetExamMode returns the ExamMode field value if set, zero value otherwise.

func (*AssignmentSettingsResult) GetExamModeOk

func (o *AssignmentSettingsResult) GetExamModeOk() (*ExamMode, bool)

GetExamModeOk returns a tuple with the ExamMode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettingsResult) GetIsDisabled

func (o *AssignmentSettingsResult) GetIsDisabled() bool

GetIsDisabled returns the IsDisabled field value if set, zero value otherwise.

func (*AssignmentSettingsResult) GetIsDisabledOk

func (o *AssignmentSettingsResult) GetIsDisabledOk() (*bool, bool)

GetIsDisabledOk returns a tuple with the IsDisabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettingsResult) GetMarkAsCompleteOnDueDate

func (o *AssignmentSettingsResult) GetMarkAsCompleteOnDueDate() bool

GetMarkAsCompleteOnDueDate returns the MarkAsCompleteOnDueDate field value if set, zero value otherwise.

func (*AssignmentSettingsResult) GetMarkAsCompleteOnDueDateOk

func (o *AssignmentSettingsResult) GetMarkAsCompleteOnDueDateOk() (*bool, bool)

GetMarkAsCompleteOnDueDateOk returns a tuple with the MarkAsCompleteOnDueDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettingsResult) GetPenaltiesV2

func (o *AssignmentSettingsResult) GetPenaltiesV2() PenaltySettings

GetPenaltiesV2 returns the PenaltiesV2 field value if set, zero value otherwise.

func (*AssignmentSettingsResult) GetPenaltiesV2Ok

func (o *AssignmentSettingsResult) GetPenaltiesV2Ok() (*PenaltySettings, bool)

GetPenaltiesV2Ok returns a tuple with the PenaltiesV2 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettingsResult) GetReleaseGrades

func (o *AssignmentSettingsResult) GetReleaseGrades() bool

GetReleaseGrades returns the ReleaseGrades field value if set, zero value otherwise.

func (*AssignmentSettingsResult) GetReleaseGradesOk

func (o *AssignmentSettingsResult) GetReleaseGradesOk() (*bool, bool)

GetReleaseGradesOk returns a tuple with the ReleaseGrades field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettingsResult) GetStartTime

func (o *AssignmentSettingsResult) GetStartTime() string

GetStartTime returns the StartTime field value if set, zero value otherwise.

func (*AssignmentSettingsResult) GetStartTimeOk

func (o *AssignmentSettingsResult) GetStartTimeOk() (*string, bool)

GetStartTimeOk returns a tuple with the StartTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettingsResult) GetVisibilityOnCompleted

func (o *AssignmentSettingsResult) GetVisibilityOnCompleted() string

GetVisibilityOnCompleted returns the VisibilityOnCompleted field value if set, zero value otherwise.

func (*AssignmentSettingsResult) GetVisibilityOnCompletedOk

func (o *AssignmentSettingsResult) GetVisibilityOnCompletedOk() (*string, bool)

GetVisibilityOnCompletedOk returns a tuple with the VisibilityOnCompleted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettingsResult) GetVisibilityOnDisabled

func (o *AssignmentSettingsResult) GetVisibilityOnDisabled() string

GetVisibilityOnDisabled returns the VisibilityOnDisabled field value if set, zero value otherwise.

func (*AssignmentSettingsResult) GetVisibilityOnDisabledOk

func (o *AssignmentSettingsResult) GetVisibilityOnDisabledOk() (*string, bool)

GetVisibilityOnDisabledOk returns a tuple with the VisibilityOnDisabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AssignmentSettingsResult) HasAction

func (o *AssignmentSettingsResult) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*AssignmentSettingsResult) HasDisableDownloadByStudent

func (o *AssignmentSettingsResult) HasDisableDownloadByStudent() bool

HasDisableDownloadByStudent returns a boolean if a field has been set.

func (*AssignmentSettingsResult) HasDueTime

func (o *AssignmentSettingsResult) HasDueTime() bool

HasDueTime returns a boolean if a field has been set.

func (*AssignmentSettingsResult) HasEnableResetAssignmentByStudent

func (o *AssignmentSettingsResult) HasEnableResetAssignmentByStudent() bool

HasEnableResetAssignmentByStudent returns a boolean if a field has been set.

func (*AssignmentSettingsResult) HasEndTime

func (o *AssignmentSettingsResult) HasEndTime() bool

HasEndTime returns a boolean if a field has been set.

func (*AssignmentSettingsResult) HasExamMode

func (o *AssignmentSettingsResult) HasExamMode() bool

HasExamMode returns a boolean if a field has been set.

func (*AssignmentSettingsResult) HasIsDisabled

func (o *AssignmentSettingsResult) HasIsDisabled() bool

HasIsDisabled returns a boolean if a field has been set.

func (*AssignmentSettingsResult) HasMarkAsCompleteOnDueDate

func (o *AssignmentSettingsResult) HasMarkAsCompleteOnDueDate() bool

HasMarkAsCompleteOnDueDate returns a boolean if a field has been set.

func (*AssignmentSettingsResult) HasPenaltiesV2

func (o *AssignmentSettingsResult) HasPenaltiesV2() bool

HasPenaltiesV2 returns a boolean if a field has been set.

func (*AssignmentSettingsResult) HasReleaseGrades

func (o *AssignmentSettingsResult) HasReleaseGrades() bool

HasReleaseGrades returns a boolean if a field has been set.

func (*AssignmentSettingsResult) HasStartTime

func (o *AssignmentSettingsResult) HasStartTime() bool

HasStartTime returns a boolean if a field has been set.

func (*AssignmentSettingsResult) HasVisibilityOnCompleted

func (o *AssignmentSettingsResult) HasVisibilityOnCompleted() bool

HasVisibilityOnCompleted returns a boolean if a field has been set.

func (*AssignmentSettingsResult) HasVisibilityOnDisabled

func (o *AssignmentSettingsResult) HasVisibilityOnDisabled() bool

HasVisibilityOnDisabled returns a boolean if a field has been set.

func (AssignmentSettingsResult) MarshalJSON

func (o AssignmentSettingsResult) MarshalJSON() ([]byte, error)

func (*AssignmentSettingsResult) SetAction

func (o *AssignmentSettingsResult) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*AssignmentSettingsResult) SetDisableDownloadByStudent

func (o *AssignmentSettingsResult) SetDisableDownloadByStudent(v bool)

SetDisableDownloadByStudent gets a reference to the given bool and assigns it to the DisableDownloadByStudent field.

func (*AssignmentSettingsResult) SetDueTime

func (o *AssignmentSettingsResult) SetDueTime(v string)

SetDueTime gets a reference to the given string and assigns it to the DueTime field.

func (*AssignmentSettingsResult) SetEnableResetAssignmentByStudent

func (o *AssignmentSettingsResult) SetEnableResetAssignmentByStudent(v bool)

SetEnableResetAssignmentByStudent gets a reference to the given bool and assigns it to the EnableResetAssignmentByStudent field.

func (*AssignmentSettingsResult) SetEndTime

func (o *AssignmentSettingsResult) SetEndTime(v string)

SetEndTime gets a reference to the given string and assigns it to the EndTime field.

func (*AssignmentSettingsResult) SetExamMode

func (o *AssignmentSettingsResult) SetExamMode(v ExamMode)

SetExamMode gets a reference to the given ExamMode and assigns it to the ExamMode field.

func (*AssignmentSettingsResult) SetIsDisabled

func (o *AssignmentSettingsResult) SetIsDisabled(v bool)

SetIsDisabled gets a reference to the given bool and assigns it to the IsDisabled field.

func (*AssignmentSettingsResult) SetMarkAsCompleteOnDueDate

func (o *AssignmentSettingsResult) SetMarkAsCompleteOnDueDate(v bool)

SetMarkAsCompleteOnDueDate gets a reference to the given bool and assigns it to the MarkAsCompleteOnDueDate field.

func (*AssignmentSettingsResult) SetPenaltiesV2

func (o *AssignmentSettingsResult) SetPenaltiesV2(v PenaltySettings)

SetPenaltiesV2 gets a reference to the given PenaltySettings and assigns it to the PenaltiesV2 field.

func (*AssignmentSettingsResult) SetReleaseGrades

func (o *AssignmentSettingsResult) SetReleaseGrades(v bool)

SetReleaseGrades gets a reference to the given bool and assigns it to the ReleaseGrades field.

func (*AssignmentSettingsResult) SetStartTime

func (o *AssignmentSettingsResult) SetStartTime(v string)

SetStartTime gets a reference to the given string and assigns it to the StartTime field.

func (*AssignmentSettingsResult) SetVisibilityOnCompleted

func (o *AssignmentSettingsResult) SetVisibilityOnCompleted(v string)

SetVisibilityOnCompleted gets a reference to the given string and assigns it to the VisibilityOnCompleted field.

func (*AssignmentSettingsResult) SetVisibilityOnDisabled

func (o *AssignmentSettingsResult) SetVisibilityOnDisabled(v string)

SetVisibilityOnDisabled gets a reference to the given string and assigns it to the VisibilityOnDisabled field.

func (AssignmentSettingsResult) ToMap

func (o AssignmentSettingsResult) ToMap() (map[string]interface{}, error)

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type Course

type Course struct {
	// Course name
	Name *string `json:"name,omitempty"`
	// Course description
	Description *string `json:"description,omitempty"`
	// Course start date, ISO Date String
	Start *string `json:"start,omitempty"`
	// Course end date, ISO Date String
	End *string `json:"end,omitempty"`
	// Course timezone
	Timezone *string `json:"timezone,omitempty"`
	// Course tags
	Tags []string `json:"tags,omitempty"`
	// Course identifier
	Id      *string  `json:"id,omitempty"`
	Modules []Module `json:"modules,omitempty"`
	// Course create date, ISO Date String
	CreationDate *string `json:"creationDate,omitempty"`
	// Course archive date, ISO Date String
	ArchivedDate *string `json:"archivedDate,omitempty"`
	// Archived course state
	Archived *bool `json:"archived,omitempty"`
}

Course struct for Course

func NewCourse

func NewCourse() *Course

NewCourse instantiates a new Course object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCourseWithDefaults

func NewCourseWithDefaults() *Course

NewCourseWithDefaults instantiates a new Course object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Course) GetArchived

func (o *Course) GetArchived() bool

GetArchived returns the Archived field value if set, zero value otherwise.

func (*Course) GetArchivedDate

func (o *Course) GetArchivedDate() string

GetArchivedDate returns the ArchivedDate field value if set, zero value otherwise.

func (*Course) GetArchivedDateOk

func (o *Course) GetArchivedDateOk() (*string, bool)

GetArchivedDateOk returns a tuple with the ArchivedDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Course) GetArchivedOk

func (o *Course) GetArchivedOk() (*bool, bool)

GetArchivedOk returns a tuple with the Archived field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Course) GetCreationDate

func (o *Course) GetCreationDate() string

GetCreationDate returns the CreationDate field value if set, zero value otherwise.

func (*Course) GetCreationDateOk

func (o *Course) GetCreationDateOk() (*string, bool)

GetCreationDateOk returns a tuple with the CreationDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Course) GetDescription

func (o *Course) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Course) GetDescriptionOk

func (o *Course) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Course) GetEnd

func (o *Course) GetEnd() string

GetEnd returns the End field value if set, zero value otherwise.

func (*Course) GetEndOk

func (o *Course) GetEndOk() (*string, bool)

GetEndOk returns a tuple with the End field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Course) GetId

func (o *Course) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Course) GetIdOk

func (o *Course) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Course) GetModules

func (o *Course) GetModules() []Module

GetModules returns the Modules field value if set, zero value otherwise.

func (*Course) GetModulesOk

func (o *Course) GetModulesOk() ([]Module, bool)

GetModulesOk returns a tuple with the Modules field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Course) GetName

func (o *Course) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Course) GetNameOk

func (o *Course) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Course) GetStart

func (o *Course) GetStart() string

GetStart returns the Start field value if set, zero value otherwise.

func (*Course) GetStartOk

func (o *Course) GetStartOk() (*string, bool)

GetStartOk returns a tuple with the Start field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Course) GetTags

func (o *Course) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*Course) GetTagsOk

func (o *Course) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Course) GetTimezone

func (o *Course) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*Course) GetTimezoneOk

func (o *Course) GetTimezoneOk() (*string, bool)

GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Course) HasArchived

func (o *Course) HasArchived() bool

HasArchived returns a boolean if a field has been set.

func (*Course) HasArchivedDate

func (o *Course) HasArchivedDate() bool

HasArchivedDate returns a boolean if a field has been set.

func (*Course) HasCreationDate

func (o *Course) HasCreationDate() bool

HasCreationDate returns a boolean if a field has been set.

func (*Course) HasDescription

func (o *Course) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Course) HasEnd

func (o *Course) HasEnd() bool

HasEnd returns a boolean if a field has been set.

func (*Course) HasId

func (o *Course) HasId() bool

HasId returns a boolean if a field has been set.

func (*Course) HasModules

func (o *Course) HasModules() bool

HasModules returns a boolean if a field has been set.

func (*Course) HasName

func (o *Course) HasName() bool

HasName returns a boolean if a field has been set.

func (*Course) HasStart

func (o *Course) HasStart() bool

HasStart returns a boolean if a field has been set.

func (*Course) HasTags

func (o *Course) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Course) HasTimezone

func (o *Course) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (Course) MarshalJSON

func (o Course) MarshalJSON() ([]byte, error)

func (*Course) SetArchived

func (o *Course) SetArchived(v bool)

SetArchived gets a reference to the given bool and assigns it to the Archived field.

func (*Course) SetArchivedDate

func (o *Course) SetArchivedDate(v string)

SetArchivedDate gets a reference to the given string and assigns it to the ArchivedDate field.

func (*Course) SetCreationDate

func (o *Course) SetCreationDate(v string)

SetCreationDate gets a reference to the given string and assigns it to the CreationDate field.

func (*Course) SetDescription

func (o *Course) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Course) SetEnd

func (o *Course) SetEnd(v string)

SetEnd gets a reference to the given string and assigns it to the End field.

func (*Course) SetId

func (o *Course) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Course) SetModules

func (o *Course) SetModules(v []Module)

SetModules gets a reference to the given []Module and assigns it to the Modules field.

func (*Course) SetName

func (o *Course) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Course) SetStart

func (o *Course) SetStart(v string)

SetStart gets a reference to the given string and assigns it to the Start field.

func (*Course) SetTags

func (o *Course) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*Course) SetTimezone

func (o *Course) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (Course) ToMap

func (o Course) ToMap() (map[string]interface{}, error)

type CourseAPIAPIService

type CourseAPIAPIService service

CourseAPIAPIService CourseAPIAPI service

func (*CourseAPIAPIService) ArchiveCourse

func (a *CourseAPIAPIService) ArchiveCourse(ctx context.Context, courseId string) ApiArchiveCourseRequest

ArchiveCourse Archive Course

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id to archive
@return ApiArchiveCourseRequest

func (*CourseAPIAPIService) ArchiveCourseExecute

Execute executes the request

@return ArchiveCourse

func (*CourseAPIAPIService) CourseStructure

func (a *CourseAPIAPIService) CourseStructure(ctx context.Context, courseId string) ApiCourseStructureRequest

CourseStructure Fetch Course Structure

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@return ApiCourseStructureRequest

func (*CourseAPIAPIService) CourseStructureExecute

func (a *CourseAPIAPIService) CourseStructureExecute(r ApiCourseStructureRequest) (*Course, *http.Response, error)

Execute executes the request

@return Course

func (*CourseAPIAPIService) CoursesList

CoursesList List Organization Courses

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCoursesListRequest

func (*CourseAPIAPIService) CoursesListExecute

Execute executes the request

@return ListCourses

func (*CourseAPIAPIService) CreateCourse

CreateCourse Create Course

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateCourseRequest

func (*CourseAPIAPIService) CreateCourseExecute

Execute executes the request

@return CreateCourseAnswer

func (*CourseAPIAPIService) CreateCourseModule

func (a *CourseAPIAPIService) CreateCourseModule(ctx context.Context, courseId string) ApiCreateCourseModuleRequest

CreateCourseModule Create Course Module

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@return ApiCreateCourseModuleRequest

func (*CourseAPIAPIService) CreateCourseModuleExecute

Execute executes the request

@return CreateCourseModuleAnswer

func (*CourseAPIAPIService) FilterLearnersForMentors

func (a *CourseAPIAPIService) FilterLearnersForMentors(ctx context.Context, courseId string) ApiFilterLearnersForMentorsRequest

FilterLearnersForMentors Filter Learners For Mentors

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@return ApiFilterLearnersForMentorsRequest

func (*CourseAPIAPIService) FilterLearnersForMentorsExecute

Execute executes the request

@return FilterLearnersForMentorsAnswerExample

func (*CourseAPIAPIService) FindCourse

FindCourse Find Course

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFindCourseRequest

func (*CourseAPIAPIService) FindCourseExecute

func (a *CourseAPIAPIService) FindCourseExecute(r ApiFindCourseRequest) (*Course, *http.Response, error)

Execute executes the request

@return Course

func (*CourseAPIAPIService) ListCourseStudents

func (a *CourseAPIAPIService) ListCourseStudents(ctx context.Context, courseId string) ApiListCourseStudentsRequest

ListCourseStudents List Course Students

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@return ApiListCourseStudentsRequest

func (*CourseAPIAPIService) ListCourseStudentsExecute

func (a *CourseAPIAPIService) ListCourseStudentsExecute(r ApiListCourseStudentsRequest) ([]User, *http.Response, error)

Execute executes the request

@return []User

func (*CourseAPIAPIService) ListCourseTeachers

func (a *CourseAPIAPIService) ListCourseTeachers(ctx context.Context, courseId string) ApiListCourseTeachersRequest

ListCourseTeachers List Course Teachers

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@return ApiListCourseTeachersRequest

func (*CourseAPIAPIService) ListCourseTeachersExecute

func (a *CourseAPIAPIService) ListCourseTeachersExecute(r ApiListCourseTeachersRequest) ([]User, *http.Response, error)

Execute executes the request

@return []User

func (*CourseAPIAPIService) StudentCourseProgress

func (a *CourseAPIAPIService) StudentCourseProgress(ctx context.Context, courseId string, studentId string) ApiStudentCourseProgressRequest

StudentCourseProgress Fetch Course Structure

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@param studentId Student id
@return ApiStudentCourseProgressRequest

func (*CourseAPIAPIService) StudentCourseProgressExecute

Execute executes the request

@return []AssignmentProgressItem

func (*CourseAPIAPIService) UpdateBooks

func (a *CourseAPIAPIService) UpdateBooks(ctx context.Context, courseId string) ApiUpdateBooksRequest

UpdateBooks Update Course Books

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@return ApiUpdateBooksRequest

func (*CourseAPIAPIService) UpdateBooksExecute

func (a *CourseAPIAPIService) UpdateBooksExecute(r ApiUpdateBooksRequest) (*Course, *http.Response, error)

Execute executes the request

@return Course

type CourseAssignmentsAPIAPIService

type CourseAssignmentsAPIAPIService service

CourseAssignmentsAPIAPIService CourseAssignmentsAPIAPI service

func (*CourseAssignmentsAPIAPIService) AssignmentStudentsInfo

func (a *CourseAssignmentsAPIAPIService) AssignmentStudentsInfo(ctx context.Context, courseId string, assignmentId string) ApiAssignmentStudentsInfoRequest

AssignmentStudentsInfo Get assignment students info

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@param assignmentId Assignment id
@return ApiAssignmentStudentsInfoRequest

func (*CourseAssignmentsAPIAPIService) AssignmentStudentsInfoExecute

Execute executes the request

@return []StudentInformation

func (*CourseAssignmentsAPIAPIService) AssignmentVersionPublish

func (a *CourseAssignmentsAPIAPIService) AssignmentVersionPublish(ctx context.Context, courseId string, assignmentId string) ApiAssignmentVersionPublishRequest

AssignmentVersionPublish Publish new assignment version

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@param assignmentId Assignment id
@return ApiAssignmentVersionPublishRequest

func (*CourseAssignmentsAPIAPIService) AssignmentVersionPublishExecute

Execute executes the request

@return TaskProgress

func (*CourseAssignmentsAPIAPIService) AssignmentVersionPublishesStatus

func (a *CourseAssignmentsAPIAPIService) AssignmentVersionPublishesStatus(ctx context.Context, courseId string, assignmentId string, taskId string) ApiAssignmentVersionPublishesStatusRequest

AssignmentVersionPublishesStatus Get assignment publish status

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@param assignmentId Assignment id
@param taskId Task id
@return ApiAssignmentVersionPublishesStatusRequest

func (*CourseAssignmentsAPIAPIService) AssignmentVersionPublishesStatusExecute

func (a *CourseAssignmentsAPIAPIService) AssignmentVersionPublishesStatusExecute(r ApiAssignmentVersionPublishesStatusRequest) (*TaskStatus, *http.Response, error)

Execute executes the request

@return TaskStatus

func (*CourseAssignmentsAPIAPIService) CreateProjectBasedAssignment

func (a *CourseAssignmentsAPIAPIService) CreateProjectBasedAssignment(ctx context.Context, courseId string) ApiCreateProjectBasedAssignmentRequest

CreateProjectBasedAssignment Create Project Based Assignment

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@return ApiCreateProjectBasedAssignmentRequest

func (*CourseAssignmentsAPIAPIService) CreateProjectBasedAssignmentExecute

Execute executes the request

@return CreateAssignmentAnswer

func (*CourseAssignmentsAPIAPIService) FetchAssignmentSettings

func (a *CourseAssignmentsAPIAPIService) FetchAssignmentSettings(ctx context.Context, courseId string, assignmentId string) ApiFetchAssignmentSettingsRequest

FetchAssignmentSettings Fetch Assignment Settings

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@param assignmentId Assignment id
@return ApiFetchAssignmentSettingsRequest

func (*CourseAssignmentsAPIAPIService) FetchAssignmentSettingsExecute

Execute executes the request

@return AssignmentSettingsResult

func (*CourseAssignmentsAPIAPIService) UpdateAssignmentSettings

func (a *CourseAssignmentsAPIAPIService) UpdateAssignmentSettings(ctx context.Context, courseId string, assignmentId string) ApiUpdateAssignmentSettingsRequest

UpdateAssignmentSettings Update Assignment Settings

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@param assignmentId Assignment id
@return ApiUpdateAssignmentSettingsRequest

func (*CourseAssignmentsAPIAPIService) UpdateAssignmentSettingsExecute

Execute executes the request

@return AssignmentSettingsResult

func (*CourseAssignmentsAPIAPIService) UpdateStudentTimeExtensions

func (a *CourseAssignmentsAPIAPIService) UpdateStudentTimeExtensions(ctx context.Context, courseId string, assignmentId string, studentId string) ApiUpdateStudentTimeExtensionsRequest

UpdateStudentTimeExtensions Update Student Time Extensions

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@param assignmentId Assignment id
@param studentId Student id
@return ApiUpdateStudentTimeExtensionsRequest

func (*CourseAssignmentsAPIAPIService) UpdateStudentTimeExtensionsExecute

func (a *CourseAssignmentsAPIAPIService) UpdateStudentTimeExtensionsExecute(r ApiUpdateStudentTimeExtensionsRequest) (string, *http.Response, error)

Execute executes the request

@return string

type CourseBooksAPIAPIService

type CourseBooksAPIAPIService service

CourseBooksAPIAPIService CourseBooksAPIAPI service

func (*CourseBooksAPIAPIService) BookVersionPublish

func (a *CourseBooksAPIAPIService) BookVersionPublish(ctx context.Context, bookId string) ApiBookVersionPublishRequest

BookVersionPublish Publish new book version

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bookId Book id
@return ApiBookVersionPublishRequest

func (*CourseBooksAPIAPIService) BookVersionPublishExecute

Execute executes the request

@return TaskProgress

func (*CourseBooksAPIAPIService) BookVersionPublishesStatus

func (a *CourseBooksAPIAPIService) BookVersionPublishesStatus(ctx context.Context, bookId string, taskId string) ApiBookVersionPublishesStatusRequest

BookVersionPublishesStatus Get book publish status

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param bookId Book id
@param taskId Task id
@return ApiBookVersionPublishesStatusRequest

func (*CourseBooksAPIAPIService) BookVersionPublishesStatusExecute

func (a *CourseBooksAPIAPIService) BookVersionPublishesStatusExecute(r ApiBookVersionPublishesStatusRequest) (*TaskStatus, *http.Response, error)

Execute executes the request

@return TaskStatus

type CourseExportsAPIAPIService

type CourseExportsAPIAPIService service

CourseExportsAPIAPIService CourseExportsAPIAPI service

func (*CourseExportsAPIAPIService) ExportAssessmentData

func (a *CourseExportsAPIAPIService) ExportAssessmentData(ctx context.Context, courseId string) ApiExportAssessmentDataRequest

ExportAssessmentData Export Assessment Data CSV

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@return ApiExportAssessmentDataRequest

func (*CourseExportsAPIAPIService) ExportAssessmentDataExecute

Execute executes the request

@return TaskProgress

func (*CourseExportsAPIAPIService) ExportAssignmentCSV

func (a *CourseExportsAPIAPIService) ExportAssignmentCSV(ctx context.Context, courseId string, assignmentId string) ApiExportAssignmentCSVRequest

ExportAssignmentCSV Export Assignment CSV

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@param assignmentId Assignment id
@return ApiExportAssignmentCSVRequest

func (*CourseExportsAPIAPIService) ExportAssignmentCSVExecute

func (a *CourseExportsAPIAPIService) ExportAssignmentCSVExecute(r ApiExportAssignmentCSVRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*CourseExportsAPIAPIService) ExportCoachData

ExportCoachData Export Coach Data

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@return ApiExportCoachDataRequest

func (*CourseExportsAPIAPIService) ExportCoachDataByTask

func (a *CourseExportsAPIAPIService) ExportCoachDataByTask(ctx context.Context, courseId string, taskId string) ApiExportCoachDataByTaskRequest

ExportCoachDataByTask Fetch Export Coach Data Status

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@param taskId Export task id
@return ApiExportCoachDataByTaskRequest

func (*CourseExportsAPIAPIService) ExportCoachDataByTaskExecute

Execute executes the request

@return DownloadStatus

func (*CourseExportsAPIAPIService) ExportCoachDataExecute

Execute executes the request

@return TaskProgress

func (*CourseExportsAPIAPIService) ExportCourseSourceDataItemByTask

func (a *CourseExportsAPIAPIService) ExportCourseSourceDataItemByTask(ctx context.Context, courseId string, taskId string) ApiExportCourseSourceDataItemByTaskRequest

ExportCourseSourceDataItemByTask Fetch Export Sources Status

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@param taskId Export task id
@return ApiExportCourseSourceDataItemByTaskRequest

func (*CourseExportsAPIAPIService) ExportCourseSourceDataItemByTaskExecute

func (a *CourseExportsAPIAPIService) ExportCourseSourceDataItemByTaskExecute(r ApiExportCourseSourceDataItemByTaskRequest) (*DownloadStatus, *http.Response, error)

Execute executes the request

@return DownloadStatus

func (*CourseExportsAPIAPIService) ExportCourseSourceDataItems

func (a *CourseExportsAPIAPIService) ExportCourseSourceDataItems(ctx context.Context, courseId string) ApiExportCourseSourceDataItemsRequest

ExportCourseSourceDataItems List Exports Course Sources Data

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@return ApiExportCourseSourceDataItemsRequest

func (*CourseExportsAPIAPIService) ExportCourseSourceDataItemsExecute

Execute executes the request

@return []DownloadStatus

func (*CourseExportsAPIAPIService) ExportCourseSourcesData

func (a *CourseExportsAPIAPIService) ExportCourseSourcesData(ctx context.Context, courseId string) ApiExportCourseSourcesDataRequest

ExportCourseSourcesData Export Course Sources

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@return ApiExportCourseSourcesDataRequest

func (*CourseExportsAPIAPIService) ExportCourseSourcesDataExecute

Execute executes the request

@return TaskProgress

func (*CourseExportsAPIAPIService) ExportCourseWorkData

func (a *CourseExportsAPIAPIService) ExportCourseWorkData(ctx context.Context, courseId string) ApiExportCourseWorkDataRequest

ExportCourseWorkData Export Course Work Data

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@return ApiExportCourseWorkDataRequest

func (*CourseExportsAPIAPIService) ExportCourseWorkDataExecute

Execute executes the request

@return TaskProgress

func (*CourseExportsAPIAPIService) ExportCourseWorkDataItemByTask

func (a *CourseExportsAPIAPIService) ExportCourseWorkDataItemByTask(ctx context.Context, courseId string, taskId string) ApiExportCourseWorkDataItemByTaskRequest

ExportCourseWorkDataItemByTask Fetch Export Work Data Status

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@param taskId Export task id
@return ApiExportCourseWorkDataItemByTaskRequest

func (*CourseExportsAPIAPIService) ExportCourseWorkDataItemByTaskExecute

Execute executes the request

@return DownloadStatus

func (*CourseExportsAPIAPIService) ExportCourseWorkDataItems

func (a *CourseExportsAPIAPIService) ExportCourseWorkDataItems(ctx context.Context, courseId string) ApiExportCourseWorkDataItemsRequest

ExportCourseWorkDataItems List Exports Course Work Data

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@return ApiExportCourseWorkDataItemsRequest

func (*CourseExportsAPIAPIService) ExportCourseWorkDataItemsExecute

Execute executes the request

@return []DownloadStatus

func (*CourseExportsAPIAPIService) ExportLLMProxyData

func (a *CourseExportsAPIAPIService) ExportLLMProxyData(ctx context.Context, courseId string) ApiExportLLMProxyDataRequest

ExportLLMProxyData Export LLMProxy Data

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@return ApiExportLLMProxyDataRequest

func (*CourseExportsAPIAPIService) ExportLLMProxyDataByTaskRoute

func (a *CourseExportsAPIAPIService) ExportLLMProxyDataByTaskRoute(ctx context.Context, courseId string, taskId string) ApiExportLLMProxyDataByTaskRouteRequest

ExportLLMProxyDataByTaskRoute Fetch Export LLMProxy Data Status

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@param taskId Export task id
@return ApiExportLLMProxyDataByTaskRouteRequest

func (*CourseExportsAPIAPIService) ExportLLMProxyDataByTaskRouteExecute

Execute executes the request

@return DownloadStatus

func (*CourseExportsAPIAPIService) ExportLLMProxyDataExecute

Execute executes the request

@return TaskProgress

func (*CourseExportsAPIAPIService) ExportStudentCSV

func (a *CourseExportsAPIAPIService) ExportStudentCSV(ctx context.Context, courseId string, studentId string) ApiExportStudentCSVRequest

ExportStudentCSV Export Student CSV

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@param studentId Student id
@return ApiExportStudentCSVRequest

func (*CourseExportsAPIAPIService) ExportStudentCSVExecute

Execute executes the request

@return string

func (*CourseExportsAPIAPIService) FetchDownloadStatus

func (a *CourseExportsAPIAPIService) FetchDownloadStatus(ctx context.Context, courseId string, taskId string) ApiFetchDownloadStatusRequest

FetchDownloadStatus Fetch Export Assessment Data CSV Status

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@param taskId Export task id
@return ApiFetchDownloadStatusRequest

func (*CourseExportsAPIAPIService) FetchDownloadStatusExecute

Execute executes the request

@return DownloadStatus

func (*CourseExportsAPIAPIService) FetchDownloadStatusStudent

func (a *CourseExportsAPIAPIService) FetchDownloadStatusStudent(ctx context.Context, courseId string, assignmentId string, studentId string, taskId string) ApiFetchDownloadStatusStudentRequest

FetchDownloadStatusStudent Fetch Export Student Data CSV Status

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@param assignmentId Assignment id
@param studentId Student id
@param taskId Export task id
@return ApiFetchDownloadStatusStudentRequest

func (*CourseExportsAPIAPIService) FetchDownloadStatusStudentExecute

Execute executes the request

@return DownloadStatus

func (*CourseExportsAPIAPIService) StartedAssignmentDownload

func (a *CourseExportsAPIAPIService) StartedAssignmentDownload(ctx context.Context, courseId string, assignmentId string, studentId string) ApiStartedAssignmentDownloadRequest

StartedAssignmentDownload Fetch Export Assessment Data CSV Status

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@param assignmentId Assignment id
@param studentId Student id
@return ApiStartedAssignmentDownloadRequest

func (*CourseExportsAPIAPIService) StartedAssignmentDownloadExecute

Execute executes the request

@return TaskProgress

type CourseMembersAPIAPIService added in v0.0.2

type CourseMembersAPIAPIService service

CourseMembersAPIAPIService CourseMembersAPIAPI service

func (*CourseMembersAPIAPIService) AddTeacher added in v0.0.2

AddTeacher Add teacher to course

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param courseId Course id
@return ApiAddTeacherRequest

func (*CourseMembersAPIAPIService) AddTeacherExecute added in v0.0.2

Execute executes the request

@return AddTeacherToCourseAnswer

type CreateAssignment

type CreateAssignment struct {
	// Module identifier
	ModuleId *string `json:"moduleId,omitempty"`
	// Settings for the assignment
	Settings *CreateAssignmentSettings `json:"settings,omitempty"`
}

CreateAssignment struct for CreateAssignment

func NewCreateAssignment

func NewCreateAssignment() *CreateAssignment

NewCreateAssignment instantiates a new CreateAssignment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateAssignmentWithDefaults

func NewCreateAssignmentWithDefaults() *CreateAssignment

NewCreateAssignmentWithDefaults instantiates a new CreateAssignment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateAssignment) GetModuleId

func (o *CreateAssignment) GetModuleId() string

GetModuleId returns the ModuleId field value if set, zero value otherwise.

func (*CreateAssignment) GetModuleIdOk

func (o *CreateAssignment) GetModuleIdOk() (*string, bool)

GetModuleIdOk returns a tuple with the ModuleId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateAssignment) GetSettings

func (o *CreateAssignment) GetSettings() CreateAssignmentSettings

GetSettings returns the Settings field value if set, zero value otherwise.

func (*CreateAssignment) GetSettingsOk

func (o *CreateAssignment) GetSettingsOk() (*CreateAssignmentSettings, bool)

GetSettingsOk returns a tuple with the Settings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateAssignment) HasModuleId

func (o *CreateAssignment) HasModuleId() bool

HasModuleId returns a boolean if a field has been set.

func (*CreateAssignment) HasSettings

func (o *CreateAssignment) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (CreateAssignment) MarshalJSON

func (o CreateAssignment) MarshalJSON() ([]byte, error)

func (*CreateAssignment) SetModuleId

func (o *CreateAssignment) SetModuleId(v string)

SetModuleId gets a reference to the given string and assigns it to the ModuleId field.

func (*CreateAssignment) SetSettings

func (o *CreateAssignment) SetSettings(v CreateAssignmentSettings)

SetSettings gets a reference to the given CreateAssignmentSettings and assigns it to the Settings field.

func (CreateAssignment) ToMap

func (o CreateAssignment) ToMap() (map[string]interface{}, error)

type CreateAssignmentAnswer

type CreateAssignmentAnswer struct {
	Id *string `json:"id,omitempty"`
}

CreateAssignmentAnswer struct for CreateAssignmentAnswer

func NewCreateAssignmentAnswer

func NewCreateAssignmentAnswer() *CreateAssignmentAnswer

NewCreateAssignmentAnswer instantiates a new CreateAssignmentAnswer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateAssignmentAnswerWithDefaults

func NewCreateAssignmentAnswerWithDefaults() *CreateAssignmentAnswer

NewCreateAssignmentAnswerWithDefaults instantiates a new CreateAssignmentAnswer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateAssignmentAnswer) GetId

func (o *CreateAssignmentAnswer) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*CreateAssignmentAnswer) GetIdOk

func (o *CreateAssignmentAnswer) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateAssignmentAnswer) HasId

func (o *CreateAssignmentAnswer) HasId() bool

HasId returns a boolean if a field has been set.

func (CreateAssignmentAnswer) MarshalJSON

func (o CreateAssignmentAnswer) MarshalJSON() ([]byte, error)

func (*CreateAssignmentAnswer) SetId

func (o *CreateAssignmentAnswer) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (CreateAssignmentAnswer) ToMap

func (o CreateAssignmentAnswer) ToMap() (map[string]interface{}, error)

type CreateAssignmentSettings

type CreateAssignmentSettings struct {
	// Name of the assignment
	Name *string `json:"name,omitempty"`
	// Description of the assignment
	Description *string `json:"description,omitempty"`
	// GigaBox slot for the assignment
	GigaboxSlot *GigaBoxSlot `json:"gigaboxSlot,omitempty"`
}

CreateAssignmentSettings struct for CreateAssignmentSettings

func NewCreateAssignmentSettings

func NewCreateAssignmentSettings() *CreateAssignmentSettings

NewCreateAssignmentSettings instantiates a new CreateAssignmentSettings object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateAssignmentSettingsWithDefaults

func NewCreateAssignmentSettingsWithDefaults() *CreateAssignmentSettings

NewCreateAssignmentSettingsWithDefaults instantiates a new CreateAssignmentSettings object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateAssignmentSettings) GetDescription

func (o *CreateAssignmentSettings) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*CreateAssignmentSettings) GetDescriptionOk

func (o *CreateAssignmentSettings) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateAssignmentSettings) GetGigaboxSlot

func (o *CreateAssignmentSettings) GetGigaboxSlot() GigaBoxSlot

GetGigaboxSlot returns the GigaboxSlot field value if set, zero value otherwise.

func (*CreateAssignmentSettings) GetGigaboxSlotOk

func (o *CreateAssignmentSettings) GetGigaboxSlotOk() (*GigaBoxSlot, bool)

GetGigaboxSlotOk returns a tuple with the GigaboxSlot field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateAssignmentSettings) GetName

func (o *CreateAssignmentSettings) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*CreateAssignmentSettings) GetNameOk

func (o *CreateAssignmentSettings) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateAssignmentSettings) HasDescription

func (o *CreateAssignmentSettings) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateAssignmentSettings) HasGigaboxSlot

func (o *CreateAssignmentSettings) HasGigaboxSlot() bool

HasGigaboxSlot returns a boolean if a field has been set.

func (*CreateAssignmentSettings) HasName

func (o *CreateAssignmentSettings) HasName() bool

HasName returns a boolean if a field has been set.

func (CreateAssignmentSettings) MarshalJSON

func (o CreateAssignmentSettings) MarshalJSON() ([]byte, error)

func (*CreateAssignmentSettings) SetDescription

func (o *CreateAssignmentSettings) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CreateAssignmentSettings) SetGigaboxSlot

func (o *CreateAssignmentSettings) SetGigaboxSlot(v GigaBoxSlot)

SetGigaboxSlot gets a reference to the given GigaBoxSlot and assigns it to the GigaboxSlot field.

func (*CreateAssignmentSettings) SetName

func (o *CreateAssignmentSettings) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (CreateAssignmentSettings) ToMap

func (o CreateAssignmentSettings) ToMap() (map[string]interface{}, error)

type CreateCourse

type CreateCourse struct {
	// Name of the course
	Name *string `json:"name,omitempty"`
	// Description of the course
	Description *string `json:"description,omitempty"`
	// Course start date and time, ISO Date String
	Start *string `json:"start,omitempty"`
	// Course end date and time, ISO Date String
	End *string `json:"end,omitempty"`
	// Timezone of the course
	Timezone *string `json:"timezone,omitempty"`
	// Tags associated with the course
	Tags []string `json:"tags,omitempty"`
}

CreateCourse struct for CreateCourse

func NewCreateCourse

func NewCreateCourse() *CreateCourse

NewCreateCourse instantiates a new CreateCourse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateCourseWithDefaults

func NewCreateCourseWithDefaults() *CreateCourse

NewCreateCourseWithDefaults instantiates a new CreateCourse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateCourse) GetDescription

func (o *CreateCourse) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*CreateCourse) GetDescriptionOk

func (o *CreateCourse) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCourse) GetEnd

func (o *CreateCourse) GetEnd() string

GetEnd returns the End field value if set, zero value otherwise.

func (*CreateCourse) GetEndOk

func (o *CreateCourse) GetEndOk() (*string, bool)

GetEndOk returns a tuple with the End field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCourse) GetName

func (o *CreateCourse) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*CreateCourse) GetNameOk

func (o *CreateCourse) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCourse) GetStart

func (o *CreateCourse) GetStart() string

GetStart returns the Start field value if set, zero value otherwise.

func (*CreateCourse) GetStartOk

func (o *CreateCourse) GetStartOk() (*string, bool)

GetStartOk returns a tuple with the Start field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCourse) GetTags

func (o *CreateCourse) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*CreateCourse) GetTagsOk

func (o *CreateCourse) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCourse) GetTimezone

func (o *CreateCourse) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*CreateCourse) GetTimezoneOk

func (o *CreateCourse) GetTimezoneOk() (*string, bool)

GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCourse) HasDescription

func (o *CreateCourse) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateCourse) HasEnd

func (o *CreateCourse) HasEnd() bool

HasEnd returns a boolean if a field has been set.

func (*CreateCourse) HasName

func (o *CreateCourse) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateCourse) HasStart

func (o *CreateCourse) HasStart() bool

HasStart returns a boolean if a field has been set.

func (*CreateCourse) HasTags

func (o *CreateCourse) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*CreateCourse) HasTimezone

func (o *CreateCourse) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (CreateCourse) MarshalJSON

func (o CreateCourse) MarshalJSON() ([]byte, error)

func (*CreateCourse) SetDescription

func (o *CreateCourse) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CreateCourse) SetEnd

func (o *CreateCourse) SetEnd(v string)

SetEnd gets a reference to the given string and assigns it to the End field.

func (*CreateCourse) SetName

func (o *CreateCourse) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*CreateCourse) SetStart

func (o *CreateCourse) SetStart(v string)

SetStart gets a reference to the given string and assigns it to the Start field.

func (*CreateCourse) SetTags

func (o *CreateCourse) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*CreateCourse) SetTimezone

func (o *CreateCourse) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (CreateCourse) ToMap

func (o CreateCourse) ToMap() (map[string]interface{}, error)

type CreateCourseAnswer

type CreateCourseAnswer struct {
	Id *string `json:"id,omitempty"`
}

CreateCourseAnswer struct for CreateCourseAnswer

func NewCreateCourseAnswer

func NewCreateCourseAnswer() *CreateCourseAnswer

NewCreateCourseAnswer instantiates a new CreateCourseAnswer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateCourseAnswerWithDefaults

func NewCreateCourseAnswerWithDefaults() *CreateCourseAnswer

NewCreateCourseAnswerWithDefaults instantiates a new CreateCourseAnswer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateCourseAnswer) GetId

func (o *CreateCourseAnswer) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*CreateCourseAnswer) GetIdOk

func (o *CreateCourseAnswer) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCourseAnswer) HasId

func (o *CreateCourseAnswer) HasId() bool

HasId returns a boolean if a field has been set.

func (CreateCourseAnswer) MarshalJSON

func (o CreateCourseAnswer) MarshalJSON() ([]byte, error)

func (*CreateCourseAnswer) SetId

func (o *CreateCourseAnswer) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (CreateCourseAnswer) ToMap

func (o CreateCourseAnswer) ToMap() (map[string]interface{}, error)

type CreateCourseModule

type CreateCourseModule struct {
	// Name of the course module
	Name *string `json:"name,omitempty"`
}

CreateCourseModule struct for CreateCourseModule

func NewCreateCourseModule

func NewCreateCourseModule() *CreateCourseModule

NewCreateCourseModule instantiates a new CreateCourseModule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateCourseModuleWithDefaults

func NewCreateCourseModuleWithDefaults() *CreateCourseModule

NewCreateCourseModuleWithDefaults instantiates a new CreateCourseModule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateCourseModule) GetName

func (o *CreateCourseModule) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*CreateCourseModule) GetNameOk

func (o *CreateCourseModule) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCourseModule) HasName

func (o *CreateCourseModule) HasName() bool

HasName returns a boolean if a field has been set.

func (CreateCourseModule) MarshalJSON

func (o CreateCourseModule) MarshalJSON() ([]byte, error)

func (*CreateCourseModule) SetName

func (o *CreateCourseModule) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (CreateCourseModule) ToMap

func (o CreateCourseModule) ToMap() (map[string]interface{}, error)

type CreateCourseModuleAnswer

type CreateCourseModuleAnswer struct {
	Id *string `json:"id,omitempty"`
}

CreateCourseModuleAnswer struct for CreateCourseModuleAnswer

func NewCreateCourseModuleAnswer

func NewCreateCourseModuleAnswer() *CreateCourseModuleAnswer

NewCreateCourseModuleAnswer instantiates a new CreateCourseModuleAnswer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateCourseModuleAnswerWithDefaults

func NewCreateCourseModuleAnswerWithDefaults() *CreateCourseModuleAnswer

NewCreateCourseModuleAnswerWithDefaults instantiates a new CreateCourseModuleAnswer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateCourseModuleAnswer) GetId

func (o *CreateCourseModuleAnswer) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*CreateCourseModuleAnswer) GetIdOk

func (o *CreateCourseModuleAnswer) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCourseModuleAnswer) HasId

func (o *CreateCourseModuleAnswer) HasId() bool

HasId returns a boolean if a field has been set.

func (CreateCourseModuleAnswer) MarshalJSON

func (o CreateCourseModuleAnswer) MarshalJSON() ([]byte, error)

func (*CreateCourseModuleAnswer) SetId

func (o *CreateCourseModuleAnswer) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (CreateCourseModuleAnswer) ToMap

func (o CreateCourseModuleAnswer) ToMap() (map[string]interface{}, error)

type DownloadStatus

type DownloadStatus struct {
	// Task identification
	TaskId *string `json:"taskId,omitempty"`
	// Task status
	Done *bool `json:"done,omitempty"`
	// If task completed - url for download
	Url *string `json:"url,omitempty"`
	// Error description if task failed
	Error *string `json:"error,omitempty"`
}

DownloadStatus struct for DownloadStatus

func NewDownloadStatus

func NewDownloadStatus() *DownloadStatus

NewDownloadStatus instantiates a new DownloadStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDownloadStatusWithDefaults

func NewDownloadStatusWithDefaults() *DownloadStatus

NewDownloadStatusWithDefaults instantiates a new DownloadStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DownloadStatus) GetDone

func (o *DownloadStatus) GetDone() bool

GetDone returns the Done field value if set, zero value otherwise.

func (*DownloadStatus) GetDoneOk

func (o *DownloadStatus) GetDoneOk() (*bool, bool)

GetDoneOk returns a tuple with the Done field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DownloadStatus) GetError

func (o *DownloadStatus) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*DownloadStatus) GetErrorOk

func (o *DownloadStatus) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DownloadStatus) GetTaskId

func (o *DownloadStatus) GetTaskId() string

GetTaskId returns the TaskId field value if set, zero value otherwise.

func (*DownloadStatus) GetTaskIdOk

func (o *DownloadStatus) GetTaskIdOk() (*string, bool)

GetTaskIdOk returns a tuple with the TaskId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DownloadStatus) GetUrl

func (o *DownloadStatus) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*DownloadStatus) GetUrlOk

func (o *DownloadStatus) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DownloadStatus) HasDone

func (o *DownloadStatus) HasDone() bool

HasDone returns a boolean if a field has been set.

func (*DownloadStatus) HasError

func (o *DownloadStatus) HasError() bool

HasError returns a boolean if a field has been set.

func (*DownloadStatus) HasTaskId

func (o *DownloadStatus) HasTaskId() bool

HasTaskId returns a boolean if a field has been set.

func (*DownloadStatus) HasUrl

func (o *DownloadStatus) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (DownloadStatus) MarshalJSON

func (o DownloadStatus) MarshalJSON() ([]byte, error)

func (*DownloadStatus) SetDone

func (o *DownloadStatus) SetDone(v bool)

SetDone gets a reference to the given bool and assigns it to the Done field.

func (*DownloadStatus) SetError

func (o *DownloadStatus) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*DownloadStatus) SetTaskId

func (o *DownloadStatus) SetTaskId(v string)

SetTaskId gets a reference to the given string and assigns it to the TaskId field.

func (*DownloadStatus) SetUrl

func (o *DownloadStatus) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (DownloadStatus) ToMap

func (o DownloadStatus) ToMap() (map[string]interface{}, error)

type Event

type Event struct {
	// Event data
	Event map[string]interface{} `json:"event,omitempty"`
	// Event was successfully send to target url
	Completed *bool `json:"completed,omitempty"`
	// Optional error description
	Error *string `json:"error,omitempty"`
	// ISO Date String
	IssuedAt *string `json:"issuedAt,omitempty"`
}

Event Event data

func NewEvent

func NewEvent() *Event

NewEvent instantiates a new Event object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEventWithDefaults

func NewEventWithDefaults() *Event

NewEventWithDefaults instantiates a new Event object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Event) GetCompleted

func (o *Event) GetCompleted() bool

GetCompleted returns the Completed field value if set, zero value otherwise.

func (*Event) GetCompletedOk

func (o *Event) GetCompletedOk() (*bool, bool)

GetCompletedOk returns a tuple with the Completed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Event) GetError

func (o *Event) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*Event) GetErrorOk

func (o *Event) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Event) GetEvent

func (o *Event) GetEvent() map[string]interface{}

GetEvent returns the Event field value if set, zero value otherwise.

func (*Event) GetEventOk

func (o *Event) GetEventOk() (map[string]interface{}, bool)

GetEventOk returns a tuple with the Event field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Event) GetIssuedAt

func (o *Event) GetIssuedAt() string

GetIssuedAt returns the IssuedAt field value if set, zero value otherwise.

func (*Event) GetIssuedAtOk

func (o *Event) GetIssuedAtOk() (*string, bool)

GetIssuedAtOk returns a tuple with the IssuedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Event) HasCompleted

func (o *Event) HasCompleted() bool

HasCompleted returns a boolean if a field has been set.

func (*Event) HasError

func (o *Event) HasError() bool

HasError returns a boolean if a field has been set.

func (*Event) HasEvent

func (o *Event) HasEvent() bool

HasEvent returns a boolean if a field has been set.

func (*Event) HasIssuedAt

func (o *Event) HasIssuedAt() bool

HasIssuedAt returns a boolean if a field has been set.

func (Event) MarshalJSON

func (o Event) MarshalJSON() ([]byte, error)

func (*Event) SetCompleted

func (o *Event) SetCompleted(v bool)

SetCompleted gets a reference to the given bool and assigns it to the Completed field.

func (*Event) SetError

func (o *Event) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*Event) SetEvent

func (o *Event) SetEvent(v map[string]interface{})

SetEvent gets a reference to the given map[string]interface{} and assigns it to the Event field.

func (*Event) SetIssuedAt

func (o *Event) SetIssuedAt(v string)

SetIssuedAt gets a reference to the given string and assigns it to the IssuedAt field.

func (Event) ToMap

func (o Event) ToMap() (map[string]interface{}, error)

type EventsAPIAPIService

type EventsAPIAPIService service

EventsAPIAPIService EventsAPIAPI service

func (*EventsAPIAPIService) EventList

EventList List Webhook Events

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiEventListRequest

func (*EventsAPIAPIService) EventListExecute

Execute executes the request

@return EventsList

type EventsList

type EventsList struct {
	// Event data
	Events *string `json:"events,omitempty"`
	// Continuation request token
	NextToken *string `json:"nextToken,omitempty"`
}

EventsList struct for EventsList

func NewEventsList

func NewEventsList() *EventsList

NewEventsList instantiates a new EventsList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEventsListWithDefaults

func NewEventsListWithDefaults() *EventsList

NewEventsListWithDefaults instantiates a new EventsList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EventsList) GetEvents

func (o *EventsList) GetEvents() string

GetEvents returns the Events field value if set, zero value otherwise.

func (*EventsList) GetEventsOk

func (o *EventsList) GetEventsOk() (*string, bool)

GetEventsOk returns a tuple with the Events field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EventsList) GetNextToken

func (o *EventsList) GetNextToken() string

GetNextToken returns the NextToken field value if set, zero value otherwise.

func (*EventsList) GetNextTokenOk

func (o *EventsList) GetNextTokenOk() (*string, bool)

GetNextTokenOk returns a tuple with the NextToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EventsList) HasEvents

func (o *EventsList) HasEvents() bool

HasEvents returns a boolean if a field has been set.

func (*EventsList) HasNextToken

func (o *EventsList) HasNextToken() bool

HasNextToken returns a boolean if a field has been set.

func (EventsList) MarshalJSON

func (o EventsList) MarshalJSON() ([]byte, error)

func (*EventsList) SetEvents

func (o *EventsList) SetEvents(v string)

SetEvents gets a reference to the given string and assigns it to the Events field.

func (*EventsList) SetNextToken

func (o *EventsList) SetNextToken(v string)

SetNextToken gets a reference to the given string and assigns it to the NextToken field.

func (EventsList) ToMap

func (o EventsList) ToMap() (map[string]interface{}, error)

type ExamMode

type ExamMode struct {
	TimedMode             *TimedExamMode     `json:"timedMode,omitempty"`
	ShuffleQuestionsOrder *bool              `json:"shuffleQuestionsOrder,omitempty"`
	ForwardOnlyNavigation *bool              `json:"forwardOnlyNavigation,omitempty"`
	SingleLogin           *bool              `json:"singleLogin,omitempty"`
	Authentication        *bool              `json:"authentication,omitempty"`
	RestrictedIPRange     *RestrictedIPRange `json:"restrictedIPRange,omitempty"`
}

ExamMode struct for ExamMode

func NewExamMode

func NewExamMode() *ExamMode

NewExamMode instantiates a new ExamMode object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExamModeWithDefaults

func NewExamModeWithDefaults() *ExamMode

NewExamModeWithDefaults instantiates a new ExamMode object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExamMode) GetAuthentication

func (o *ExamMode) GetAuthentication() bool

GetAuthentication returns the Authentication field value if set, zero value otherwise.

func (*ExamMode) GetAuthenticationOk

func (o *ExamMode) GetAuthenticationOk() (*bool, bool)

GetAuthenticationOk returns a tuple with the Authentication field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExamMode) GetForwardOnlyNavigation

func (o *ExamMode) GetForwardOnlyNavigation() bool

GetForwardOnlyNavigation returns the ForwardOnlyNavigation field value if set, zero value otherwise.

func (*ExamMode) GetForwardOnlyNavigationOk

func (o *ExamMode) GetForwardOnlyNavigationOk() (*bool, bool)

GetForwardOnlyNavigationOk returns a tuple with the ForwardOnlyNavigation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExamMode) GetRestrictedIPRange

func (o *ExamMode) GetRestrictedIPRange() RestrictedIPRange

GetRestrictedIPRange returns the RestrictedIPRange field value if set, zero value otherwise.

func (*ExamMode) GetRestrictedIPRangeOk

func (o *ExamMode) GetRestrictedIPRangeOk() (*RestrictedIPRange, bool)

GetRestrictedIPRangeOk returns a tuple with the RestrictedIPRange field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExamMode) GetShuffleQuestionsOrder

func (o *ExamMode) GetShuffleQuestionsOrder() bool

GetShuffleQuestionsOrder returns the ShuffleQuestionsOrder field value if set, zero value otherwise.

func (*ExamMode) GetShuffleQuestionsOrderOk

func (o *ExamMode) GetShuffleQuestionsOrderOk() (*bool, bool)

GetShuffleQuestionsOrderOk returns a tuple with the ShuffleQuestionsOrder field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExamMode) GetSingleLogin

func (o *ExamMode) GetSingleLogin() bool

GetSingleLogin returns the SingleLogin field value if set, zero value otherwise.

func (*ExamMode) GetSingleLoginOk

func (o *ExamMode) GetSingleLoginOk() (*bool, bool)

GetSingleLoginOk returns a tuple with the SingleLogin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExamMode) GetTimedMode

func (o *ExamMode) GetTimedMode() TimedExamMode

GetTimedMode returns the TimedMode field value if set, zero value otherwise.

func (*ExamMode) GetTimedModeOk

func (o *ExamMode) GetTimedModeOk() (*TimedExamMode, bool)

GetTimedModeOk returns a tuple with the TimedMode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExamMode) HasAuthentication

func (o *ExamMode) HasAuthentication() bool

HasAuthentication returns a boolean if a field has been set.

func (*ExamMode) HasForwardOnlyNavigation

func (o *ExamMode) HasForwardOnlyNavigation() bool

HasForwardOnlyNavigation returns a boolean if a field has been set.

func (*ExamMode) HasRestrictedIPRange

func (o *ExamMode) HasRestrictedIPRange() bool

HasRestrictedIPRange returns a boolean if a field has been set.

func (*ExamMode) HasShuffleQuestionsOrder

func (o *ExamMode) HasShuffleQuestionsOrder() bool

HasShuffleQuestionsOrder returns a boolean if a field has been set.

func (*ExamMode) HasSingleLogin

func (o *ExamMode) HasSingleLogin() bool

HasSingleLogin returns a boolean if a field has been set.

func (*ExamMode) HasTimedMode

func (o *ExamMode) HasTimedMode() bool

HasTimedMode returns a boolean if a field has been set.

func (ExamMode) MarshalJSON

func (o ExamMode) MarshalJSON() ([]byte, error)

func (*ExamMode) SetAuthentication

func (o *ExamMode) SetAuthentication(v bool)

SetAuthentication gets a reference to the given bool and assigns it to the Authentication field.

func (*ExamMode) SetForwardOnlyNavigation

func (o *ExamMode) SetForwardOnlyNavigation(v bool)

SetForwardOnlyNavigation gets a reference to the given bool and assigns it to the ForwardOnlyNavigation field.

func (*ExamMode) SetRestrictedIPRange

func (o *ExamMode) SetRestrictedIPRange(v RestrictedIPRange)

SetRestrictedIPRange gets a reference to the given RestrictedIPRange and assigns it to the RestrictedIPRange field.

func (*ExamMode) SetShuffleQuestionsOrder

func (o *ExamMode) SetShuffleQuestionsOrder(v bool)

SetShuffleQuestionsOrder gets a reference to the given bool and assigns it to the ShuffleQuestionsOrder field.

func (*ExamMode) SetSingleLogin

func (o *ExamMode) SetSingleLogin(v bool)

SetSingleLogin gets a reference to the given bool and assigns it to the SingleLogin field.

func (*ExamMode) SetTimedMode

func (o *ExamMode) SetTimedMode(v TimedExamMode)

SetTimedMode gets a reference to the given TimedExamMode and assigns it to the TimedMode field.

func (ExamMode) ToMap

func (o ExamMode) ToMap() (map[string]interface{}, error)

type FilterLearnersForMentorsAnswerExample

type FilterLearnersForMentorsAnswerExample struct {
	Completed *bool `json:"completed,omitempty"`
}

FilterLearnersForMentorsAnswerExample struct for FilterLearnersForMentorsAnswerExample

func NewFilterLearnersForMentorsAnswerExample

func NewFilterLearnersForMentorsAnswerExample() *FilterLearnersForMentorsAnswerExample

NewFilterLearnersForMentorsAnswerExample instantiates a new FilterLearnersForMentorsAnswerExample object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFilterLearnersForMentorsAnswerExampleWithDefaults

func NewFilterLearnersForMentorsAnswerExampleWithDefaults() *FilterLearnersForMentorsAnswerExample

NewFilterLearnersForMentorsAnswerExampleWithDefaults instantiates a new FilterLearnersForMentorsAnswerExample object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FilterLearnersForMentorsAnswerExample) GetCompleted

func (o *FilterLearnersForMentorsAnswerExample) GetCompleted() bool

GetCompleted returns the Completed field value if set, zero value otherwise.

func (*FilterLearnersForMentorsAnswerExample) GetCompletedOk

func (o *FilterLearnersForMentorsAnswerExample) GetCompletedOk() (*bool, bool)

GetCompletedOk returns a tuple with the Completed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FilterLearnersForMentorsAnswerExample) HasCompleted

func (o *FilterLearnersForMentorsAnswerExample) HasCompleted() bool

HasCompleted returns a boolean if a field has been set.

func (FilterLearnersForMentorsAnswerExample) MarshalJSON

func (o FilterLearnersForMentorsAnswerExample) MarshalJSON() ([]byte, error)

func (*FilterLearnersForMentorsAnswerExample) SetCompleted

func (o *FilterLearnersForMentorsAnswerExample) SetCompleted(v bool)

SetCompleted gets a reference to the given bool and assigns it to the Completed field.

func (FilterLearnersForMentorsAnswerExample) ToMap

func (o FilterLearnersForMentorsAnswerExample) ToMap() (map[string]interface{}, error)

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type GigaBoxSlot

type GigaBoxSlot struct {
	// Type of the GigaBox
	BoxType *string `json:"boxType,omitempty"`
}

GigaBoxSlot struct for GigaBoxSlot

func NewGigaBoxSlot

func NewGigaBoxSlot() *GigaBoxSlot

NewGigaBoxSlot instantiates a new GigaBoxSlot object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGigaBoxSlotWithDefaults

func NewGigaBoxSlotWithDefaults() *GigaBoxSlot

NewGigaBoxSlotWithDefaults instantiates a new GigaBoxSlot object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GigaBoxSlot) GetBoxType

func (o *GigaBoxSlot) GetBoxType() string

GetBoxType returns the BoxType field value if set, zero value otherwise.

func (*GigaBoxSlot) GetBoxTypeOk

func (o *GigaBoxSlot) GetBoxTypeOk() (*string, bool)

GetBoxTypeOk returns a tuple with the BoxType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GigaBoxSlot) HasBoxType

func (o *GigaBoxSlot) HasBoxType() bool

HasBoxType returns a boolean if a field has been set.

func (GigaBoxSlot) MarshalJSON

func (o GigaBoxSlot) MarshalJSON() ([]byte, error)

func (*GigaBoxSlot) SetBoxType

func (o *GigaBoxSlot) SetBoxType(v string)

SetBoxType gets a reference to the given string and assigns it to the BoxType field.

func (GigaBoxSlot) ToMap

func (o GigaBoxSlot) ToMap() (map[string]interface{}, error)

type ListCourses

type ListCourses struct {
	// List of courses
	Courses []Course `json:"courses,omitempty"`
	// If specified and not empty - next search data portion token
	NextToken *string `json:"nextToken,omitempty"`
}

ListCourses struct for ListCourses

func NewListCourses

func NewListCourses() *ListCourses

NewListCourses instantiates a new ListCourses object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListCoursesWithDefaults

func NewListCoursesWithDefaults() *ListCourses

NewListCoursesWithDefaults instantiates a new ListCourses object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListCourses) GetCourses

func (o *ListCourses) GetCourses() []Course

GetCourses returns the Courses field value if set, zero value otherwise.

func (*ListCourses) GetCoursesOk

func (o *ListCourses) GetCoursesOk() ([]Course, bool)

GetCoursesOk returns a tuple with the Courses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListCourses) GetNextToken

func (o *ListCourses) GetNextToken() string

GetNextToken returns the NextToken field value if set, zero value otherwise.

func (*ListCourses) GetNextTokenOk

func (o *ListCourses) GetNextTokenOk() (*string, bool)

GetNextTokenOk returns a tuple with the NextToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListCourses) HasCourses

func (o *ListCourses) HasCourses() bool

HasCourses returns a boolean if a field has been set.

func (*ListCourses) HasNextToken

func (o *ListCourses) HasNextToken() bool

HasNextToken returns a boolean if a field has been set.

func (ListCourses) MarshalJSON

func (o ListCourses) MarshalJSON() ([]byte, error)

func (*ListCourses) SetCourses

func (o *ListCourses) SetCourses(v []Course)

SetCourses gets a reference to the given []Course and assigns it to the Courses field.

func (*ListCourses) SetNextToken

func (o *ListCourses) SetNextToken(v string)

SetNextToken gets a reference to the given string and assigns it to the NextToken field.

func (ListCourses) ToMap

func (o ListCourses) ToMap() (map[string]interface{}, error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type Module

type Module struct {
	// Module name
	Name *string `json:"name,omitempty"`
	// Module identifier
	Id          *string      `json:"id,omitempty"`
	Assignments []Assignment `json:"assignments,omitempty"`
}

Module struct for Module

func NewModule

func NewModule() *Module

NewModule instantiates a new Module object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewModuleWithDefaults

func NewModuleWithDefaults() *Module

NewModuleWithDefaults instantiates a new Module object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Module) GetAssignments

func (o *Module) GetAssignments() []Assignment

GetAssignments returns the Assignments field value if set, zero value otherwise.

func (*Module) GetAssignmentsOk

func (o *Module) GetAssignmentsOk() ([]Assignment, bool)

GetAssignmentsOk returns a tuple with the Assignments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Module) GetId

func (o *Module) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Module) GetIdOk

func (o *Module) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Module) GetName

func (o *Module) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Module) GetNameOk

func (o *Module) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Module) HasAssignments

func (o *Module) HasAssignments() bool

HasAssignments returns a boolean if a field has been set.

func (*Module) HasId

func (o *Module) HasId() bool

HasId returns a boolean if a field has been set.

func (*Module) HasName

func (o *Module) HasName() bool

HasName returns a boolean if a field has been set.

func (Module) MarshalJSON

func (o Module) MarshalJSON() ([]byte, error)

func (*Module) SetAssignments

func (o *Module) SetAssignments(v []Assignment)

SetAssignments gets a reference to the given []Assignment and assigns it to the Assignments field.

func (*Module) SetId

func (o *Module) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Module) SetName

func (o *Module) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (Module) ToMap

func (o Module) ToMap() (map[string]interface{}, error)

type NullableAddTeacherToCourse added in v0.0.2

type NullableAddTeacherToCourse struct {
	// contains filtered or unexported fields
}

func NewNullableAddTeacherToCourse added in v0.0.2

func NewNullableAddTeacherToCourse(val *AddTeacherToCourse) *NullableAddTeacherToCourse

func (NullableAddTeacherToCourse) Get added in v0.0.2

func (NullableAddTeacherToCourse) IsSet added in v0.0.2

func (v NullableAddTeacherToCourse) IsSet() bool

func (NullableAddTeacherToCourse) MarshalJSON added in v0.0.2

func (v NullableAddTeacherToCourse) MarshalJSON() ([]byte, error)

func (*NullableAddTeacherToCourse) Set added in v0.0.2

func (*NullableAddTeacherToCourse) UnmarshalJSON added in v0.0.2

func (v *NullableAddTeacherToCourse) UnmarshalJSON(src []byte) error

func (*NullableAddTeacherToCourse) Unset added in v0.0.2

func (v *NullableAddTeacherToCourse) Unset()

type NullableAddTeacherToCourseAnswer added in v0.0.2

type NullableAddTeacherToCourseAnswer struct {
	// contains filtered or unexported fields
}

func NewNullableAddTeacherToCourseAnswer added in v0.0.2

func NewNullableAddTeacherToCourseAnswer(val *AddTeacherToCourseAnswer) *NullableAddTeacherToCourseAnswer

func (NullableAddTeacherToCourseAnswer) Get added in v0.0.2

func (NullableAddTeacherToCourseAnswer) IsSet added in v0.0.2

func (NullableAddTeacherToCourseAnswer) MarshalJSON added in v0.0.2

func (v NullableAddTeacherToCourseAnswer) MarshalJSON() ([]byte, error)

func (*NullableAddTeacherToCourseAnswer) Set added in v0.0.2

func (*NullableAddTeacherToCourseAnswer) UnmarshalJSON added in v0.0.2

func (v *NullableAddTeacherToCourseAnswer) UnmarshalJSON(src []byte) error

func (*NullableAddTeacherToCourseAnswer) Unset added in v0.0.2

type NullableArchiveCourse

type NullableArchiveCourse struct {
	// contains filtered or unexported fields
}

func NewNullableArchiveCourse

func NewNullableArchiveCourse(val *ArchiveCourse) *NullableArchiveCourse

func (NullableArchiveCourse) Get

func (NullableArchiveCourse) IsSet

func (v NullableArchiveCourse) IsSet() bool

func (NullableArchiveCourse) MarshalJSON

func (v NullableArchiveCourse) MarshalJSON() ([]byte, error)

func (*NullableArchiveCourse) Set

func (v *NullableArchiveCourse) Set(val *ArchiveCourse)

func (*NullableArchiveCourse) UnmarshalJSON

func (v *NullableArchiveCourse) UnmarshalJSON(src []byte) error

func (*NullableArchiveCourse) Unset

func (v *NullableArchiveCourse) Unset()

type NullableAssignment

type NullableAssignment struct {
	// contains filtered or unexported fields
}

func NewNullableAssignment

func NewNullableAssignment(val *Assignment) *NullableAssignment

func (NullableAssignment) Get

func (v NullableAssignment) Get() *Assignment

func (NullableAssignment) IsSet

func (v NullableAssignment) IsSet() bool

func (NullableAssignment) MarshalJSON

func (v NullableAssignment) MarshalJSON() ([]byte, error)

func (*NullableAssignment) Set

func (v *NullableAssignment) Set(val *Assignment)

func (*NullableAssignment) UnmarshalJSON

func (v *NullableAssignment) UnmarshalJSON(src []byte) error

func (*NullableAssignment) Unset

func (v *NullableAssignment) Unset()

type NullableAssignmentProgress

type NullableAssignmentProgress struct {
	// contains filtered or unexported fields
}

func NewNullableAssignmentProgress

func NewNullableAssignmentProgress(val *AssignmentProgress) *NullableAssignmentProgress

func (NullableAssignmentProgress) Get

func (NullableAssignmentProgress) IsSet

func (v NullableAssignmentProgress) IsSet() bool

func (NullableAssignmentProgress) MarshalJSON

func (v NullableAssignmentProgress) MarshalJSON() ([]byte, error)

func (*NullableAssignmentProgress) Set

func (*NullableAssignmentProgress) UnmarshalJSON

func (v *NullableAssignmentProgress) UnmarshalJSON(src []byte) error

func (*NullableAssignmentProgress) Unset

func (v *NullableAssignmentProgress) Unset()

type NullableAssignmentProgressItem

type NullableAssignmentProgressItem struct {
	// contains filtered or unexported fields
}

func (NullableAssignmentProgressItem) Get

func (NullableAssignmentProgressItem) IsSet

func (NullableAssignmentProgressItem) MarshalJSON

func (v NullableAssignmentProgressItem) MarshalJSON() ([]byte, error)

func (*NullableAssignmentProgressItem) Set

func (*NullableAssignmentProgressItem) UnmarshalJSON

func (v *NullableAssignmentProgressItem) UnmarshalJSON(src []byte) error

func (*NullableAssignmentProgressItem) Unset

func (v *NullableAssignmentProgressItem) Unset()

type NullableAssignmentSettings

type NullableAssignmentSettings struct {
	// contains filtered or unexported fields
}

func NewNullableAssignmentSettings

func NewNullableAssignmentSettings(val *AssignmentSettings) *NullableAssignmentSettings

func (NullableAssignmentSettings) Get

func (NullableAssignmentSettings) IsSet

func (v NullableAssignmentSettings) IsSet() bool

func (NullableAssignmentSettings) MarshalJSON

func (v NullableAssignmentSettings) MarshalJSON() ([]byte, error)

func (*NullableAssignmentSettings) Set

func (*NullableAssignmentSettings) UnmarshalJSON

func (v *NullableAssignmentSettings) UnmarshalJSON(src []byte) error

func (*NullableAssignmentSettings) Unset

func (v *NullableAssignmentSettings) Unset()

type NullableAssignmentSettingsResult

type NullableAssignmentSettingsResult struct {
	// contains filtered or unexported fields
}

func (NullableAssignmentSettingsResult) Get

func (NullableAssignmentSettingsResult) IsSet

func (NullableAssignmentSettingsResult) MarshalJSON

func (v NullableAssignmentSettingsResult) MarshalJSON() ([]byte, error)

func (*NullableAssignmentSettingsResult) Set

func (*NullableAssignmentSettingsResult) UnmarshalJSON

func (v *NullableAssignmentSettingsResult) UnmarshalJSON(src []byte) error

func (*NullableAssignmentSettingsResult) Unset

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCourse

type NullableCourse struct {
	// contains filtered or unexported fields
}

func NewNullableCourse

func NewNullableCourse(val *Course) *NullableCourse

func (NullableCourse) Get

func (v NullableCourse) Get() *Course

func (NullableCourse) IsSet

func (v NullableCourse) IsSet() bool

func (NullableCourse) MarshalJSON

func (v NullableCourse) MarshalJSON() ([]byte, error)

func (*NullableCourse) Set

func (v *NullableCourse) Set(val *Course)

func (*NullableCourse) UnmarshalJSON

func (v *NullableCourse) UnmarshalJSON(src []byte) error

func (*NullableCourse) Unset

func (v *NullableCourse) Unset()

type NullableCreateAssignment

type NullableCreateAssignment struct {
	// contains filtered or unexported fields
}

func NewNullableCreateAssignment

func NewNullableCreateAssignment(val *CreateAssignment) *NullableCreateAssignment

func (NullableCreateAssignment) Get

func (NullableCreateAssignment) IsSet

func (v NullableCreateAssignment) IsSet() bool

func (NullableCreateAssignment) MarshalJSON

func (v NullableCreateAssignment) MarshalJSON() ([]byte, error)

func (*NullableCreateAssignment) Set

func (*NullableCreateAssignment) UnmarshalJSON

func (v *NullableCreateAssignment) UnmarshalJSON(src []byte) error

func (*NullableCreateAssignment) Unset

func (v *NullableCreateAssignment) Unset()

type NullableCreateAssignmentAnswer

type NullableCreateAssignmentAnswer struct {
	// contains filtered or unexported fields
}

func (NullableCreateAssignmentAnswer) Get

func (NullableCreateAssignmentAnswer) IsSet

func (NullableCreateAssignmentAnswer) MarshalJSON

func (v NullableCreateAssignmentAnswer) MarshalJSON() ([]byte, error)

func (*NullableCreateAssignmentAnswer) Set

func (*NullableCreateAssignmentAnswer) UnmarshalJSON

func (v *NullableCreateAssignmentAnswer) UnmarshalJSON(src []byte) error

func (*NullableCreateAssignmentAnswer) Unset

func (v *NullableCreateAssignmentAnswer) Unset()

type NullableCreateAssignmentSettings

type NullableCreateAssignmentSettings struct {
	// contains filtered or unexported fields
}

func (NullableCreateAssignmentSettings) Get

func (NullableCreateAssignmentSettings) IsSet

func (NullableCreateAssignmentSettings) MarshalJSON

func (v NullableCreateAssignmentSettings) MarshalJSON() ([]byte, error)

func (*NullableCreateAssignmentSettings) Set

func (*NullableCreateAssignmentSettings) UnmarshalJSON

func (v *NullableCreateAssignmentSettings) UnmarshalJSON(src []byte) error

func (*NullableCreateAssignmentSettings) Unset

type NullableCreateCourse

type NullableCreateCourse struct {
	// contains filtered or unexported fields
}

func NewNullableCreateCourse

func NewNullableCreateCourse(val *CreateCourse) *NullableCreateCourse

func (NullableCreateCourse) Get

func (NullableCreateCourse) IsSet

func (v NullableCreateCourse) IsSet() bool

func (NullableCreateCourse) MarshalJSON

func (v NullableCreateCourse) MarshalJSON() ([]byte, error)

func (*NullableCreateCourse) Set

func (v *NullableCreateCourse) Set(val *CreateCourse)

func (*NullableCreateCourse) UnmarshalJSON

func (v *NullableCreateCourse) UnmarshalJSON(src []byte) error

func (*NullableCreateCourse) Unset

func (v *NullableCreateCourse) Unset()

type NullableCreateCourseAnswer

type NullableCreateCourseAnswer struct {
	// contains filtered or unexported fields
}

func NewNullableCreateCourseAnswer

func NewNullableCreateCourseAnswer(val *CreateCourseAnswer) *NullableCreateCourseAnswer

func (NullableCreateCourseAnswer) Get

func (NullableCreateCourseAnswer) IsSet

func (v NullableCreateCourseAnswer) IsSet() bool

func (NullableCreateCourseAnswer) MarshalJSON

func (v NullableCreateCourseAnswer) MarshalJSON() ([]byte, error)

func (*NullableCreateCourseAnswer) Set

func (*NullableCreateCourseAnswer) UnmarshalJSON

func (v *NullableCreateCourseAnswer) UnmarshalJSON(src []byte) error

func (*NullableCreateCourseAnswer) Unset

func (v *NullableCreateCourseAnswer) Unset()

type NullableCreateCourseModule

type NullableCreateCourseModule struct {
	// contains filtered or unexported fields
}

func NewNullableCreateCourseModule

func NewNullableCreateCourseModule(val *CreateCourseModule) *NullableCreateCourseModule

func (NullableCreateCourseModule) Get

func (NullableCreateCourseModule) IsSet

func (v NullableCreateCourseModule) IsSet() bool

func (NullableCreateCourseModule) MarshalJSON

func (v NullableCreateCourseModule) MarshalJSON() ([]byte, error)

func (*NullableCreateCourseModule) Set

func (*NullableCreateCourseModule) UnmarshalJSON

func (v *NullableCreateCourseModule) UnmarshalJSON(src []byte) error

func (*NullableCreateCourseModule) Unset

func (v *NullableCreateCourseModule) Unset()

type NullableCreateCourseModuleAnswer

type NullableCreateCourseModuleAnswer struct {
	// contains filtered or unexported fields
}

func (NullableCreateCourseModuleAnswer) Get

func (NullableCreateCourseModuleAnswer) IsSet

func (NullableCreateCourseModuleAnswer) MarshalJSON

func (v NullableCreateCourseModuleAnswer) MarshalJSON() ([]byte, error)

func (*NullableCreateCourseModuleAnswer) Set

func (*NullableCreateCourseModuleAnswer) UnmarshalJSON

func (v *NullableCreateCourseModuleAnswer) UnmarshalJSON(src []byte) error

func (*NullableCreateCourseModuleAnswer) Unset

type NullableDownloadStatus

type NullableDownloadStatus struct {
	// contains filtered or unexported fields
}

func NewNullableDownloadStatus

func NewNullableDownloadStatus(val *DownloadStatus) *NullableDownloadStatus

func (NullableDownloadStatus) Get

func (NullableDownloadStatus) IsSet

func (v NullableDownloadStatus) IsSet() bool

func (NullableDownloadStatus) MarshalJSON

func (v NullableDownloadStatus) MarshalJSON() ([]byte, error)

func (*NullableDownloadStatus) Set

func (*NullableDownloadStatus) UnmarshalJSON

func (v *NullableDownloadStatus) UnmarshalJSON(src []byte) error

func (*NullableDownloadStatus) Unset

func (v *NullableDownloadStatus) Unset()

type NullableEvent

type NullableEvent struct {
	// contains filtered or unexported fields
}

func NewNullableEvent

func NewNullableEvent(val *Event) *NullableEvent

func (NullableEvent) Get

func (v NullableEvent) Get() *Event

func (NullableEvent) IsSet

func (v NullableEvent) IsSet() bool

func (NullableEvent) MarshalJSON

func (v NullableEvent) MarshalJSON() ([]byte, error)

func (*NullableEvent) Set

func (v *NullableEvent) Set(val *Event)

func (*NullableEvent) UnmarshalJSON

func (v *NullableEvent) UnmarshalJSON(src []byte) error

func (*NullableEvent) Unset

func (v *NullableEvent) Unset()

type NullableEventsList

type NullableEventsList struct {
	// contains filtered or unexported fields
}

func NewNullableEventsList

func NewNullableEventsList(val *EventsList) *NullableEventsList

func (NullableEventsList) Get

func (v NullableEventsList) Get() *EventsList

func (NullableEventsList) IsSet

func (v NullableEventsList) IsSet() bool

func (NullableEventsList) MarshalJSON

func (v NullableEventsList) MarshalJSON() ([]byte, error)

func (*NullableEventsList) Set

func (v *NullableEventsList) Set(val *EventsList)

func (*NullableEventsList) UnmarshalJSON

func (v *NullableEventsList) UnmarshalJSON(src []byte) error

func (*NullableEventsList) Unset

func (v *NullableEventsList) Unset()

type NullableExamMode

type NullableExamMode struct {
	// contains filtered or unexported fields
}

func NewNullableExamMode

func NewNullableExamMode(val *ExamMode) *NullableExamMode

func (NullableExamMode) Get

func (v NullableExamMode) Get() *ExamMode

func (NullableExamMode) IsSet

func (v NullableExamMode) IsSet() bool

func (NullableExamMode) MarshalJSON

func (v NullableExamMode) MarshalJSON() ([]byte, error)

func (*NullableExamMode) Set

func (v *NullableExamMode) Set(val *ExamMode)

func (*NullableExamMode) UnmarshalJSON

func (v *NullableExamMode) UnmarshalJSON(src []byte) error

func (*NullableExamMode) Unset

func (v *NullableExamMode) Unset()

type NullableFilterLearnersForMentorsAnswerExample

type NullableFilterLearnersForMentorsAnswerExample struct {
	// contains filtered or unexported fields
}

func (NullableFilterLearnersForMentorsAnswerExample) Get

func (NullableFilterLearnersForMentorsAnswerExample) IsSet

func (NullableFilterLearnersForMentorsAnswerExample) MarshalJSON

func (*NullableFilterLearnersForMentorsAnswerExample) Set

func (*NullableFilterLearnersForMentorsAnswerExample) UnmarshalJSON

func (*NullableFilterLearnersForMentorsAnswerExample) Unset

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableGigaBoxSlot

type NullableGigaBoxSlot struct {
	// contains filtered or unexported fields
}

func NewNullableGigaBoxSlot

func NewNullableGigaBoxSlot(val *GigaBoxSlot) *NullableGigaBoxSlot

func (NullableGigaBoxSlot) Get

func (NullableGigaBoxSlot) IsSet

func (v NullableGigaBoxSlot) IsSet() bool

func (NullableGigaBoxSlot) MarshalJSON

func (v NullableGigaBoxSlot) MarshalJSON() ([]byte, error)

func (*NullableGigaBoxSlot) Set

func (v *NullableGigaBoxSlot) Set(val *GigaBoxSlot)

func (*NullableGigaBoxSlot) UnmarshalJSON

func (v *NullableGigaBoxSlot) UnmarshalJSON(src []byte) error

func (*NullableGigaBoxSlot) Unset

func (v *NullableGigaBoxSlot) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableListCourses

type NullableListCourses struct {
	// contains filtered or unexported fields
}

func NewNullableListCourses

func NewNullableListCourses(val *ListCourses) *NullableListCourses

func (NullableListCourses) Get

func (NullableListCourses) IsSet

func (v NullableListCourses) IsSet() bool

func (NullableListCourses) MarshalJSON

func (v NullableListCourses) MarshalJSON() ([]byte, error)

func (*NullableListCourses) Set

func (v *NullableListCourses) Set(val *ListCourses)

func (*NullableListCourses) UnmarshalJSON

func (v *NullableListCourses) UnmarshalJSON(src []byte) error

func (*NullableListCourses) Unset

func (v *NullableListCourses) Unset()

type NullableModule

type NullableModule struct {
	// contains filtered or unexported fields
}

func NewNullableModule

func NewNullableModule(val *Module) *NullableModule

func (NullableModule) Get

func (v NullableModule) Get() *Module

func (NullableModule) IsSet

func (v NullableModule) IsSet() bool

func (NullableModule) MarshalJSON

func (v NullableModule) MarshalJSON() ([]byte, error)

func (*NullableModule) Set

func (v *NullableModule) Set(val *Module)

func (*NullableModule) UnmarshalJSON

func (v *NullableModule) UnmarshalJSON(src []byte) error

func (*NullableModule) Unset

func (v *NullableModule) Unset()

type NullablePenaltySettings

type NullablePenaltySettings struct {
	// contains filtered or unexported fields
}

func NewNullablePenaltySettings

func NewNullablePenaltySettings(val *PenaltySettings) *NullablePenaltySettings

func (NullablePenaltySettings) Get

func (NullablePenaltySettings) IsSet

func (v NullablePenaltySettings) IsSet() bool

func (NullablePenaltySettings) MarshalJSON

func (v NullablePenaltySettings) MarshalJSON() ([]byte, error)

func (*NullablePenaltySettings) Set

func (*NullablePenaltySettings) UnmarshalJSON

func (v *NullablePenaltySettings) UnmarshalJSON(src []byte) error

func (*NullablePenaltySettings) Unset

func (v *NullablePenaltySettings) Unset()

type NullableRestrictedIPRange

type NullableRestrictedIPRange struct {
	// contains filtered or unexported fields
}

func NewNullableRestrictedIPRange

func NewNullableRestrictedIPRange(val *RestrictedIPRange) *NullableRestrictedIPRange

func (NullableRestrictedIPRange) Get

func (NullableRestrictedIPRange) IsSet

func (v NullableRestrictedIPRange) IsSet() bool

func (NullableRestrictedIPRange) MarshalJSON

func (v NullableRestrictedIPRange) MarshalJSON() ([]byte, error)

func (*NullableRestrictedIPRange) Set

func (*NullableRestrictedIPRange) UnmarshalJSON

func (v *NullableRestrictedIPRange) UnmarshalJSON(src []byte) error

func (*NullableRestrictedIPRange) Unset

func (v *NullableRestrictedIPRange) Unset()

type NullableSocrateAnswerExample

type NullableSocrateAnswerExample struct {
	// contains filtered or unexported fields
}

func NewNullableSocrateAnswerExample

func NewNullableSocrateAnswerExample(val *SocrateAnswerExample) *NullableSocrateAnswerExample

func (NullableSocrateAnswerExample) Get

func (NullableSocrateAnswerExample) IsSet

func (NullableSocrateAnswerExample) MarshalJSON

func (v NullableSocrateAnswerExample) MarshalJSON() ([]byte, error)

func (*NullableSocrateAnswerExample) Set

func (*NullableSocrateAnswerExample) UnmarshalJSON

func (v *NullableSocrateAnswerExample) UnmarshalJSON(src []byte) error

func (*NullableSocrateAnswerExample) Unset

func (v *NullableSocrateAnswerExample) Unset()

type NullableSocrateTagSearchExample

type NullableSocrateTagSearchExample struct {
	// contains filtered or unexported fields
}

func (NullableSocrateTagSearchExample) Get

func (NullableSocrateTagSearchExample) IsSet

func (NullableSocrateTagSearchExample) MarshalJSON

func (v NullableSocrateTagSearchExample) MarshalJSON() ([]byte, error)

func (*NullableSocrateTagSearchExample) Set

func (*NullableSocrateTagSearchExample) UnmarshalJSON

func (v *NullableSocrateTagSearchExample) UnmarshalJSON(src []byte) error

func (*NullableSocrateTagSearchExample) Unset

type NullableSocratesLibrary

type NullableSocratesLibrary struct {
	// contains filtered or unexported fields
}

func NewNullableSocratesLibrary

func NewNullableSocratesLibrary(val *SocratesLibrary) *NullableSocratesLibrary

func (NullableSocratesLibrary) Get

func (NullableSocratesLibrary) IsSet

func (v NullableSocratesLibrary) IsSet() bool

func (NullableSocratesLibrary) MarshalJSON

func (v NullableSocratesLibrary) MarshalJSON() ([]byte, error)

func (*NullableSocratesLibrary) Set

func (*NullableSocratesLibrary) UnmarshalJSON

func (v *NullableSocratesLibrary) UnmarshalJSON(src []byte) error

func (*NullableSocratesLibrary) Unset

func (v *NullableSocratesLibrary) Unset()

type NullableStackInfo

type NullableStackInfo struct {
	// contains filtered or unexported fields
}

func NewNullableStackInfo

func NewNullableStackInfo(val *StackInfo) *NullableStackInfo

func (NullableStackInfo) Get

func (v NullableStackInfo) Get() *StackInfo

func (NullableStackInfo) IsSet

func (v NullableStackInfo) IsSet() bool

func (NullableStackInfo) MarshalJSON

func (v NullableStackInfo) MarshalJSON() ([]byte, error)

func (*NullableStackInfo) Set

func (v *NullableStackInfo) Set(val *StackInfo)

func (*NullableStackInfo) UnmarshalJSON

func (v *NullableStackInfo) UnmarshalJSON(src []byte) error

func (*NullableStackInfo) Unset

func (v *NullableStackInfo) Unset()

type NullableStackPublishInfo

type NullableStackPublishInfo struct {
	// contains filtered or unexported fields
}

func NewNullableStackPublishInfo

func NewNullableStackPublishInfo(val *StackPublishInfo) *NullableStackPublishInfo

func (NullableStackPublishInfo) Get

func (NullableStackPublishInfo) IsSet

func (v NullableStackPublishInfo) IsSet() bool

func (NullableStackPublishInfo) MarshalJSON

func (v NullableStackPublishInfo) MarshalJSON() ([]byte, error)

func (*NullableStackPublishInfo) Set

func (*NullableStackPublishInfo) UnmarshalJSON

func (v *NullableStackPublishInfo) UnmarshalJSON(src []byte) error

func (*NullableStackPublishInfo) Unset

func (v *NullableStackPublishInfo) Unset()

type NullableStackVersionInfo

type NullableStackVersionInfo struct {
	// contains filtered or unexported fields
}

func NewNullableStackVersionInfo

func NewNullableStackVersionInfo(val *StackVersionInfo) *NullableStackVersionInfo

func (NullableStackVersionInfo) Get

func (NullableStackVersionInfo) IsSet

func (v NullableStackVersionInfo) IsSet() bool

func (NullableStackVersionInfo) MarshalJSON

func (v NullableStackVersionInfo) MarshalJSON() ([]byte, error)

func (*NullableStackVersionInfo) Set

func (*NullableStackVersionInfo) UnmarshalJSON

func (v *NullableStackVersionInfo) UnmarshalJSON(src []byte) error

func (*NullableStackVersionInfo) Unset

func (v *NullableStackVersionInfo) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableStudentInformation

type NullableStudentInformation struct {
	// contains filtered or unexported fields
}

func NewNullableStudentInformation

func NewNullableStudentInformation(val *StudentInformation) *NullableStudentInformation

func (NullableStudentInformation) Get

func (NullableStudentInformation) IsSet

func (v NullableStudentInformation) IsSet() bool

func (NullableStudentInformation) MarshalJSON

func (v NullableStudentInformation) MarshalJSON() ([]byte, error)

func (*NullableStudentInformation) Set

func (*NullableStudentInformation) UnmarshalJSON

func (v *NullableStudentInformation) UnmarshalJSON(src []byte) error

func (*NullableStudentInformation) Unset

func (v *NullableStudentInformation) Unset()

type NullableStudentTimeExtension

type NullableStudentTimeExtension struct {
	// contains filtered or unexported fields
}

func NewNullableStudentTimeExtension

func NewNullableStudentTimeExtension(val *StudentTimeExtension) *NullableStudentTimeExtension

func (NullableStudentTimeExtension) Get

func (NullableStudentTimeExtension) IsSet

func (NullableStudentTimeExtension) MarshalJSON

func (v NullableStudentTimeExtension) MarshalJSON() ([]byte, error)

func (*NullableStudentTimeExtension) Set

func (*NullableStudentTimeExtension) UnmarshalJSON

func (v *NullableStudentTimeExtension) UnmarshalJSON(src []byte) error

func (*NullableStudentTimeExtension) Unset

func (v *NullableStudentTimeExtension) Unset()

type NullableTaskProgress

type NullableTaskProgress struct {
	// contains filtered or unexported fields
}

func NewNullableTaskProgress

func NewNullableTaskProgress(val *TaskProgress) *NullableTaskProgress

func (NullableTaskProgress) Get

func (NullableTaskProgress) IsSet

func (v NullableTaskProgress) IsSet() bool

func (NullableTaskProgress) MarshalJSON

func (v NullableTaskProgress) MarshalJSON() ([]byte, error)

func (*NullableTaskProgress) Set

func (v *NullableTaskProgress) Set(val *TaskProgress)

func (*NullableTaskProgress) UnmarshalJSON

func (v *NullableTaskProgress) UnmarshalJSON(src []byte) error

func (*NullableTaskProgress) Unset

func (v *NullableTaskProgress) Unset()

type NullableTaskStatus

type NullableTaskStatus struct {
	// contains filtered or unexported fields
}

func NewNullableTaskStatus

func NewNullableTaskStatus(val *TaskStatus) *NullableTaskStatus

func (NullableTaskStatus) Get

func (v NullableTaskStatus) Get() *TaskStatus

func (NullableTaskStatus) IsSet

func (v NullableTaskStatus) IsSet() bool

func (NullableTaskStatus) MarshalJSON

func (v NullableTaskStatus) MarshalJSON() ([]byte, error)

func (*NullableTaskStatus) Set

func (v *NullableTaskStatus) Set(val *TaskStatus)

func (*NullableTaskStatus) UnmarshalJSON

func (v *NullableTaskStatus) UnmarshalJSON(src []byte) error

func (*NullableTaskStatus) Unset

func (v *NullableTaskStatus) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableTimedExamMode

type NullableTimedExamMode struct {
	// contains filtered or unexported fields
}

func NewNullableTimedExamMode

func NewNullableTimedExamMode(val *TimedExamMode) *NullableTimedExamMode

func (NullableTimedExamMode) Get

func (NullableTimedExamMode) IsSet

func (v NullableTimedExamMode) IsSet() bool

func (NullableTimedExamMode) MarshalJSON

func (v NullableTimedExamMode) MarshalJSON() ([]byte, error)

func (*NullableTimedExamMode) Set

func (v *NullableTimedExamMode) Set(val *TimedExamMode)

func (*NullableTimedExamMode) UnmarshalJSON

func (v *NullableTimedExamMode) UnmarshalJSON(src []byte) error

func (*NullableTimedExamMode) Unset

func (v *NullableTimedExamMode) Unset()

type NullableUser

type NullableUser struct {
	// contains filtered or unexported fields
}

func NewNullableUser

func NewNullableUser(val *User) *NullableUser

func (NullableUser) Get

func (v NullableUser) Get() *User

func (NullableUser) IsSet

func (v NullableUser) IsSet() bool

func (NullableUser) MarshalJSON

func (v NullableUser) MarshalJSON() ([]byte, error)

func (*NullableUser) Set

func (v *NullableUser) Set(val *User)

func (*NullableUser) UnmarshalJSON

func (v *NullableUser) UnmarshalJSON(src []byte) error

func (*NullableUser) Unset

func (v *NullableUser) Unset()

type PenaltySettings

type PenaltySettings struct {
	Enabled                  *bool  `json:"enabled,omitempty"`
	DeductionIntervalMinutes *int32 `json:"deductionIntervalMinutes,omitempty"`
	DeductionPercent         *int32 `json:"deductionPercent,omitempty"`
	LowestGradePercent       *int32 `json:"lowestGradePercent,omitempty"`
}

PenaltySettings struct for PenaltySettings

func NewPenaltySettings

func NewPenaltySettings() *PenaltySettings

NewPenaltySettings instantiates a new PenaltySettings object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPenaltySettingsWithDefaults

func NewPenaltySettingsWithDefaults() *PenaltySettings

NewPenaltySettingsWithDefaults instantiates a new PenaltySettings object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PenaltySettings) GetDeductionIntervalMinutes

func (o *PenaltySettings) GetDeductionIntervalMinutes() int32

GetDeductionIntervalMinutes returns the DeductionIntervalMinutes field value if set, zero value otherwise.

func (*PenaltySettings) GetDeductionIntervalMinutesOk

func (o *PenaltySettings) GetDeductionIntervalMinutesOk() (*int32, bool)

GetDeductionIntervalMinutesOk returns a tuple with the DeductionIntervalMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PenaltySettings) GetDeductionPercent

func (o *PenaltySettings) GetDeductionPercent() int32

GetDeductionPercent returns the DeductionPercent field value if set, zero value otherwise.

func (*PenaltySettings) GetDeductionPercentOk

func (o *PenaltySettings) GetDeductionPercentOk() (*int32, bool)

GetDeductionPercentOk returns a tuple with the DeductionPercent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PenaltySettings) GetEnabled

func (o *PenaltySettings) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*PenaltySettings) GetEnabledOk

func (o *PenaltySettings) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PenaltySettings) GetLowestGradePercent

func (o *PenaltySettings) GetLowestGradePercent() int32

GetLowestGradePercent returns the LowestGradePercent field value if set, zero value otherwise.

func (*PenaltySettings) GetLowestGradePercentOk

func (o *PenaltySettings) GetLowestGradePercentOk() (*int32, bool)

GetLowestGradePercentOk returns a tuple with the LowestGradePercent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PenaltySettings) HasDeductionIntervalMinutes

func (o *PenaltySettings) HasDeductionIntervalMinutes() bool

HasDeductionIntervalMinutes returns a boolean if a field has been set.

func (*PenaltySettings) HasDeductionPercent

func (o *PenaltySettings) HasDeductionPercent() bool

HasDeductionPercent returns a boolean if a field has been set.

func (*PenaltySettings) HasEnabled

func (o *PenaltySettings) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*PenaltySettings) HasLowestGradePercent

func (o *PenaltySettings) HasLowestGradePercent() bool

HasLowestGradePercent returns a boolean if a field has been set.

func (PenaltySettings) MarshalJSON

func (o PenaltySettings) MarshalJSON() ([]byte, error)

func (*PenaltySettings) SetDeductionIntervalMinutes

func (o *PenaltySettings) SetDeductionIntervalMinutes(v int32)

SetDeductionIntervalMinutes gets a reference to the given int32 and assigns it to the DeductionIntervalMinutes field.

func (*PenaltySettings) SetDeductionPercent

func (o *PenaltySettings) SetDeductionPercent(v int32)

SetDeductionPercent gets a reference to the given int32 and assigns it to the DeductionPercent field.

func (*PenaltySettings) SetEnabled

func (o *PenaltySettings) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*PenaltySettings) SetLowestGradePercent

func (o *PenaltySettings) SetLowestGradePercent(v int32)

SetLowestGradePercent gets a reference to the given int32 and assigns it to the LowestGradePercent field.

func (PenaltySettings) ToMap

func (o PenaltySettings) ToMap() (map[string]interface{}, error)

type RestrictedIPRange

type RestrictedIPRange struct {
	Enabled *bool `json:"enabled,omitempty"`
	// Each ip from new line. Can specify IP or subnet.
	Range *string `json:"range,omitempty"`
}

RestrictedIPRange struct for RestrictedIPRange

func NewRestrictedIPRange

func NewRestrictedIPRange() *RestrictedIPRange

NewRestrictedIPRange instantiates a new RestrictedIPRange object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRestrictedIPRangeWithDefaults

func NewRestrictedIPRangeWithDefaults() *RestrictedIPRange

NewRestrictedIPRangeWithDefaults instantiates a new RestrictedIPRange object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RestrictedIPRange) GetEnabled

func (o *RestrictedIPRange) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*RestrictedIPRange) GetEnabledOk

func (o *RestrictedIPRange) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RestrictedIPRange) GetRange

func (o *RestrictedIPRange) GetRange() string

GetRange returns the Range field value if set, zero value otherwise.

func (*RestrictedIPRange) GetRangeOk

func (o *RestrictedIPRange) GetRangeOk() (*string, bool)

GetRangeOk returns a tuple with the Range field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RestrictedIPRange) HasEnabled

func (o *RestrictedIPRange) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*RestrictedIPRange) HasRange

func (o *RestrictedIPRange) HasRange() bool

HasRange returns a boolean if a field has been set.

func (RestrictedIPRange) MarshalJSON

func (o RestrictedIPRange) MarshalJSON() ([]byte, error)

func (*RestrictedIPRange) SetEnabled

func (o *RestrictedIPRange) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*RestrictedIPRange) SetRange

func (o *RestrictedIPRange) SetRange(v string)

SetRange gets a reference to the given string and assigns it to the Range field.

func (RestrictedIPRange) ToMap

func (o RestrictedIPRange) ToMap() (map[string]interface{}, error)

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type SocrateAnswerExample

type SocrateAnswerExample struct {
	Assessments []map[string]interface{} `json:"assessments,omitempty"`
}

SocrateAnswerExample struct for SocrateAnswerExample

func NewSocrateAnswerExample

func NewSocrateAnswerExample() *SocrateAnswerExample

NewSocrateAnswerExample instantiates a new SocrateAnswerExample object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSocrateAnswerExampleWithDefaults

func NewSocrateAnswerExampleWithDefaults() *SocrateAnswerExample

NewSocrateAnswerExampleWithDefaults instantiates a new SocrateAnswerExample object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SocrateAnswerExample) GetAssessments

func (o *SocrateAnswerExample) GetAssessments() []map[string]interface{}

GetAssessments returns the Assessments field value if set, zero value otherwise.

func (*SocrateAnswerExample) GetAssessmentsOk

func (o *SocrateAnswerExample) GetAssessmentsOk() ([]map[string]interface{}, bool)

GetAssessmentsOk returns a tuple with the Assessments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SocrateAnswerExample) HasAssessments

func (o *SocrateAnswerExample) HasAssessments() bool

HasAssessments returns a boolean if a field has been set.

func (SocrateAnswerExample) MarshalJSON

func (o SocrateAnswerExample) MarshalJSON() ([]byte, error)

func (*SocrateAnswerExample) SetAssessments

func (o *SocrateAnswerExample) SetAssessments(v []map[string]interface{})

SetAssessments gets a reference to the given []map[string]interface{} and assigns it to the Assessments field.

func (SocrateAnswerExample) ToMap

func (o SocrateAnswerExample) ToMap() (map[string]interface{}, error)

type SocrateTagSearchExample

type SocrateTagSearchExample struct {
	AssessmentType      *string `json:"Assessment Type,omitempty"`
	BloomsLevel         *string `json:"Bloom's level,omitempty"`
	Content             *string `json:"Content,omitempty"`
	ProgrammingLanguage *string `json:"Programming Language,omitempty"`
	LearningObjectives  *string `json:"Learning Objectives,omitempty"`
}

SocrateTagSearchExample struct for SocrateTagSearchExample

func NewSocrateTagSearchExample

func NewSocrateTagSearchExample() *SocrateTagSearchExample

NewSocrateTagSearchExample instantiates a new SocrateTagSearchExample object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSocrateTagSearchExampleWithDefaults

func NewSocrateTagSearchExampleWithDefaults() *SocrateTagSearchExample

NewSocrateTagSearchExampleWithDefaults instantiates a new SocrateTagSearchExample object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SocrateTagSearchExample) GetAssessmentType

func (o *SocrateTagSearchExample) GetAssessmentType() string

GetAssessmentType returns the AssessmentType field value if set, zero value otherwise.

func (*SocrateTagSearchExample) GetAssessmentTypeOk

func (o *SocrateTagSearchExample) GetAssessmentTypeOk() (*string, bool)

GetAssessmentTypeOk returns a tuple with the AssessmentType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SocrateTagSearchExample) GetBloomsLevel

func (o *SocrateTagSearchExample) GetBloomsLevel() string

GetBloomsLevel returns the BloomsLevel field value if set, zero value otherwise.

func (*SocrateTagSearchExample) GetBloomsLevelOk

func (o *SocrateTagSearchExample) GetBloomsLevelOk() (*string, bool)

GetBloomsLevelOk returns a tuple with the BloomsLevel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SocrateTagSearchExample) GetContent

func (o *SocrateTagSearchExample) GetContent() string

GetContent returns the Content field value if set, zero value otherwise.

func (*SocrateTagSearchExample) GetContentOk

func (o *SocrateTagSearchExample) GetContentOk() (*string, bool)

GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SocrateTagSearchExample) GetLearningObjectives

func (o *SocrateTagSearchExample) GetLearningObjectives() string

GetLearningObjectives returns the LearningObjectives field value if set, zero value otherwise.

func (*SocrateTagSearchExample) GetLearningObjectivesOk

func (o *SocrateTagSearchExample) GetLearningObjectivesOk() (*string, bool)

GetLearningObjectivesOk returns a tuple with the LearningObjectives field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SocrateTagSearchExample) GetProgrammingLanguage

func (o *SocrateTagSearchExample) GetProgrammingLanguage() string

GetProgrammingLanguage returns the ProgrammingLanguage field value if set, zero value otherwise.

func (*SocrateTagSearchExample) GetProgrammingLanguageOk

func (o *SocrateTagSearchExample) GetProgrammingLanguageOk() (*string, bool)

GetProgrammingLanguageOk returns a tuple with the ProgrammingLanguage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SocrateTagSearchExample) HasAssessmentType

func (o *SocrateTagSearchExample) HasAssessmentType() bool

HasAssessmentType returns a boolean if a field has been set.

func (*SocrateTagSearchExample) HasBloomsLevel

func (o *SocrateTagSearchExample) HasBloomsLevel() bool

HasBloomsLevel returns a boolean if a field has been set.

func (*SocrateTagSearchExample) HasContent

func (o *SocrateTagSearchExample) HasContent() bool

HasContent returns a boolean if a field has been set.

func (*SocrateTagSearchExample) HasLearningObjectives

func (o *SocrateTagSearchExample) HasLearningObjectives() bool

HasLearningObjectives returns a boolean if a field has been set.

func (*SocrateTagSearchExample) HasProgrammingLanguage

func (o *SocrateTagSearchExample) HasProgrammingLanguage() bool

HasProgrammingLanguage returns a boolean if a field has been set.

func (SocrateTagSearchExample) MarshalJSON

func (o SocrateTagSearchExample) MarshalJSON() ([]byte, error)

func (*SocrateTagSearchExample) SetAssessmentType

func (o *SocrateTagSearchExample) SetAssessmentType(v string)

SetAssessmentType gets a reference to the given string and assigns it to the AssessmentType field.

func (*SocrateTagSearchExample) SetBloomsLevel

func (o *SocrateTagSearchExample) SetBloomsLevel(v string)

SetBloomsLevel gets a reference to the given string and assigns it to the BloomsLevel field.

func (*SocrateTagSearchExample) SetContent

func (o *SocrateTagSearchExample) SetContent(v string)

SetContent gets a reference to the given string and assigns it to the Content field.

func (*SocrateTagSearchExample) SetLearningObjectives

func (o *SocrateTagSearchExample) SetLearningObjectives(v string)

SetLearningObjectives gets a reference to the given string and assigns it to the LearningObjectives field.

func (*SocrateTagSearchExample) SetProgrammingLanguage

func (o *SocrateTagSearchExample) SetProgrammingLanguage(v string)

SetProgrammingLanguage gets a reference to the given string and assigns it to the ProgrammingLanguage field.

func (SocrateTagSearchExample) ToMap

func (o SocrateTagSearchExample) ToMap() (map[string]interface{}, error)

type SocratesLibrary

type SocratesLibrary struct {
	Id        *string `json:"id,omitempty"`
	Name      *string `json:"name,omitempty"`
	CreatedBy *string `json:"createdBy,omitempty"`
}

SocratesLibrary struct for SocratesLibrary

func NewSocratesLibrary

func NewSocratesLibrary() *SocratesLibrary

NewSocratesLibrary instantiates a new SocratesLibrary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSocratesLibraryWithDefaults

func NewSocratesLibraryWithDefaults() *SocratesLibrary

NewSocratesLibraryWithDefaults instantiates a new SocratesLibrary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SocratesLibrary) GetCreatedBy

func (o *SocratesLibrary) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*SocratesLibrary) GetCreatedByOk

func (o *SocratesLibrary) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SocratesLibrary) GetId

func (o *SocratesLibrary) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*SocratesLibrary) GetIdOk

func (o *SocratesLibrary) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SocratesLibrary) GetName

func (o *SocratesLibrary) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SocratesLibrary) GetNameOk

func (o *SocratesLibrary) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SocratesLibrary) HasCreatedBy

func (o *SocratesLibrary) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*SocratesLibrary) HasId

func (o *SocratesLibrary) HasId() bool

HasId returns a boolean if a field has been set.

func (*SocratesLibrary) HasName

func (o *SocratesLibrary) HasName() bool

HasName returns a boolean if a field has been set.

func (SocratesLibrary) MarshalJSON

func (o SocratesLibrary) MarshalJSON() ([]byte, error)

func (*SocratesLibrary) SetCreatedBy

func (o *SocratesLibrary) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*SocratesLibrary) SetId

func (o *SocratesLibrary) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SocratesLibrary) SetName

func (o *SocratesLibrary) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (SocratesLibrary) ToMap

func (o SocratesLibrary) ToMap() (map[string]interface{}, error)

type StackAPIAPIService

type StackAPIAPIService service

StackAPIAPIService StackAPIAPI service

func (*StackAPIAPIService) StackInfo

func (a *StackAPIAPIService) StackInfo(ctx context.Context, stackId string) ApiStackInfoRequest

StackInfo Get stack information

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param stackId Stack id
@return ApiStackInfoRequest

func (*StackAPIAPIService) StackInfoExecute

func (a *StackAPIAPIService) StackInfoExecute(r ApiStackInfoRequest) (*StackInfo, *http.Response, error)

Execute executes the request

@return StackInfo

func (*StackAPIAPIService) StackVersionsPublish

func (a *StackAPIAPIService) StackVersionsPublish(ctx context.Context, stackId string) ApiStackVersionsPublishRequest

StackVersionsPublish Publish new stack version

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param stackId Stack id
@return ApiStackVersionsPublishRequest

func (*StackAPIAPIService) StackVersionsPublishExecute

func (a *StackAPIAPIService) StackVersionsPublishExecute(r ApiStackVersionsPublishRequest) (*TaskProgress, *http.Response, error)

Execute executes the request

@return TaskProgress

func (*StackAPIAPIService) StackVersionsPublishStatus

func (a *StackAPIAPIService) StackVersionsPublishStatus(ctx context.Context, stackId string, taskId string) ApiStackVersionsPublishStatusRequest

StackVersionsPublishStatus Get stack version publish information

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param stackId Stack id
@param taskId Task id
@return ApiStackVersionsPublishStatusRequest

func (*StackAPIAPIService) StackVersionsPublishStatusExecute

func (a *StackAPIAPIService) StackVersionsPublishStatusExecute(r ApiStackVersionsPublishStatusRequest) (*StackPublishInfo, *http.Response, error)

Execute executes the request

@return StackPublishInfo

type StackInfo

type StackInfo struct {
	Id               *string            `json:"id,omitempty"`
	Name             *string            `json:"name,omitempty"`
	LongDescription  *string            `json:"long_description,omitempty"`
	ShortDescription *string            `json:"short_description,omitempty"`
	Owner            *string            `json:"owner,omitempty"`
	OwnerType        *string            `json:"owner_type,omitempty"`
	Versions         []StackVersionInfo `json:"versions,omitempty"`
	Installations    *int64             `json:"installations,omitempty"`
}

StackInfo struct for StackInfo

func NewStackInfo

func NewStackInfo() *StackInfo

NewStackInfo instantiates a new StackInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStackInfoWithDefaults

func NewStackInfoWithDefaults() *StackInfo

NewStackInfoWithDefaults instantiates a new StackInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StackInfo) GetId

func (o *StackInfo) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*StackInfo) GetIdOk

func (o *StackInfo) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StackInfo) GetInstallations

func (o *StackInfo) GetInstallations() int64

GetInstallations returns the Installations field value if set, zero value otherwise.

func (*StackInfo) GetInstallationsOk

func (o *StackInfo) GetInstallationsOk() (*int64, bool)

GetInstallationsOk returns a tuple with the Installations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StackInfo) GetLongDescription

func (o *StackInfo) GetLongDescription() string

GetLongDescription returns the LongDescription field value if set, zero value otherwise.

func (*StackInfo) GetLongDescriptionOk

func (o *StackInfo) GetLongDescriptionOk() (*string, bool)

GetLongDescriptionOk returns a tuple with the LongDescription field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StackInfo) GetName

func (o *StackInfo) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*StackInfo) GetNameOk

func (o *StackInfo) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StackInfo) GetOwner

func (o *StackInfo) GetOwner() string

GetOwner returns the Owner field value if set, zero value otherwise.

func (*StackInfo) GetOwnerOk

func (o *StackInfo) GetOwnerOk() (*string, bool)

GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StackInfo) GetOwnerType

func (o *StackInfo) GetOwnerType() string

GetOwnerType returns the OwnerType field value if set, zero value otherwise.

func (*StackInfo) GetOwnerTypeOk

func (o *StackInfo) GetOwnerTypeOk() (*string, bool)

GetOwnerTypeOk returns a tuple with the OwnerType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StackInfo) GetShortDescription

func (o *StackInfo) GetShortDescription() string

GetShortDescription returns the ShortDescription field value if set, zero value otherwise.

func (*StackInfo) GetShortDescriptionOk

func (o *StackInfo) GetShortDescriptionOk() (*string, bool)

GetShortDescriptionOk returns a tuple with the ShortDescription field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StackInfo) GetVersions

func (o *StackInfo) GetVersions() []StackVersionInfo

GetVersions returns the Versions field value if set, zero value otherwise.

func (*StackInfo) GetVersionsOk

func (o *StackInfo) GetVersionsOk() ([]StackVersionInfo, bool)

GetVersionsOk returns a tuple with the Versions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StackInfo) HasId

func (o *StackInfo) HasId() bool

HasId returns a boolean if a field has been set.

func (*StackInfo) HasInstallations

func (o *StackInfo) HasInstallations() bool

HasInstallations returns a boolean if a field has been set.

func (*StackInfo) HasLongDescription

func (o *StackInfo) HasLongDescription() bool

HasLongDescription returns a boolean if a field has been set.

func (*StackInfo) HasName

func (o *StackInfo) HasName() bool

HasName returns a boolean if a field has been set.

func (*StackInfo) HasOwner

func (o *StackInfo) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*StackInfo) HasOwnerType

func (o *StackInfo) HasOwnerType() bool

HasOwnerType returns a boolean if a field has been set.

func (*StackInfo) HasShortDescription

func (o *StackInfo) HasShortDescription() bool

HasShortDescription returns a boolean if a field has been set.

func (*StackInfo) HasVersions

func (o *StackInfo) HasVersions() bool

HasVersions returns a boolean if a field has been set.

func (StackInfo) MarshalJSON

func (o StackInfo) MarshalJSON() ([]byte, error)

func (*StackInfo) SetId

func (o *StackInfo) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*StackInfo) SetInstallations

func (o *StackInfo) SetInstallations(v int64)

SetInstallations gets a reference to the given int64 and assigns it to the Installations field.

func (*StackInfo) SetLongDescription

func (o *StackInfo) SetLongDescription(v string)

SetLongDescription gets a reference to the given string and assigns it to the LongDescription field.

func (*StackInfo) SetName

func (o *StackInfo) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*StackInfo) SetOwner

func (o *StackInfo) SetOwner(v string)

SetOwner gets a reference to the given string and assigns it to the Owner field.

func (*StackInfo) SetOwnerType

func (o *StackInfo) SetOwnerType(v string)

SetOwnerType gets a reference to the given string and assigns it to the OwnerType field.

func (*StackInfo) SetShortDescription

func (o *StackInfo) SetShortDescription(v string)

SetShortDescription gets a reference to the given string and assigns it to the ShortDescription field.

func (*StackInfo) SetVersions

func (o *StackInfo) SetVersions(v []StackVersionInfo)

SetVersions gets a reference to the given []StackVersionInfo and assigns it to the Versions field.

func (StackInfo) ToMap

func (o StackInfo) ToMap() (map[string]interface{}, error)

type StackPublishInfo

type StackPublishInfo struct {
	Status       *string `json:"status,omitempty"`
	Error        *string `json:"error,omitempty"`
	ProvisionLog *string `json:"provision_log,omitempty"`
}

StackPublishInfo struct for StackPublishInfo

func NewStackPublishInfo

func NewStackPublishInfo() *StackPublishInfo

NewStackPublishInfo instantiates a new StackPublishInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStackPublishInfoWithDefaults

func NewStackPublishInfoWithDefaults() *StackPublishInfo

NewStackPublishInfoWithDefaults instantiates a new StackPublishInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StackPublishInfo) GetError

func (o *StackPublishInfo) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*StackPublishInfo) GetErrorOk

func (o *StackPublishInfo) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StackPublishInfo) GetProvisionLog

func (o *StackPublishInfo) GetProvisionLog() string

GetProvisionLog returns the ProvisionLog field value if set, zero value otherwise.

func (*StackPublishInfo) GetProvisionLogOk

func (o *StackPublishInfo) GetProvisionLogOk() (*string, bool)

GetProvisionLogOk returns a tuple with the ProvisionLog field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StackPublishInfo) GetStatus

func (o *StackPublishInfo) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*StackPublishInfo) GetStatusOk

func (o *StackPublishInfo) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StackPublishInfo) HasError

func (o *StackPublishInfo) HasError() bool

HasError returns a boolean if a field has been set.

func (*StackPublishInfo) HasProvisionLog

func (o *StackPublishInfo) HasProvisionLog() bool

HasProvisionLog returns a boolean if a field has been set.

func (*StackPublishInfo) HasStatus

func (o *StackPublishInfo) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (StackPublishInfo) MarshalJSON

func (o StackPublishInfo) MarshalJSON() ([]byte, error)

func (*StackPublishInfo) SetError

func (o *StackPublishInfo) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*StackPublishInfo) SetProvisionLog

func (o *StackPublishInfo) SetProvisionLog(v string)

SetProvisionLog gets a reference to the given string and assigns it to the ProvisionLog field.

func (*StackPublishInfo) SetStatus

func (o *StackPublishInfo) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (StackPublishInfo) ToMap

func (o StackPublishInfo) ToMap() (map[string]interface{}, error)

type StackVersionInfo

type StackVersionInfo struct {
	Id        *string `json:"id,omitempty"`
	Changelog *string `json:"changelog,omitempty"`
	// ISO Date String
	Date *string `json:"date,omitempty"`
}

StackVersionInfo struct for StackVersionInfo

func NewStackVersionInfo

func NewStackVersionInfo() *StackVersionInfo

NewStackVersionInfo instantiates a new StackVersionInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStackVersionInfoWithDefaults

func NewStackVersionInfoWithDefaults() *StackVersionInfo

NewStackVersionInfoWithDefaults instantiates a new StackVersionInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StackVersionInfo) GetChangelog

func (o *StackVersionInfo) GetChangelog() string

GetChangelog returns the Changelog field value if set, zero value otherwise.

func (*StackVersionInfo) GetChangelogOk

func (o *StackVersionInfo) GetChangelogOk() (*string, bool)

GetChangelogOk returns a tuple with the Changelog field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StackVersionInfo) GetDate

func (o *StackVersionInfo) GetDate() string

GetDate returns the Date field value if set, zero value otherwise.

func (*StackVersionInfo) GetDateOk

func (o *StackVersionInfo) GetDateOk() (*string, bool)

GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StackVersionInfo) GetId

func (o *StackVersionInfo) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*StackVersionInfo) GetIdOk

func (o *StackVersionInfo) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StackVersionInfo) HasChangelog

func (o *StackVersionInfo) HasChangelog() bool

HasChangelog returns a boolean if a field has been set.

func (*StackVersionInfo) HasDate

func (o *StackVersionInfo) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*StackVersionInfo) HasId

func (o *StackVersionInfo) HasId() bool

HasId returns a boolean if a field has been set.

func (StackVersionInfo) MarshalJSON

func (o StackVersionInfo) MarshalJSON() ([]byte, error)

func (*StackVersionInfo) SetChangelog

func (o *StackVersionInfo) SetChangelog(v string)

SetChangelog gets a reference to the given string and assigns it to the Changelog field.

func (*StackVersionInfo) SetDate

func (o *StackVersionInfo) SetDate(v string)

SetDate gets a reference to the given string and assigns it to the Date field.

func (*StackVersionInfo) SetId

func (o *StackVersionInfo) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (StackVersionInfo) ToMap

func (o StackVersionInfo) ToMap() (map[string]interface{}, error)

type StudentInformation

type StudentInformation struct {
	// Student identification
	StudentId *string `json:"student_id,omitempty"`
	// Student email if available
	StudentEmail *string `json:"student_email,omitempty"`
	// Student actual name
	StudentName *string `json:"student_name,omitempty"`
	// Seconds spent in the assignment
	SecondsSpent *int32 `json:"seconds_spent,omitempty"`
	// Optional assignment grade, 0-100
	Grade *int32 `json:"grade,omitempty"`
	// Optional extra points
	ExtraCredit *int32 `json:"extra_credit,omitempty"`
	// Assignment status: STARTED, NOT_STARTED, COMPLETED
	Status *string `json:"status,omitempty"`
	// Assignment completion date, ISO Date String
	CompletionDate *time.Time `json:"completion_date,omitempty"`
	// Extended deadline
	ExtendedDeadline *int32 `json:"extendedDeadline,omitempty"`
	// Extended time limit
	ExtendedTimeLimit *int32 `json:"extendedTimeLimit,omitempty"`
}

StudentInformation struct for StudentInformation

func NewStudentInformation

func NewStudentInformation() *StudentInformation

NewStudentInformation instantiates a new StudentInformation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStudentInformationWithDefaults

func NewStudentInformationWithDefaults() *StudentInformation

NewStudentInformationWithDefaults instantiates a new StudentInformation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StudentInformation) GetCompletionDate

func (o *StudentInformation) GetCompletionDate() time.Time

GetCompletionDate returns the CompletionDate field value if set, zero value otherwise.

func (*StudentInformation) GetCompletionDateOk

func (o *StudentInformation) GetCompletionDateOk() (*time.Time, bool)

GetCompletionDateOk returns a tuple with the CompletionDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StudentInformation) GetExtendedDeadline

func (o *StudentInformation) GetExtendedDeadline() int32

GetExtendedDeadline returns the ExtendedDeadline field value if set, zero value otherwise.

func (*StudentInformation) GetExtendedDeadlineOk

func (o *StudentInformation) GetExtendedDeadlineOk() (*int32, bool)

GetExtendedDeadlineOk returns a tuple with the ExtendedDeadline field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StudentInformation) GetExtendedTimeLimit

func (o *StudentInformation) GetExtendedTimeLimit() int32

GetExtendedTimeLimit returns the ExtendedTimeLimit field value if set, zero value otherwise.

func (*StudentInformation) GetExtendedTimeLimitOk

func (o *StudentInformation) GetExtendedTimeLimitOk() (*int32, bool)

GetExtendedTimeLimitOk returns a tuple with the ExtendedTimeLimit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StudentInformation) GetExtraCredit

func (o *StudentInformation) GetExtraCredit() int32

GetExtraCredit returns the ExtraCredit field value if set, zero value otherwise.

func (*StudentInformation) GetExtraCreditOk

func (o *StudentInformation) GetExtraCreditOk() (*int32, bool)

GetExtraCreditOk returns a tuple with the ExtraCredit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StudentInformation) GetGrade

func (o *StudentInformation) GetGrade() int32

GetGrade returns the Grade field value if set, zero value otherwise.

func (*StudentInformation) GetGradeOk

func (o *StudentInformation) GetGradeOk() (*int32, bool)

GetGradeOk returns a tuple with the Grade field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StudentInformation) GetSecondsSpent

func (o *StudentInformation) GetSecondsSpent() int32

GetSecondsSpent returns the SecondsSpent field value if set, zero value otherwise.

func (*StudentInformation) GetSecondsSpentOk

func (o *StudentInformation) GetSecondsSpentOk() (*int32, bool)

GetSecondsSpentOk returns a tuple with the SecondsSpent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StudentInformation) GetStatus

func (o *StudentInformation) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*StudentInformation) GetStatusOk

func (o *StudentInformation) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StudentInformation) GetStudentEmail

func (o *StudentInformation) GetStudentEmail() string

GetStudentEmail returns the StudentEmail field value if set, zero value otherwise.

func (*StudentInformation) GetStudentEmailOk

func (o *StudentInformation) GetStudentEmailOk() (*string, bool)

GetStudentEmailOk returns a tuple with the StudentEmail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StudentInformation) GetStudentId

func (o *StudentInformation) GetStudentId() string

GetStudentId returns the StudentId field value if set, zero value otherwise.

func (*StudentInformation) GetStudentIdOk

func (o *StudentInformation) GetStudentIdOk() (*string, bool)

GetStudentIdOk returns a tuple with the StudentId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StudentInformation) GetStudentName

func (o *StudentInformation) GetStudentName() string

GetStudentName returns the StudentName field value if set, zero value otherwise.

func (*StudentInformation) GetStudentNameOk

func (o *StudentInformation) GetStudentNameOk() (*string, bool)

GetStudentNameOk returns a tuple with the StudentName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StudentInformation) HasCompletionDate

func (o *StudentInformation) HasCompletionDate() bool

HasCompletionDate returns a boolean if a field has been set.

func (*StudentInformation) HasExtendedDeadline

func (o *StudentInformation) HasExtendedDeadline() bool

HasExtendedDeadline returns a boolean if a field has been set.

func (*StudentInformation) HasExtendedTimeLimit

func (o *StudentInformation) HasExtendedTimeLimit() bool

HasExtendedTimeLimit returns a boolean if a field has been set.

func (*StudentInformation) HasExtraCredit

func (o *StudentInformation) HasExtraCredit() bool

HasExtraCredit returns a boolean if a field has been set.

func (*StudentInformation) HasGrade

func (o *StudentInformation) HasGrade() bool

HasGrade returns a boolean if a field has been set.

func (*StudentInformation) HasSecondsSpent

func (o *StudentInformation) HasSecondsSpent() bool

HasSecondsSpent returns a boolean if a field has been set.

func (*StudentInformation) HasStatus

func (o *StudentInformation) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*StudentInformation) HasStudentEmail

func (o *StudentInformation) HasStudentEmail() bool

HasStudentEmail returns a boolean if a field has been set.

func (*StudentInformation) HasStudentId

func (o *StudentInformation) HasStudentId() bool

HasStudentId returns a boolean if a field has been set.

func (*StudentInformation) HasStudentName

func (o *StudentInformation) HasStudentName() bool

HasStudentName returns a boolean if a field has been set.

func (StudentInformation) MarshalJSON

func (o StudentInformation) MarshalJSON() ([]byte, error)

func (*StudentInformation) SetCompletionDate

func (o *StudentInformation) SetCompletionDate(v time.Time)

SetCompletionDate gets a reference to the given time.Time and assigns it to the CompletionDate field.

func (*StudentInformation) SetExtendedDeadline

func (o *StudentInformation) SetExtendedDeadline(v int32)

SetExtendedDeadline gets a reference to the given int32 and assigns it to the ExtendedDeadline field.

func (*StudentInformation) SetExtendedTimeLimit

func (o *StudentInformation) SetExtendedTimeLimit(v int32)

SetExtendedTimeLimit gets a reference to the given int32 and assigns it to the ExtendedTimeLimit field.

func (*StudentInformation) SetExtraCredit

func (o *StudentInformation) SetExtraCredit(v int32)

SetExtraCredit gets a reference to the given int32 and assigns it to the ExtraCredit field.

func (*StudentInformation) SetGrade

func (o *StudentInformation) SetGrade(v int32)

SetGrade gets a reference to the given int32 and assigns it to the Grade field.

func (*StudentInformation) SetSecondsSpent

func (o *StudentInformation) SetSecondsSpent(v int32)

SetSecondsSpent gets a reference to the given int32 and assigns it to the SecondsSpent field.

func (*StudentInformation) SetStatus

func (o *StudentInformation) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*StudentInformation) SetStudentEmail

func (o *StudentInformation) SetStudentEmail(v string)

SetStudentEmail gets a reference to the given string and assigns it to the StudentEmail field.

func (*StudentInformation) SetStudentId

func (o *StudentInformation) SetStudentId(v string)

SetStudentId gets a reference to the given string and assigns it to the StudentId field.

func (*StudentInformation) SetStudentName

func (o *StudentInformation) SetStudentName(v string)

SetStudentName gets a reference to the given string and assigns it to the StudentName field.

func (StudentInformation) ToMap

func (o StudentInformation) ToMap() (map[string]interface{}, error)

type StudentTimeExtension

type StudentTimeExtension struct {
	// Extended assignment deadline for student
	ExtendedDeadline *int32 `json:"extendedDeadline,omitempty"`
	// Extended exam time limit for student
	ExtendedTimeLimit *int32 `json:"extendedTimeLimit,omitempty"`
}

StudentTimeExtension struct for StudentTimeExtension

func NewStudentTimeExtension

func NewStudentTimeExtension() *StudentTimeExtension

NewStudentTimeExtension instantiates a new StudentTimeExtension object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStudentTimeExtensionWithDefaults

func NewStudentTimeExtensionWithDefaults() *StudentTimeExtension

NewStudentTimeExtensionWithDefaults instantiates a new StudentTimeExtension object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StudentTimeExtension) GetExtendedDeadline

func (o *StudentTimeExtension) GetExtendedDeadline() int32

GetExtendedDeadline returns the ExtendedDeadline field value if set, zero value otherwise.

func (*StudentTimeExtension) GetExtendedDeadlineOk

func (o *StudentTimeExtension) GetExtendedDeadlineOk() (*int32, bool)

GetExtendedDeadlineOk returns a tuple with the ExtendedDeadline field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StudentTimeExtension) GetExtendedTimeLimit

func (o *StudentTimeExtension) GetExtendedTimeLimit() int32

GetExtendedTimeLimit returns the ExtendedTimeLimit field value if set, zero value otherwise.

func (*StudentTimeExtension) GetExtendedTimeLimitOk

func (o *StudentTimeExtension) GetExtendedTimeLimitOk() (*int32, bool)

GetExtendedTimeLimitOk returns a tuple with the ExtendedTimeLimit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StudentTimeExtension) HasExtendedDeadline

func (o *StudentTimeExtension) HasExtendedDeadline() bool

HasExtendedDeadline returns a boolean if a field has been set.

func (*StudentTimeExtension) HasExtendedTimeLimit

func (o *StudentTimeExtension) HasExtendedTimeLimit() bool

HasExtendedTimeLimit returns a boolean if a field has been set.

func (StudentTimeExtension) MarshalJSON

func (o StudentTimeExtension) MarshalJSON() ([]byte, error)

func (*StudentTimeExtension) SetExtendedDeadline

func (o *StudentTimeExtension) SetExtendedDeadline(v int32)

SetExtendedDeadline gets a reference to the given int32 and assigns it to the ExtendedDeadline field.

func (*StudentTimeExtension) SetExtendedTimeLimit

func (o *StudentTimeExtension) SetExtendedTimeLimit(v int32)

SetExtendedTimeLimit gets a reference to the given int32 and assigns it to the ExtendedTimeLimit field.

func (StudentTimeExtension) ToMap

func (o StudentTimeExtension) ToMap() (map[string]interface{}, error)

type TaskProgress

type TaskProgress struct {
	// Task identification
	TaskId *string `json:"taskId,omitempty"`
	// Url to fetch progress
	TaskUri *string `json:"taskUri,omitempty"`
}

TaskProgress struct for TaskProgress

func NewTaskProgress

func NewTaskProgress() *TaskProgress

NewTaskProgress instantiates a new TaskProgress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTaskProgressWithDefaults

func NewTaskProgressWithDefaults() *TaskProgress

NewTaskProgressWithDefaults instantiates a new TaskProgress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TaskProgress) GetTaskId

func (o *TaskProgress) GetTaskId() string

GetTaskId returns the TaskId field value if set, zero value otherwise.

func (*TaskProgress) GetTaskIdOk

func (o *TaskProgress) GetTaskIdOk() (*string, bool)

GetTaskIdOk returns a tuple with the TaskId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TaskProgress) GetTaskUri

func (o *TaskProgress) GetTaskUri() string

GetTaskUri returns the TaskUri field value if set, zero value otherwise.

func (*TaskProgress) GetTaskUriOk

func (o *TaskProgress) GetTaskUriOk() (*string, bool)

GetTaskUriOk returns a tuple with the TaskUri field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TaskProgress) HasTaskId

func (o *TaskProgress) HasTaskId() bool

HasTaskId returns a boolean if a field has been set.

func (*TaskProgress) HasTaskUri

func (o *TaskProgress) HasTaskUri() bool

HasTaskUri returns a boolean if a field has been set.

func (TaskProgress) MarshalJSON

func (o TaskProgress) MarshalJSON() ([]byte, error)

func (*TaskProgress) SetTaskId

func (o *TaskProgress) SetTaskId(v string)

SetTaskId gets a reference to the given string and assigns it to the TaskId field.

func (*TaskProgress) SetTaskUri

func (o *TaskProgress) SetTaskUri(v string)

SetTaskUri gets a reference to the given string and assigns it to the TaskUri field.

func (TaskProgress) ToMap

func (o TaskProgress) ToMap() (map[string]interface{}, error)

type TaskStatus

type TaskStatus struct {
	// Task identification
	TaskId *string `json:"taskId,omitempty"`
	// Task completion status
	Done *bool `json:"done,omitempty"`
	// Optional task error description
	Error *string `json:"error,omitempty"`
}

TaskStatus struct for TaskStatus

func NewTaskStatus

func NewTaskStatus() *TaskStatus

NewTaskStatus instantiates a new TaskStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTaskStatusWithDefaults

func NewTaskStatusWithDefaults() *TaskStatus

NewTaskStatusWithDefaults instantiates a new TaskStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TaskStatus) GetDone

func (o *TaskStatus) GetDone() bool

GetDone returns the Done field value if set, zero value otherwise.

func (*TaskStatus) GetDoneOk

func (o *TaskStatus) GetDoneOk() (*bool, bool)

GetDoneOk returns a tuple with the Done field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TaskStatus) GetError

func (o *TaskStatus) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*TaskStatus) GetErrorOk

func (o *TaskStatus) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TaskStatus) GetTaskId

func (o *TaskStatus) GetTaskId() string

GetTaskId returns the TaskId field value if set, zero value otherwise.

func (*TaskStatus) GetTaskIdOk

func (o *TaskStatus) GetTaskIdOk() (*string, bool)

GetTaskIdOk returns a tuple with the TaskId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TaskStatus) HasDone

func (o *TaskStatus) HasDone() bool

HasDone returns a boolean if a field has been set.

func (*TaskStatus) HasError

func (o *TaskStatus) HasError() bool

HasError returns a boolean if a field has been set.

func (*TaskStatus) HasTaskId

func (o *TaskStatus) HasTaskId() bool

HasTaskId returns a boolean if a field has been set.

func (TaskStatus) MarshalJSON

func (o TaskStatus) MarshalJSON() ([]byte, error)

func (*TaskStatus) SetDone

func (o *TaskStatus) SetDone(v bool)

SetDone gets a reference to the given bool and assigns it to the Done field.

func (*TaskStatus) SetError

func (o *TaskStatus) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*TaskStatus) SetTaskId

func (o *TaskStatus) SetTaskId(v string)

SetTaskId gets a reference to the given string and assigns it to the TaskId field.

func (TaskStatus) ToMap

func (o TaskStatus) ToMap() (map[string]interface{}, error)

type TimedExamMode

type TimedExamMode struct {
	Enabled  *bool  `json:"enabled,omitempty"`
	Duration *int32 `json:"duration,omitempty"`
}

TimedExamMode struct for TimedExamMode

func NewTimedExamMode

func NewTimedExamMode() *TimedExamMode

NewTimedExamMode instantiates a new TimedExamMode object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTimedExamModeWithDefaults

func NewTimedExamModeWithDefaults() *TimedExamMode

NewTimedExamModeWithDefaults instantiates a new TimedExamMode object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TimedExamMode) GetDuration

func (o *TimedExamMode) GetDuration() int32

GetDuration returns the Duration field value if set, zero value otherwise.

func (*TimedExamMode) GetDurationOk

func (o *TimedExamMode) GetDurationOk() (*int32, bool)

GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimedExamMode) GetEnabled

func (o *TimedExamMode) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*TimedExamMode) GetEnabledOk

func (o *TimedExamMode) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimedExamMode) HasDuration

func (o *TimedExamMode) HasDuration() bool

HasDuration returns a boolean if a field has been set.

func (*TimedExamMode) HasEnabled

func (o *TimedExamMode) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (TimedExamMode) MarshalJSON

func (o TimedExamMode) MarshalJSON() ([]byte, error)

func (*TimedExamMode) SetDuration

func (o *TimedExamMode) SetDuration(v int32)

SetDuration gets a reference to the given int32 and assigns it to the Duration field.

func (*TimedExamMode) SetEnabled

func (o *TimedExamMode) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (TimedExamMode) ToMap

func (o TimedExamMode) ToMap() (map[string]interface{}, error)

type User

type User struct {
	// User identifier
	Id *string `json:"id,omitempty"`
	// User name
	Name *string `json:"name,omitempty"`
	// User login
	Login *string `json:"login,omitempty"`
	// User email
	Email *string `json:"email,omitempty"`
}

User struct for User

func NewUser

func NewUser() *User

NewUser instantiates a new User object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserWithDefaults

func NewUserWithDefaults() *User

NewUserWithDefaults instantiates a new User object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*User) GetEmail

func (o *User) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*User) GetEmailOk

func (o *User) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetId

func (o *User) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*User) GetIdOk

func (o *User) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetLogin

func (o *User) GetLogin() string

GetLogin returns the Login field value if set, zero value otherwise.

func (*User) GetLoginOk

func (o *User) GetLoginOk() (*string, bool)

GetLoginOk returns a tuple with the Login field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetName

func (o *User) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*User) GetNameOk

func (o *User) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) HasEmail

func (o *User) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*User) HasId

func (o *User) HasId() bool

HasId returns a boolean if a field has been set.

func (*User) HasLogin

func (o *User) HasLogin() bool

HasLogin returns a boolean if a field has been set.

func (*User) HasName

func (o *User) HasName() bool

HasName returns a boolean if a field has been set.

func (User) MarshalJSON

func (o User) MarshalJSON() ([]byte, error)

func (*User) SetEmail

func (o *User) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*User) SetId

func (o *User) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*User) SetLogin

func (o *User) SetLogin(v string)

SetLogin gets a reference to the given string and assigns it to the Login field.

func (*User) SetName

func (o *User) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (User) ToMap

func (o User) ToMap() (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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