response

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddFavorite

type AddFavorite struct {
	ID string `json:"id"`
}

type AllEvents

type AllEvents struct {
	DueDateEvent    *DueDateEvent    `json:"dueDate"`
	EndDateEvent    *EndDateEvent    `json:"endDate"`
	SchedulerEvents []SchedulerEvent `json:"schedulerEvents"`
}

type Assessment

type Assessment struct {
	ID                string  `json:"id"`
	Name              string  `json:"assessmentName"`
	Description       string  `json:"assessmentDescription"`
	SimpleDescription string  `json:"simpleDescription"`
	Color             string  `json:"color"`
	Tags              string  `json:"tags"`
	Grade             *string `json:"grade"`

	Attributes     []common2.DisplayAttribute `json:"attributes"`
	AssessmentType *AssessmentType            `json:"assessmentType"`
	GradingSystem  *GradingSystem             `json:"gradingSystem"`
	TaggedUsers    []TaggedUser               `json:"taggedUsers"`
	Key            *common2.SlimKey           `json:"key"`
	Course         *common2.SlimCourse        `json:"course"`

	// Boolean Attributes
	Completed    *bool `json:"completed"`
	Archived     *bool `json:"archived"`
	KanbanMode   *bool `json:"kanbanMode"`
	CanUnlink    *bool `json:"canUnlink"`
	CanUnpublish bool  `json:"canUnpublish"`
	PublicKey    *bool `json:"publicKey"`

	// Time Attributes
	DueDate string `json:"assessmentDueDate"`

	// Acl Attributes
	Acl            *string       `json:"acl"`
	IsShared       *bool         `json:"isShared"`
	CanLeave       *bool         `json:"canLeave"`
	AllowDelete    *bool         `json:"allowDelete"`
	CanDelete      *bool         `json:"canDelete"`
	SharedUsers    *[]SharedUser `json:"sharedUsers"`
	CurrentUserAcl SharedUser    `json:"currentUserAcl"`

	// Count Attributes
	KeysCount        *int `json:"keysCount"`
	CoursesCount     *int `json:"coursesCount"`
	TasksCount       *int `json:"tasksCount"`
	ChecklistsCount  *int `json:"checklistsCount"`
	AttachmentsCount *int `json:"attachmentsCount"`
	CommentsCount    *int `json:"commentsCount"`
	NotesCount       *int `json:"notesCount"`

	Creator      common2.ResourceCreator  `json:"creator"`
	Modifier     common2.ResourceModifier `json:"modifier"`
	LastModified string                   `json:"lastModified"`
}

type AssessmentEvent

type AssessmentEvent struct {
	ID      string `json:"id"`
	Name    string `json:"assessmentName"`
	DueDate string `json:"assessmentDueDate"`

	Key    common2.SlimKey    `json:"key"`
	Course common2.SlimCourse `json:"course"`
}

type AssessmentGrade

type AssessmentGrade struct {
	ID                   string             `json:"id"`
	Name                 string             `json:"assessmentName"`
	Grade                string             `json:"grade"`
	NumericGradingSystem int                `json:"numericGradingSystem"`
	Key                  common2.SlimKey    `json:"key"`
	Course               common2.SlimCourse `json:"course"`
	Students             []Student          `json:"students"`
}

type AssessmentTemplate

type AssessmentTemplate struct {
	ID               string  `json:"id"`
	Name             string  `json:"templateName"`
	Description      string  `json:"templateDescription"`
	Color            string  `json:"color"`
	Tags             string  `json:"tags"`
	PreviewUrl       string  `json:"previewUrl"`
	Archived         bool    `json:"archived"`
	KeyTemplateId    *string `json:"keyTemplateId"`
	CourseTemplateId *string `json:"courseTemplateId"`
	LastModified     string  `json:"lastModified"`
}

type AssessmentTemplates

type AssessmentTemplates struct {
	Templates []AssessmentTemplate `json:"templates"`
}

type AssessmentType

type AssessmentType struct {
	ID          string                    `json:"id"`
	Name        string                    `json:"assessmentTypeName"`
	Assessments *[]common2.SlimAssessment `json:"assessments"`

	TeacherReadOnly *bool `json:"teacherReadOnly"`

	Modifier     common2.ResourceModifier `json:"modifier"`
	LastModified string                   `json:"lastModified"`
}

type AssessmentTypes

type AssessmentTypes struct {
	AssessmentTypes []AssessmentType `json:"assessmentTypes"`
}

type AssessmentTypesKey

type AssessmentTypesKey struct {
	ID              string            `json:"id"`
	Name            string            `json:"keyName"`
	Type            string            `json:"keyType"`
	AssessmentTypes *[]AssessmentType `json:"assessmentTypes"`
	LastModified    string            `json:"lastModified"`
}

type AssessmentTypesKeys

type AssessmentTypesKeys struct {
	Keys *[]AssessmentTypesKey `json:"keys"`
	Key  *AssessmentTypesKey   `json:"key"`
}

type AssessmentTypesKeysAssessment

type AssessmentTypesKeysAssessment struct {
	Assessment AssessmentTypesKeys `json:"assessment"`
}

type Assessments

type Assessments struct {
	Assessments []Assessment `json:"assessments"`
}

type Attachment

type Attachment struct {
	ID           string                  `json:"id"`
	FileName     string                  `json:"fileName"`
	FileUrl      string                  `json:"fileUrl"`
	FileSize     string                  `json:"fileSize"`
	Creator      common.ResourceCreator  `json:"creator"`
	Modifier     common.ResourceModifier `json:"modifier"`
	LastModified string                  `json:"lastModified"`
}

type Attachments

type Attachments struct {
	Attachments []Attachment `json:"files"`
}

type BlockedUser

type BlockedUser struct {
	ID        string `json:"id"`
	Username  string `json:"userName"`
	FirstName string `json:"firstName"`
}

type Checklist

type Checklist struct {
	ID             string                   `json:"id"`
	Title          string                   `json:"title"`
	ChecklistItems []ChecklistItem          `json:"checklistItems"`
	Key            *common2.SlimKey         `json:"key"`
	Creator        common2.ResourceCreator  `json:"creator"`
	Modifier       common2.ResourceModifier `json:"modifier"`
}

type ChecklistItem

type ChecklistItem struct {
	ID          string       `json:"id"`
	ItemTitle   string       `json:"title"`
	Completed   bool         `json:"completed"`
	TaggedUsers []TaggedUser `json:"taggedUsers"`

	ItemSequence *int                      `json:"checklistItemSeq"`
	Creator      *common2.ResourceCreator  `json:"creator"`
	Modifier     *common2.ResourceModifier `json:"modifier"`
}

type ChecklistItems

type ChecklistItems struct {
	ChecklistItems []ChecklistItem `json:"checklistItems"`
}

type Checklists

type Checklists struct {
	Checklists []Checklist `json:"checklists"`
}

type Comment

type Comment struct {
	ID          string       `json:"id"`
	CommentText string       `json:"commentText"`
	TaggedUsers []TaggedUser `json:"taggedUsers"`

	CanEdit   *bool `json:"canEdit"`
	CanDelete *bool `json:"canDelete"`

	Key        *common2.SlimKey        `json:"key"`
	Course     *common2.SlimCourse     `json:"course"`
	Assessment *common2.SlimAssessment `json:"assessment"`

	Creator      common2.ResourceCreator  `json:"creator"`
	Modifier     common2.ResourceModifier `json:"modifier"`
	LastModified string                   `json:"lastModified"`
}

type Comments

type Comments struct {
	Comments []Comment `json:"comments"`
}

type Conversation

type Conversation struct {
	ID            string `json:"id"`
	Type          string `json:"type"`
	RecentMessage string `json:"recentMessage"`

	IsGroup         bool `json:"isGroup"`
	UserBlocked     bool `json:"blockedUser"`
	UserLeft        bool `json:"leftConversation"`
	UserCanLeave    bool `json:"canLeave"`
	Archived        bool `json:"archived"`
	AllMessagesRead bool `json:"allMessagesRead"`

	Members      []Member               `json:"members"`
	Messages     *[]ConversationMessage `json:"messages"`
	LastModified string                 `json:"lastModified"`
}

type ConversationMessage

type ConversationMessage struct {
	ID          string `json:"id"`
	Sequence    int    `json:"sequence"`
	AddedBy     string `json:"addedBy"`
	MessageText string `json:"messageText"`
	MessageTime string `json:"messageTime"`
	ReadReceipt string `json:"readReceipt"`
}

type Conversations

type Conversations struct {
	Conversations []Conversation `json:"conversations"`
}

type Course

type Course struct {
	ID                string  `json:"id"`
	Name              string  `json:"courseName"`
	CourseId          string  `json:"courseId"`
	Description       string  `json:"courseDescription"`
	SimpleDescription string  `json:"simpleDescription"`
	Color             string  `json:"color"`
	Tags              string  `json:"tags"`
	Grade             *string `json:"grade"`

	Attributes    []common2.DisplayAttribute `json:"attributes"`
	CourseType    *CourseType                `json:"courseType"`
	GradingSystem *GradingSystem             `json:"gradingSystem"`
	TaggedUsers   []TaggedUser               `json:"taggedUsers"`
	Key           *common2.SlimKey           `json:"key"`

	// Boolean Attributes
	Completed  *bool `json:"completed"`
	Archived   *bool `json:"archived"`
	KanbanMode *bool `json:"kanbanMode"`
	CanUnlink  *bool `json:"canUnlink"`
	PublicKey  *bool `json:"publicKey"`

	// Time Attributes
	DueDate   string `json:"courseDueDate"`
	StartTime string `json:"courseStartTime"`
	EndTime   string `json:"courseEndTime"`

	// Acl Attributes
	Acl            *string       `json:"acl"`
	IsShared       *bool         `json:"isShared"`
	CanLeave       *bool         `json:"canLeave"`
	AllowDelete    *bool         `json:"allowDelete"`
	CanDelete      *bool         `json:"canDelete"`
	SharedUsers    *[]SharedUser `json:"sharedUsers"`
	CurrentUserAcl SharedUser    `json:"currentUserAcl"`

	// Count Attributes
	KeysCount        *int `json:"keysCount"`
	AssessmentsCount *int `json:"assessmentsCount"`
	TasksCount       *int `json:"tasksCount"`
	ChecklistsCount  *int `json:"checklistsCount"`
	AttachmentsCount *int `json:"attachmentsCount"`
	CommentsCount    *int `json:"commentsCount"`
	NotesCount       *int `json:"notesCount"`

	Creator      common2.ResourceCreator  `json:"creator"`
	Modifier     common2.ResourceModifier `json:"modifier"`
	LastModified string                   `json:"lastModified"`
}

type CourseEvent

type CourseEvent struct {
	ID          string `json:"id"`
	Name        string `json:"courseName"`
	Description string `json:"courseDescription"`

	DueDate   *string `json:"courseDueDate"`
	StartTime *string `json:"courseStartTime"`
	EndTime   *string `json:"courseEndTime"`

	Key common2.SlimKey `json:"key"`
}

type CourseGrade

type CourseGrade struct {
	ID                   string          `json:"id"`
	Name                 string          `json:"courseName"`
	Grade                string          `json:"grade"`
	NumericGradingSystem int             `json:"numericGradingSystem"`
	Key                  common2.SlimKey `json:"key"`
	Students             []Student       `json:"students"`
}

type CourseTemplate

type CourseTemplate struct {
	ID            string  `json:"id"`
	Name          string  `json:"templateName"`
	Description   string  `json:"templateDescription"`
	Color         string  `json:"color"`
	Tags          string  `json:"tags"`
	PreviewUrl    string  `json:"previewUrl"`
	Archived      bool    `json:"archived"`
	KeyTemplateId *string `json:"keyTemplateId"`
	LastModified  string  `json:"lastModified"`
}

type CourseTemplates

type CourseTemplates struct {
	Templates []CourseTemplate `json:"templates"`
}

type CourseType

type CourseType struct {
	ID      string                `json:"id"`
	Name    string                `json:"courseTypeName"`
	Courses *[]common2.SlimCourse `json:"courses"`

	TeacherReadOnly *bool `json:"teacherReadOnly"`

	Modifier     *common2.ResourceModifier `json:"modifier"`
	LastModified string                    `json:"lastModified"`
}

type CourseTypes

type CourseTypes struct {
	CourseTypes []CourseType `json:"courseTypes"`
}

type CourseTypesKey

type CourseTypesKey struct {
	ID           string       `json:"id"`
	Name         string       `json:"keyName"`
	Type         string       `json:"keyType"`
	CourseTypes  []CourseType `json:"courseTypes"`
	LastModified string       `json:"lastModified"`
}

type CourseTypesKeys

type CourseTypesKeys struct {
	Keys []CourseTypesKey `json:"keys"`
}

type CourseWithAssessmentType

type CourseWithAssessmentType struct {
	ID             string           `json:"id"`
	Name           string           `json:"courseName"`
	Key            *common2.SlimKey `json:"key"`
	AssessmentType *AssessmentType  `json:"assessmentType"`
}

type Courses

type Courses struct {
	Courses []Course `json:"courses"`
}

type CoursesAndAssessments

type CoursesAndAssessments struct {
	Courses     []common2.SlimCourse     `json:"courses"`
	Assessments []common2.SlimAssessment `json:"assessments"`
}

type Dashboard

type Dashboard struct {
	Dashboard DashboardResources `json:"dashboard"`
}

type DashboardAssessment

type DashboardAssessment struct {
	ID      string `json:"id"`
	Name    string `json:"assessmentName"`
	DueDate string `json:"assessmentDueDate"`

	Key     *common2.SlimKey            `json:"key"`
	Courses *[]CourseWithAssessmentType `json:"courses"`

	Creator  common2.ResourceCreator  `json:"creator"`
	Modifier common2.ResourceModifier `json:"modifier"`
}

type DashboardCourse

type DashboardCourse struct {
	ID      string `json:"id"`
	Name    string `json:"courseName"`
	DueDate string `json:"courseDueDate"`

	Key        *common2.SlimKey `json:"key"`
	CourseType *CourseType      `json:"courseType"`

	Creator  common2.ResourceCreator  `json:"creator"`
	Modifier common2.ResourceModifier `json:"modifier"`
}

type DashboardResources

type DashboardResources struct {
	RecentlyModifiedResources *RecentlyModifiedResources `json:"recentlyModified"`
	ShortlyDueResources       *DueShortlyResources       `json:"dueShortly"`
}

type DashboardTask

type DashboardTask struct {
	ID      string `json:"id"`
	Name    string `json:"taskName"`
	DueDate string `json:"taskDueDate"`

	Key        *common2.SlimKey        `json:"key"`
	Course     *common2.SlimCourse     `json:"course"`
	Assessment *common2.SlimAssessment `json:"assessment"`
	Courses    *[]common2.SlimCourse   `json:"courses"`

	Creator  common2.ResourceCreator  `json:"creator"`
	Modifier common2.ResourceModifier `json:"modifier"`
}

type DashboardUnreadCount

type DashboardUnreadCount struct {
	DueTasks       int `json:"dueTasks"`
	DueCourses     int `json:"dueCourses"`
	DueAssessments int `json:"dueAssessments"`

	Notifications int `json:"notifications"`
	Conversations int `json:"conversations"`
}

type DueDateEvent

type DueDateEvent struct {
	Tasks       TasksEvent        `json:"tasks"`
	Courses     []CourseEvent     `json:"courses"`
	Assessments []AssessmentEvent `json:"assessments"`
}

type DueShortlyResources

type DueShortlyResources struct {
	Courses     *[]DashboardCourse    `json:"courses"`
	Assessments []DashboardAssessment `json:"assessments"`
	Tasks       []DashboardTask       `json:"tasks"`
}

type EndDateEvent

type EndDateEvent struct {
	Courses []CourseEvent `json:"courses"`
}

type Favorite

type Favorite struct {
	ID       string                  `json:"id"`
	Modifier common.ResourceModifier `json:"modifier"`
	Resource FavoriteResource        `json:"resource"`
}

type FavoriteCourse

type FavoriteCourse struct {
	ID       string                  `json:"id"`
	Name     string                  `json:"courseName"`
	Modifier common.ResourceModifier `json:"modifier"`
}

type FavoriteKey

type FavoriteKey struct {
	ID       string                  `json:"id"`
	Name     string                  `json:"keyName"`
	Modifier common.ResourceModifier `json:"modifier"`
}

type FavoriteResource

type FavoriteResource struct {
	ID             string                  `json:"id"`
	ResourceType   string                  `json:"resourceType"`
	KeyName        *string                 `json:"keyName"`
	Coursename     *string                 `json:"courseName"`
	AssessmentName *string                 `json:"assessmentName"`
	Key            *FavoriteKey            `json:"key"`
	Course         *FavoriteCourse         `json:"course"`
	Modifier       common.ResourceModifier `json:"modifier"`
}

type Favorites

type Favorites struct {
	Favorites []Favorite `json:"favorites"`
}

type FilteredKey

type FilteredKey struct {
	ID               string                `json:"id"`
	Name             string                `json:"keyName"`
	Type             string                `json:"keyType"`
	CreatedByMe      CoursesAndAssessments `json:"createdByMe"`
	SharedWithMe     CoursesAndAssessments `json:"sharedWithMe"`
	SharedWithOthers CoursesAndAssessments `json:"sharedWithOthers"`
}

type FilteredKeys

type FilteredKeys struct {
	Keys []FilteredKey `json:"keys"`
}

type Grades added in v1.0.6

type Grades struct {
	GradingSystem GradingSystem       `json:"gradingSystem"`
	Key           common2.SlimKey     `json:"key"`
	Course        *common2.SlimCourse `json:"course"`
	Courses       *[]CourseGrade      `json:"courses"`
	Assessments   []AssessmentGrade   `json:"assessments"`
}

type GradingSystem added in v1.0.6

type GradingSystem struct {
	ID              string                  `json:"id"`
	Name            string                  `json:"gradingSystemName"`
	Type            *string                 `json:"gradingSystemType"`
	Grades          []string                `json:"grades"`
	TeacherReadOnly *bool                   `json:"teacherReadOnly"`
	Modifier        common.ResourceModifier `json:"modifier"`
	LastModified    string                  `json:"lastModified"`
}

type GradingSystems added in v1.0.6

type GradingSystems struct {
	GradingSystems []GradingSystem `json:"gradingSystems"`
}

type GradingSystemsKey added in v1.0.6

type GradingSystemsKey struct {
	ID             string           `json:"id"`
	Name           string           `json:"keyName"`
	Type           string           `json:"keyType"`
	GradingSystems *[]GradingSystem `json:"gradingSystems"`
	LastModified   string           `json:"lastModified"`
}

type GradingSystemsKeys added in v1.0.6

type GradingSystemsKeys struct {
	Keys *[]GradingSystemsKey `json:"keys"`
	Key  *GradingSystemsKey   `json:"key"`
}

type GradingSystemsKeysAssessment added in v1.0.6

type GradingSystemsKeysAssessment struct {
	Assessment GradingSystemsKeys `json:"assessment"`
}

type GradingSystemsKeysCourse added in v1.0.6

type GradingSystemsKeysCourse struct {
	Course GradingSystemsKeys `json:"course"`
}

type Key

type Key struct {
	ID                string                    `json:"id"`
	Name              string                    `json:"keyName"`
	Type              string                    `json:"keyType"`
	Description       string                    `json:"keyDescription"`
	SimpleDescription string                    `json:"simpleDescription"`
	Color             string                    `json:"color"`
	Tags              string                    `json:"tags"`
	Attributes        []common.DisplayAttribute `json:"attributes"`

	// Boolean Attributes
	Archived   *bool `json:"archived"`
	KanbanMode *bool `json:"kanbanMode"`
	Public     *bool `json:"public"`

	// Count Attributes
	CoursesCount     *int `json:"coursesCount"`
	AssessmentsCount *int `json:"assessmentsCount"`
	TasksCount       *int `json:"tasksCount"`
	ChecklistsCount  *int `json:"checklistsCount"`
	NotesCount       *int `json:"notesCount"`

	Creator      common.ResourceCreator  `json:"creator"`
	Modifier     common.ResourceModifier `json:"modifier"`
	LastModified string                  `json:"lastModified"`
}

type KeyTemplate

type KeyTemplate struct {
	ID           string `json:"id"`
	Name         string `json:"templateName"`
	Description  string `json:"templateDescription"`
	Color        string `json:"color"`
	Tags         string `json:"tags"`
	PreviewUrl   string `json:"previewUrl"`
	Archived     bool   `json:"archived"`
	LastModified string `json:"lastModified"`
}

type KeyTemplates

type KeyTemplates struct {
	Templates []KeyTemplatesWithType `json:"templates"`
}

type KeyTemplatesWithType

type KeyTemplatesWithType struct {
	Type      string        `json:"type"`
	Templates []KeyTemplate `json:"templates"`
}

type Keys

type Keys struct {
	Keys []Key `json:"keys"`
}

type LinkedResources

type LinkedResources struct {
	CurrentKey LinkedResourcesKey `json:"currentKey"`
	SharedKey  LinkedResourcesKey `json:"sharedKey"`
	Keys       *[]UserKey         `json:"keys"`
	Courses    []UserCourse       `json:"courses"`
}

type LinkedResourcesKey

type LinkedResourcesKey struct {
	SlimKey common2.SlimKey `json:"key"`
}

type Member

type Member struct {
	ID                string `json:"id"`
	Username          string `json:"userName"`
	FirstName         string `json:"firstName"`
	FullName          string `json:"fullName"`
	LastSeenMessageId int    `json:"LastSeenMessageId"`
}

type Note

type Note struct {
	ID           string                  `json:"id"`
	NoteText     string                  `json:"noteText"`
	Creator      common.ResourceCreator  `json:"creator"`
	Modifier     common.ResourceModifier `json:"modifier"`
	LastModified string                  `json:"lastModified"`
}

type Notes

type Notes struct {
	Notes []Note `json:"notes"`
}

type Notification

type Notification struct {
	ID       string               `json:"id"`
	Type     string               `json:"badgeType"` // See above
	Text     string               `json:"badgeText"` // See above
	Unread   bool                 `json:"unread"`
	Resource NotificationResource `json:"resource"`
}

type NotificationEvent

type NotificationEvent struct {
	PerformedOn string     `json:"performedOn"`
	PerformedBy *Performer `json:"performedBy"`
}

type NotificationResource

type NotificationResource struct {
	ID           string `json:"id"`
	ResourceType string `json:"resourceType"`
	IsTask       *bool  `json:"isTask"`

	KeyName        *string `json:"keyName"`
	Coursename     *string `json:"courseName"`
	AssessmentName *string `json:"assessmentName"`

	Key     *common2.SlimKey      `json:"key"`
	Courses *[]common2.SlimCourse `json:"courses"`

	StartTime *string `json:"eventStartTime"`
	EndTime   *string `json:"eventEndTime"`
}

type Notifications

type Notifications struct {
	//TODO(Anish,3,03/23/23): Rename `badges` to `notifications` first on gateway post processor and then here.
	Notifications []Notification `json:"badges"`
}

type Performer

type Performer struct {
	Username  string `json:"userName"`
	FirstName string `json:"firstName"`
}

type Preference

type Preference struct {
	SubscribeMail                         bool `json:"subscribeMail"`
	SubscribeSms                          bool `json:"subscribeSms"`
	ShowResourcesChart                    bool `json:"showResourcesChart"`
	ShowGradingSystemsChartForCourses     bool `json:"showGradingSystemsChartForCourses"`
	ShowGradingSystemsChartForAssessments bool `json:"showGradingSystemsChartForAssessments"`
}

type Profile

type Profile struct {
	ID            string `json:"id"`
	Email         string `json:"email"`
	Username      string `json:"userName"`
	FirstName     string `json:"firstName"`
	MiddleName    string `json:"middleName"`
	LastName      string `json:"lastName"`
	PhoneNumber   string `json:"phoneNumber"`
	AddressUserBy string `json:"addressUserBy"`
	UserInitial   string `json:"userInitial"`
	AvatarName    string `json:"avatarName"`
	AvatarUrl     string `json:"avatarUrl"`

	IsInactive         bool `json:"inactive"`
	IsAnnualSubscriber bool `json:"isAnnualSubscriber"`

	BlockedUsers []BlockedUser `json:"blockedUsers"`
	Preferences  []Preference  `json:"preferences"`
}

type RecentComment

type RecentComment struct {
	ID          string `json:"id"`
	CommentText string `json:"commentText"`

	Key        *common2.SlimKey        `json:"key"`
	Course     *common2.SlimCourse     `json:"course"`
	Courses    *[]common2.SlimCourse   `json:"courses"`
	Assessment *common2.SlimAssessment `json:"assessment"`

	StudentId *string `json:"studentId"`

	Creator      common2.ResourceCreator  `json:"creator"`
	Modifier     common2.ResourceModifier `json:"modifier"`
	LastModified string                   `json:"lastModified"`
}

type RecentComments

type RecentComments struct {
	Comments []RecentComment `json:"comments"`
}

type RecentlyModifiedKeys

type RecentlyModifiedKeys struct {
	Keys []common2.SlimKey `json:"keys"`
}

type RecentlyModifiedResources

type RecentlyModifiedResources struct {
	Courses     []DashboardCourse     `json:"courses"`
	Assessments []DashboardAssessment `json:"assessments"`
}

type Relations

type Relations struct {
	Relationships Relationships `json:"relationships"`
}

type Relationships

type Relationships struct {
	Keys        []common2.SlimKey        `json:"keys"`
	Courses     []common2.SlimCourse     `json:"courses"`
	Assessments []common2.SlimAssessment `json:"assessments"`
}

type ResourceAttribute

type ResourceAttribute struct {
	Name    string `json:"attributeName"`
	CanHide bool   `json:"canHide"`
}

type ResourceAttributes

type ResourceAttributes struct {
	KeyAttributes        []ResourceAttribute
	CourseAttributes     []ResourceAttribute
	AssessmentAttributes []ResourceAttribute
}

type SchedulerEvent

type SchedulerEvent struct {
	SchedulerId      string            `json:"schedulerId"`
	StandaloneEvents []StandaloneEvent `json:"standaloneEvents"`
}

type SearchResource

type SearchResource struct {
	ID   string `json:"id"`
	Type string `json:"type"`

	// Relation attribute
	IsRelated bool `json:"isRelated"`

	KeyName        *string `json:"keyName"`
	KeyType        *string `json:"keyType"`
	Coursename     *string `json:"courseName"`
	AssessmentName *string `json:"assessmentName"`

	Key     *common2.SlimKey      `json:"key"`
	Course  *common2.SlimCourse   `json:"course"`
	Courses *[]common2.SlimCourse `json:"courses"`

	Modifier common2.ResourceModifier `json:"modifier"`
}

type SearchResources

type SearchResources struct {
	Results []SearchResource `json:"results"`
}

type SearchUser

type SearchUser struct {
	ID        string `json:"id"`
	ProfileID string `json:"profileId"`
	Username  string `json:"userName"`
	FirstName string `json:"firstName"`
	FullName  string `json:"fullName"`
}

type SearchUsers

type SearchUsers struct {
	SearchUsers []SearchUser `json:"users"`
}

type SharedUser

type SharedUser struct {
	ID            string `json:"id"`
	Acl           string `json:"acl"`
	Username      string `json:"userName"`
	FirstName     string `json:"firstName"`
	LastName      string `json:"lastName"`
	FullName      string `json:"fullName"`
	AddressUserBy string `json:"addressUserBy"`
}

type StandaloneEvent

type StandaloneEvent struct {
	ID          string `json:"id"`
	Description string `json:"description"`
	StartTime   string `json:"eventStartTime"`
	EndTime     string `json:"eventEndTime"`

	Creator  *common2.ResourceCreator  `json:"creator"`
	Modifier *common2.ResourceModifier `json:"modifier"`
}

type Student

type Student struct {
	ID            string              `json:"id"`
	ProfileID     string              `json:"profileId"`
	Email         string              `json:"email"`
	Username      string              `json:"username"`
	FirstName     string              `json:"firstName"`
	MiddleName    string              `json:"middleName"`
	LastName      string              `json:"lastName"`
	PhoneNumber   string              `json:"phoneNumber"`
	AddressUserBy string              `json:"addressUserBy"`
	UserInitial   string              `json:"userInitial"`
	AvatarName    string              `json:"avatarName"`
	AvatarUrl     string              `json:"avatarUrl"`
	Coursename    string              `json:"courseName"`
	StudentGrade  *StudentGrade       `json:"grade"`
	Key           *common2.SlimKey    `json:"key"`
	Course        *common2.SlimCourse `json:"course"`
}

type StudentGrade

type StudentGrade struct {
	Grade                string `json:"grade"`
	NumericGradingSystem int    `json:"numericGradingSystem"`
	Published            bool   `json:"published"`
	PublishedOn          string `json:"publishedOn"`
}

type StudentGradeForAssessment

type StudentGradeForAssessment struct {
	ID           string        `json:"id"`
	Name         string        `json:"assessmentName"`
	StudentGrade *StudentGrade `json:"grade"`
}

type StudentGradeForCourseAndAssessment

type StudentGradeForCourseAndAssessment struct {
	ID           string                       `json:"id"`
	Name         string                       `json:"courseName"`
	Key          common2.SlimKey              `json:"key"`
	Assessment   *common2.SlimAssessment      `json:"assessment"`
	StudentGrade *StudentGrade                `json:"grade"`
	Assessments  *[]StudentGradeForAssessment `json:"assessments"`
	Students     *[]Student                   `json:"students"`
}

type Students

type Students struct {
	Students []Student `json:"students"`
}

type TaggedUser

type TaggedUser struct {
	ID        string `json:"userId"`
	ProfileID string `json:"profileId"`
	FirstName string `json:"firstName"`
	LastName  string `json:"lastName"`
	Username  string `json:"username"`
	Initial   string `json:"userInitial"`
	Email     string `json:"email"`
}

type Task

type Task struct {
	ID        string                   `json:"id"`
	Name      string                   `json:"taskName"`
	DueDate   string                   `json:"taskDueDate"`
	Completed bool                     `json:"isCompleted"`
	Assignees []TaggedUser             `json:"assignees"`
	Key       *common2.SlimKey         `json:"key"`
	Course    *common2.SlimCourse      `json:"course"`
	Creator   common2.ResourceCreator  `json:"creator"`
	Modifier  common2.ResourceModifier `json:"modifier"`
}

type TaskEvent

type TaskEvent struct {
	ID         string                  `json:"id"`
	Name       string                  `json:"taskName"`
	DueDate    string                  `json:"taskDueDate"`
	Key        common2.SlimKey         `json:"key"`
	Course     *common2.SlimCourse     `json:"course"`
	Assessment *common2.SlimAssessment `json:"assessment"`
}

type TaskStatus

type TaskStatus struct {
	Complete   int `json:"complete"`
	Incomplete int `json:"incomplete"`
}

type Tasks

type Tasks struct {
	Tasks []Task `json:"tasks"`
}

type TasksEvent

type TasksEvent struct {
	KeyTasks        []TaskEvent `json:"keys"`
	CourseTasks     []TaskEvent `json:"courses"`
	AssessmentTasks []TaskEvent `json:"assessment"`
}

type TasksStatusCourse

type TasksStatusCourse struct {
	ID           string          `json:"id"`
	Name         string          `json:"courseName"`
	TaskStatus   TaskStatus      `json:"taskStatus"`
	Key          common2.SlimKey `json:"key"`
	LastModified string          `json:"lastModified"`
}

type TasksStatusKey

type TasksStatusKey struct {
	ID           string     `json:"id"`
	Name         string     `json:"keyName"`
	TaskStatus   TaskStatus `json:"taskStatus"`
	LastModified string     `json:"lastModified"`
}

type TasksStatusKeys

type TasksStatusKeys struct {
	Keys []TasksStatusKey `json:"keys"`
}

type UpdateAssessmentGrade added in v1.0.6

type UpdateAssessmentGrade struct {
	ID                   string `json:"id"`
	Name                 string `json:"name"`
	Grade                string `json:"grade"`
	NumericGradingSystem int    `json:"numericGradingSystem"`

	Key    common2.SlimKey     `json:"key"`
	Course *common2.SlimCourse `json:"course"`
}

type UpdateCourseGrade added in v1.0.6

type UpdateCourseGrade struct {
	ID                   string `json:"id"`
	Name                 string `json:"name"`
	Grade                string `json:"grade"`
	NumericGradingSystem int    `json:"numericGradingSystem"`

	Key common2.SlimKey `json:"key"`
}

type User

type User struct {
	ID          string `json:"id"`
	Uuid        string `json:"uuid"`
	Email       string `json:"email"`
	Inactive    bool   `json:"inactive"`
	Deactivated bool   `json:"userDeactivated"`
	Dormant     bool   `json:"dormant"`
	AvatarUrl   string `json:"avatarUrl"`
	JwtToken    string `json:"jwtToken"`
}

type UserCourse

type UserCourse struct {
	ID           string                   `json:"id"`
	Name         string                   `json:"keyName"`
	Assessments  []common2.SlimAssessment `json:"assessments"`
	LastModified string                   `json:"lastModified"`
}

type UserKey

type UserKey struct {
	ID           string                   `json:"id"`
	Name         string                   `json:"keyName"`
	Type         string                   `json:"keyType"`
	Courses      []UserCourse             `json:"courses"`
	Assessments  []common2.SlimAssessment `json:"assessments"`
	LastModified string                   `json:"lastModified"`
}

type UserKeys

type UserKeys struct {
	Keys []UserKey `json:"keys"`
}

type UserRegistration

type UserRegistration struct {
	User User `json:"user"`
}

type Users

type Users struct {
	Users []User `json:"users"`
}

type Version

type Version struct {
	Status              string  `json:"status"`
	Version             string  `json:"version"`
	InternalVersion     string  `json:"internalVersion"`
	DeploymentIteration *string `json:"deploymentIteration"`
}

Jump to

Keyboard shortcuts

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