response

package
v1.0.8 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: 7

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 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 Block

type Block struct {
	ID                string  `json:"id"`
	Name              string  `json:"blockName"`
	BlockId           string  `json:"blockId"`
	Description       string  `json:"blockDescription"`
	SimpleDescription string  `json:"simpleDescription"`
	Color             string  `json:"color"`
	Tags              string  `json:"tags"`
	ScaleValue        *string `json:"scaleValue"`

	Attributes  []common2.DisplayAttribute `json:"attributes"`
	BlockType   *BlockType                 `json:"blockType"`
	Scale       *Scale                     `json:"scale"`
	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"`

	// Project Key Attribute
	ProjectKanbanMode *bool `json:"projectKanbanMode"`

	// Time Attributes
	DueDate   string `json:"blockDueDate"`
	StartTime string `json:"blockStartTime"`
	EndTime   string `json:"blockEndTime"`

	// 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"`
	PodsCount        *int `json:"podsCount"`
	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 BlockEvent

type BlockEvent struct {
	ID          string `json:"id"`
	Name        string `json:"blockName"`
	Description string `json:"blockDescription"`

	DueDate   *string `json:"blockDueDate"`
	StartTime *string `json:"blockStartTime"`
	EndTime   *string `json:"blockEndTime"`

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

type BlockGrade

type BlockGrade struct {
	ID       string          `json:"id"`
	Name     string          `json:"blockName"`
	Key      common2.SlimKey `json:"key"`
	Students []Student       `json:"students"`
}

type BlockScaleValue

type BlockScaleValue struct {
	ID           string `json:"id"`
	Name         string `json:"blockName"`
	ScaleValue   string `json:"scaleValue"`
	NumericScale int    `json:"numericScale"`
}

type BlockTemplate

type BlockTemplate 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 BlockTemplates

type BlockTemplates struct {
	Templates []BlockTemplate `json:"templates"`
}

type BlockType

type BlockType struct {
	ID     string               `json:"id"`
	Name   string               `json:"blockTypeName"`
	Blocks *[]common2.SlimBlock `json:"blocks"`

	TeacherReadOnly *bool `json:"teacherReadOnly"`

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

type BlockTypes

type BlockTypes struct {
	BlockTypes []BlockType `json:"blockTypes"`
}

type BlockTypesKey

type BlockTypesKey struct {
	ID           string      `json:"id"`
	Name         string      `json:"keyName"`
	Type         string      `json:"keyType"`
	BlockTypes   []BlockType `json:"blockTypes"`
	LastModified string      `json:"lastModified"`
}

type BlockTypesKeys

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

type BlockWithPodType

type BlockWithPodType struct {
	ID      string           `json:"id"`
	Name    string           `json:"blockName"`
	Key     *common2.SlimKey `json:"key"`
	PodType *PodType         `json:"podType"`
}

type BlockedUser

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

type Blocks

type Blocks struct {
	Blocks []Block `json:"blocks"`
}

type BlocksAndPods

type BlocksAndPods struct {
	Blocks []common2.SlimBlock `json:"blocks"`
	Pods   []common2.SlimPod   `json:"pods"`
}

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"`
	Block *common2.SlimBlock `json:"block"`
	Pod   *common2.SlimPod   `json:"pod"`

	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 Dashboard

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

type DashboardBlock

type DashboardBlock struct {
	ID      string `json:"id"`
	Name    string `json:"blockName"`
	DueDate string `json:"blockDueDate"`

	Key       *common2.SlimKey `json:"key"`
	BlockType *BlockType       `json:"blockType"`

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

type DashboardPod

type DashboardPod struct {
	ID      string `json:"id"`
	Name    string `json:"podName"`
	DueDate string `json:"podDueDate"`

	Key    *common2.SlimKey    `json:"key"`
	Blocks *[]BlockWithPodType `json:"blocks"`

	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"`
	Block  *common2.SlimBlock   `json:"block"`
	Pod    *common2.SlimPod     `json:"pod"`
	Blocks *[]common2.SlimBlock `json:"blocks"`

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

type DashboardUnreadCount

type DashboardUnreadCount struct {
	DueTasks  int `json:"dueTasks"`
	DueBlocks int `json:"dueBlocks"`
	DuePods   int `json:"duePods"`

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

type DueDateEvent

type DueDateEvent struct {
	Tasks  TasksEvent   `json:"tasks"`
	Blocks []BlockEvent `json:"blocks"`
	Pods   []PodEvent   `json:"pods"`
}

type DueShortlyResources

type DueShortlyResources struct {
	Blocks *[]DashboardBlock `json:"blocks"`
	Pods   []DashboardPod    `json:"pods"`
	Tasks  []DashboardTask   `json:"tasks"`
}

type EndDateEvent

type EndDateEvent struct {
	Blocks []BlockEvent `json:"blocks"`
}

type Favorite

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

type FavoriteBlock

type FavoriteBlock struct {
	ID       string                  `json:"id"`
	Name     string                  `json:"blockName"`
	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"`
	BlockName    *string                 `json:"blockName"`
	PodName      *string                 `json:"podName"`
	Key          *FavoriteKey            `json:"key"`
	Block        *FavoriteBlock          `json:"block"`
	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      BlocksAndPods `json:"createdByMe"`
	SharedWithMe     BlocksAndPods `json:"sharedWithMe"`
	SharedWithOthers BlocksAndPods `json:"sharedWithOthers"`
}

type FilteredKeys

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

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"`
	ProjectKanbanMode *bool `json:"projectKanbanMode"`
	Public            *bool `json:"public"`

	// Count Attributes
	BlocksCount     *int `json:"blocksCount"`
	PodsCount       *int `json:"podsCount"`
	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"`
	Blocks     []UserBlock        `json:"blocks"`
}

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"`
	BlockName *string `json:"blockName"`
	PodName   *string `json:"podName"`

	Key    *common2.SlimKey     `json:"key"`
	Blocks *[]common2.SlimBlock `json:"blocks"`

	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 Pod

type Pod struct {
	ID                string  `json:"id"`
	Name              string  `json:"podName"`
	Description       string  `json:"podDescription"`
	SimpleDescription string  `json:"simpleDescription"`
	Color             string  `json:"color"`
	Tags              string  `json:"tags"`
	ScaleValue        *string `json:"scaleValue"`

	Attributes  []common2.DisplayAttribute `json:"attributes"`
	PodType     *PodType                   `json:"podType"`
	Scale       *Scale                     `json:"scale"`
	TaggedUsers []TaggedUser               `json:"taggedUsers"`
	Key         *common2.SlimKey           `json:"key"`
	Block       *common2.SlimBlock         `json:"block"`

	// 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"`

	// Project Key Attribute
	ProjectKanbanMode *bool   `json:"projectKanbanMode"`
	ProjectListName   *string `json:"projectListName"`

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

	// 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"`
	BlocksCount      *int `json:"podsCount"`
	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 PodEvent

type PodEvent struct {
	ID      string `json:"id"`
	Name    string `json:"podName"`
	DueDate string `json:"podDueDate"`

	Key   common2.SlimKey   `json:"key"`
	Block common2.SlimBlock `json:"block"`
}

type PodGrade

type PodGrade struct {
	ID       string            `json:"id"`
	Name     string            `json:"podName"`
	Key      common2.SlimKey   `json:"key"`
	Block    common2.SlimBlock `json:"block"`
	Students []Student         `json:"students"`
}

type PodScaleValue

type PodScaleValue struct {
	ID           string `json:"id"`
	Name         string `json:"podName"`
	ScaleValue   string `json:"scaleValue"`
	NumericScale int    `json:"numericScale"`
}

type PodTemplate

type PodTemplate 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"`
	BlockTemplateId *string `json:"blockTemplateId"`
	LastModified    string  `json:"lastModified"`
}

type PodTemplates

type PodTemplates struct {
	Templates []PodTemplate `json:"templates"`
}

type PodType

type PodType struct {
	ID   string             `json:"id"`
	Name string             `json:"podTypeName"`
	Pods *[]common2.SlimPod `json:"pods"`

	TeacherReadOnly *bool `json:"teacherReadOnly"`

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

type PodTypes

type PodTypes struct {
	PodTypes []PodType `json:"podTypes"`
}

type PodTypesKey

type PodTypesKey struct {
	ID           string     `json:"id"`
	Name         string     `json:"keyName"`
	Type         string     `json:"keyType"`
	PodTypes     *[]PodType `json:"podTypes"`
	LastModified string     `json:"lastModified"`
}

type PodTypesKeys

type PodTypesKeys struct {
	Keys *[]PodTypesKey `json:"keys"`
	Key  *PodTypesKey   `json:"key"`
}

type PodTypesKeysBlockPod

type PodTypesKeysBlockPod struct {
	BlockPod PodTypesKeys `json:"blockPod"`
}

type PodTypesKeysKeyPod

type PodTypesKeysKeyPod struct {
	KeyPod PodTypesKeys `json:"keyPod"`
}

type PodTypesKeysOtherPod

type PodTypesKeysOtherPod struct {
	OtherPod PodTypesKeys `json:"otherPod"`
}

type Pods

type Pods struct {
	Pods []Pod `json:"pods"`
}

type Preference

type Preference struct {
	SubscribeMail            bool `json:"subscribeMail"`
	SubscribeSms             bool `json:"subscribeSms"`
	ShowResourcesChart       bool `json:"showResourcesChart"`
	ShowScalesChartForBlocks bool `json:"showScalesChartForBlocks"`
	ShowScalesChartForPods   bool `json:"showScalesChartForPods"`
}

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 ProjectList

type ProjectList struct {
	ID       string `json:"id"`
	Name     string `json:"projectListName"`
	Sequence int    `json:"projectListSequence"`

	Key   common2.SlimKey   `json:"key"`
	Block common2.SlimBlock `json:"block"`
	Pods  []Pod             `json:"pods"`

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

type ProjectLists

type ProjectLists struct {
	ProjectLists []ProjectList `json:"projectLists"`
}

type RecentComment

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

	Key    *common2.SlimKey     `json:"key"`
	Block  *common2.SlimBlock   `json:"block"`
	Blocks *[]common2.SlimBlock `json:"blocks"`
	Pod    *common2.SlimPod     `json:"pod"`

	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 {
	Blocks []DashboardBlock `json:"blocks"`
	Pods   []DashboardPod   `json:"pods"`
}

type Relations

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

type Relationships

type Relationships struct {
	Keys   []common2.SlimKey   `json:"keys"`
	Blocks []common2.SlimBlock `json:"blocks"`
	Pods   []common2.SlimPod   `json:"pods"`
}

type ResourceAttribute

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

type ResourceAttributes

type ResourceAttributes struct {
	KeyAttributes   []ResourceAttribute
	BlockAttributes []ResourceAttribute
	PodAttributes   []ResourceAttribute
}

type Scale

type Scale struct {
	ID              string                  `json:"id"`
	Name            string                  `json:"scaleName"`
	Type            *string                 `json:"scaleType"`
	ScaleValues     []string                `json:"scaleValues"`
	TeacherReadOnly *bool                   `json:"teacherReadOnly"`
	Modifier        common.ResourceModifier `json:"modifier"`
	LastModified    string                  `json:"lastModified"`
}

type ScaleValues

type ScaleValues struct {
	Scale  Scale              `json:"scale"`
	Key    common2.SlimKey    `json:"key"`
	Block  *common2.SlimBlock `json:"block"`
	Blocks *[]BlockScaleValue `json:"blocks"`
	Pods   []PodScaleValue    `json:"pods"`
}

type Scales

type Scales struct {
	Scales []Scale `json:"scales"`
}

type ScalesKey

type ScalesKey struct {
	ID           string   `json:"id"`
	Name         string   `json:"keyName"`
	Type         string   `json:"keyType"`
	Scales       *[]Scale `json:"scales"`
	LastModified string   `json:"lastModified"`
}

type ScalesKeys

type ScalesKeys struct {
	Keys *[]ScalesKey `json:"keys"`
	Key  *ScalesKey   `json:"key"`
}

type ScalesKeysBlock

type ScalesKeysBlock struct {
	Block ScalesKeys `json:"block"`
}

type ScalesKeysBlockPod

type ScalesKeysBlockPod struct {
	BlockPod ScalesKeys `json:"blockPod"`
}

type ScalesKeysKeyPod

type ScalesKeysKeyPod struct {
	KeyPod ScalesKeys `json:"keyPod"`
}

type ScalesKeysOtherPod

type ScalesKeysOtherPod struct {
	OtherPod ScalesKeys `json:"otherPod"`
}

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"`
	BlockName *string `json:"blockName"`
	PodName   *string `json:"podName"`

	Key    *common2.SlimKey     `json:"key"`
	Block  *common2.SlimBlock   `json:"block"`
	Blocks *[]common2.SlimBlock `json:"blocks"`

	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"`
	BlockName     string             `json:"blockName"`
	StudentGrade  *StudentGrade      `json:"scaleValue"`
	Key           *common2.SlimKey   `json:"key"`
	Block         *common2.SlimBlock `json:"block"`
}

type StudentGrade

type StudentGrade struct {
	ScaleValue   string `json:"scaleValue"`
	NumericScale int    `json:"numericScale"`
	Published    bool   `json:"published"`
	PublishedOn  string `json:"publishedOn"`
}

type StudentGradeForBlockAndPod

type StudentGradeForBlockAndPod struct {
	ID           string                `json:"id"`
	Name         string                `json:"blockName"`
	Key          common2.SlimKey       `json:"key"`
	Pod          *common2.SlimPod      `json:"pod"`
	StudentGrade *StudentGrade         `json:"scaleValue"`
	Pods         *[]StudentGradeForPod `json:"pods"`
	Students     *[]Student            `json:"students"`
}

type StudentGradeForPod

type StudentGradeForPod struct {
	ID           string        `json:"id"`
	Name         string        `json:"podName"`
	StudentGrade *StudentGrade `json:"scaleValue"`
}

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"`
	Block     *common2.SlimBlock       `json:"block"`
	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"`
	Block   *common2.SlimBlock `json:"block"`
	Pod     *common2.SlimPod   `json:"pod"`
}

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"`
	BlockTasks []TaskEvent `json:"blocks"`
	PodTasks   []TaskEvent `json:"pods"`
}

type TasksStatusBlock

type TasksStatusBlock struct {
	ID           string          `json:"id"`
	Name         string          `json:"blockName"`
	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 UpdateBlockScaleValue

type UpdateBlockScaleValue struct {
	ID           string `json:"id"`
	Name         string `json:"name"`
	ScaleValue   string `json:"scaleValue"`
	NumericScale int    `json:"numericScale"`

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

type UpdatePodScaleValue

type UpdatePodScaleValue struct {
	ID           string `json:"id"`
	Name         string `json:"name"`
	ScaleValue   string `json:"scaleValue"`
	NumericScale int    `json:"numericScale"`

	Key   common2.SlimKey    `json:"key"`
	Block *common2.SlimBlock `json:"block"`
}

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 UserBlock

type UserBlock struct {
	ID           string            `json:"id"`
	Name         string            `json:"keyName"`
	Pods         []common2.SlimPod `json:"pods"`
	LastModified string            `json:"lastModified"`
}

type UserKey

type UserKey struct {
	ID           string            `json:"id"`
	Name         string            `json:"keyName"`
	Type         string            `json:"keyType"`
	Blocks       []UserBlock       `json:"blocks"`
	Pods         []common2.SlimPod `json:"pods"`
	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