Documentation
¶
Index ¶
- type AddFavorite
- type AllEvents
- type Attachment
- type Attachments
- type Card
- type CardEvent
- type CardScaleValue
- type CardTemplate
- type CardTemplates
- type CardType
- type CardTypes
- type CardTypesKey
- type CardTypesKeys
- type CardTypesKeysCard
- type Cards
- type Checklist
- type ChecklistItem
- type ChecklistItems
- type Checklists
- type Comment
- type Comments
- type Conversation
- type ConversationMessage
- type Conversations
- type Dashboard
- type DashboardCard
- type DashboardProject
- type DashboardResources
- type DashboardTask
- type DashboardUnreadCount
- type DueDateEvent
- type DueShortlyResources
- type EndDateEvent
- type Favorite
- type FavoriteKey
- type FavoriteProject
- type FavoriteResource
- type Favorites
- type FilteredKey
- type FilteredKeys
- type Key
- type KeyTemplate
- type KeyTemplates
- type KeyTemplatesWithType
- type Keys
- type LinkedResources
- type LinkedResourcesKey
- type Member
- type Note
- type Notes
- type Notification
- type NotificationEvent
- type NotificationResource
- type Notifications
- type Performer
- type Preference
- type Profile
- type Project
- type ProjectEvent
- type ProjectList
- type ProjectLists
- type ProjectScaleValue
- type ProjectTemplate
- type ProjectTemplates
- type ProjectType
- type ProjectTypes
- type ProjectTypesKey
- type ProjectTypesKeys
- type ProjectWithCardType
- type ProjectedUser
- type Projects
- type ProjectsAndCards
- type RecentComment
- type RecentComments
- type RecentlyModifiedKeys
- type RecentlyModifiedResources
- type Relations
- type Relationships
- type ResourceAttribute
- type ResourceAttributes
- type Scale
- type ScaleValues
- type Scales
- type ScalesKey
- type ScalesKeys
- type ScalesKeysCard
- type ScalesKeysProject
- type SchedulerEvent
- type SearchResource
- type SearchResources
- type SearchUser
- type SearchUsers
- type SharedUser
- type StandaloneEvent
- type TaggedUser
- type Task
- type TaskEvent
- type TaskStatus
- type Tasks
- type TasksEvent
- type TasksStatusKey
- type TasksStatusKeys
- type TasksStatusProject
- type UpdateCardScaleValue
- type UpdateProjectScaleValue
- type User
- type UserKey
- type UserKeys
- type UserProject
- type UserRegistration
- type Users
- type Version
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 Card ¶
type Card struct {
ID string `json:"id"`
Name string `json:"cardName"`
Description string `json:"cardDescription"`
SimpleDescription string `json:"simpleDescription"`
Color string `json:"color"`
Tags string `json:"tags"`
ScaleValue *string `json:"scaleValue"`
Attributes []common2.DisplayAttribute `json:"attributes"`
CardType *CardType `json:"cardType"`
Scale *Scale `json:"scale"`
TaggedUsers []TaggedUser `json:"taggedUsers"`
Key *common2.SlimKey `json:"key"`
Project *common2.SlimProject `json:"project"`
// 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:"cardDueDate"`
// Acl Attributes
Acl *string `json:"acl"`
CanLeave *bool `json:"canLeave"`
AllowDelete *bool `json:"allowDelete"`
CanDelete *bool `json:"canDelete"`
CurrentUserAcl SharedUser `json:"currentUserAcl"`
// Count Attributes
KeysCount *int `json:"keysCount"`
ProjectsCount *int `json:"projectsCount"`
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 CardScaleValue ¶
type CardTemplate ¶
type CardTemplate 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"`
ProjectTemplateId *string `json:"projectTemplateId"`
LastModified string `json:"lastModified"`
}
type CardTemplates ¶
type CardTemplates struct {
Templates []CardTemplate `json:"templates"`
}
type CardTypesKey ¶
type CardTypesKeys ¶
type CardTypesKeys struct {
Keys *[]CardTypesKey `json:"keys"`
Key *CardTypesKey `json:"key"`
}
type CardTypesKeysCard ¶
type CardTypesKeysCard struct {
Card CardTypesKeys `json:"card"`
}
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"`
Project *common2.SlimProject `json:"project"`
Card *common2.SlimCard `json:"card"`
Creator common2.ResourceCreator `json:"creator"`
Modifier common2.ResourceModifier `json:"modifier"`
LastModified string `json:"lastModified"`
}
type Conversation ¶
type Conversation struct {
ID string `json:"id"`
Type string `json:"type"`
RecentMessage string `json:"recentMessage"`
IsGroup bool `json:"isGroup"`
UserProjected bool `json:"projectedUser"`
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 Conversations ¶
type Conversations struct {
Conversations []Conversation `json:"conversations"`
}
type Dashboard ¶
type Dashboard struct {
Dashboard DashboardResources `json:"dashboard"`
}
type DashboardCard ¶
type DashboardCard struct {
ID string `json:"id"`
Name string `json:"cardName"`
DueDate string `json:"cardDueDate"`
Key *common2.SlimKey `json:"key"`
Projects *[]ProjectWithCardType `json:"projects"`
Creator common2.ResourceCreator `json:"creator"`
Modifier common2.ResourceModifier `json:"modifier"`
}
type DashboardProject ¶
type DashboardProject struct {
ID string `json:"id"`
Name string `json:"projectName"`
DueDate string `json:"projectDueDate"`
Key *common2.SlimKey `json:"key"`
ProjectType *ProjectType `json:"projectType"`
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"`
Project *common2.SlimProject `json:"project"`
Card *common2.SlimCard `json:"card"`
Projects *[]common2.SlimProject `json:"projects"`
Creator common2.ResourceCreator `json:"creator"`
Modifier common2.ResourceModifier `json:"modifier"`
}
type DashboardUnreadCount ¶
type DueDateEvent ¶
type DueDateEvent struct {
Tasks TasksEvent `json:"tasks"`
Projects []ProjectEvent `json:"projects"`
Cards []CardEvent `json:"cards"`
}
type DueShortlyResources ¶
type DueShortlyResources struct {
Projects *[]DashboardProject `json:"projects"`
Cards []DashboardCard `json:"cards"`
Tasks []DashboardTask `json:"tasks"`
}
type EndDateEvent ¶
type EndDateEvent struct {
Projects []ProjectEvent `json:"projects"`
}
type Favorite ¶
type Favorite struct {
ID string `json:"id"`
Modifier common.ResourceModifier `json:"modifier"`
Resource FavoriteResource `json:"resource"`
}
type FavoriteKey ¶
type FavoriteKey struct {
ID string `json:"id"`
Name string `json:"keyName"`
Modifier common.ResourceModifier `json:"modifier"`
}
type FavoriteProject ¶
type FavoriteProject struct {
ID string `json:"id"`
Name string `json:"projectName"`
Modifier common.ResourceModifier `json:"modifier"`
}
type FavoriteResource ¶
type FavoriteResource struct {
ID string `json:"id"`
ResourceType string `json:"resourceType"`
KeyName *string `json:"keyName"`
ProjectName *string `json:"projectName"`
CardName *string `json:"cardName"`
Key *FavoriteKey `json:"key"`
Project *FavoriteProject `json:"project"`
Modifier common.ResourceModifier `json:"modifier"`
}
type FilteredKey ¶
type FilteredKey struct {
ID string `json:"id"`
Name string `json:"keyName"`
Type string `json:"keyType"`
CreatedByMe ProjectsAndCards `json:"createdByMe"`
}
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
ProjectsCount *int `json:"projectsCount"`
CardsCount *int `json:"cardsCount"`
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 KeyTemplates ¶
type KeyTemplates struct {
Templates []KeyTemplatesWithType `json:"templates"`
}
type KeyTemplatesWithType ¶
type KeyTemplatesWithType struct {
Type string `json:"type"`
Templates []KeyTemplate `json:"templates"`
}
type LinkedResources ¶
type LinkedResources struct {
CurrentKey LinkedResourcesKey `json:"currentKey"`
Keys *[]UserKey `json:"keys"`
Projects []UserProject `json:"projects"`
}
type LinkedResourcesKey ¶
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 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 NotificationResource ¶
type NotificationResource struct {
ID string `json:"id"`
ResourceType string `json:"resourceType"`
IsTask *bool `json:"isTask"`
KeyName *string `json:"keyName"`
ProjectName *string `json:"projectName"`
CardName *string `json:"cardName"`
Key *common2.SlimKey `json:"key"`
Projects *[]common2.SlimProject `json:"projects"`
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 Preference ¶
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"`
ProjectedUsers []ProjectedUser `json:"projectedUsers"`
Preferences []Preference `json:"preferences"`
}
type Project ¶
type Project struct {
ID string `json:"id"`
Name string `json:"projectName"`
ProjectId string `json:"projectId"`
Description string `json:"projectDescription"`
SimpleDescription string `json:"simpleDescription"`
Color string `json:"color"`
Tags string `json:"tags"`
ScaleValue *string `json:"scaleValue"`
Attributes []common2.DisplayAttribute `json:"attributes"`
ProjectType *ProjectType `json:"projectType"`
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:"projectDueDate"`
StartTime string `json:"projectStartTime"`
EndTime string `json:"projectEndTime"`
// Acl Attributes
Acl *string `json:"acl"`
CanLeave *bool `json:"canLeave"`
AllowDelete *bool `json:"allowDelete"`
CanDelete *bool `json:"canDelete"`
CurrentUserAcl SharedUser `json:"currentUserAcl"`
// Count Attributes
KeysCount *int `json:"keysCount"`
CardsCount *int `json:"cardsCount"`
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 ProjectEvent ¶
type ProjectList ¶
type ProjectList struct {
ID string `json:"id"`
Name string `json:"projectListName"`
Sequence int `json:"projectListSequence"`
Key common2.SlimKey `json:"key"`
Project common2.SlimProject `json:"project"`
Cards []Card `json:"cards"`
Creator common2.ResourceModifier `json:"creator"`
Modifier common2.ResourceModifier `json:"modifier"`
LastModified string `json:"lastModified"`
}
type ProjectLists ¶
type ProjectLists struct {
ProjectLists []ProjectList `json:"projectLists"`
}
type ProjectScaleValue ¶
type ProjectTemplate ¶
type ProjectTemplate 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 ProjectTemplates ¶
type ProjectTemplates struct {
Templates []ProjectTemplate `json:"templates"`
}
type ProjectType ¶
type ProjectType struct {
ID string `json:"id"`
Name string `json:"projectTypeName"`
Projects *[]common2.SlimProject `json:"projects"`
Modifier *common2.ResourceModifier `json:"modifier"`
LastModified string `json:"lastModified"`
}
type ProjectTypes ¶
type ProjectTypes struct {
ProjectTypes []ProjectType `json:"projectTypes"`
}
type ProjectTypesKey ¶
type ProjectTypesKey struct {
ID string `json:"id"`
Name string `json:"keyName"`
Type string `json:"keyType"`
ProjectTypes []ProjectType `json:"projectTypes"`
LastModified string `json:"lastModified"`
}
type ProjectTypesKeys ¶
type ProjectTypesKeys struct {
Keys []ProjectTypesKey `json:"keys"`
}
type ProjectWithCardType ¶
type ProjectedUser ¶
type ProjectsAndCards ¶
type ProjectsAndCards struct {
Projects []common2.SlimProject `json:"projects"`
Cards []common2.SlimCard `json:"cards"`
}
type RecentComment ¶
type RecentComment struct {
ID string `json:"id"`
CommentText string `json:"commentText"`
Key *common2.SlimKey `json:"key"`
Project *common2.SlimProject `json:"project"`
Projects *[]common2.SlimProject `json:"projects"`
Card *common2.SlimCard `json:"card"`
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 RecentlyModifiedResources ¶
type RecentlyModifiedResources struct {
Projects []DashboardProject `json:"projects"`
Cards []DashboardCard `json:"cards"`
}
type Relations ¶
type Relations struct {
Relationships Relationships `json:"relationships"`
}
type Relationships ¶
type ResourceAttribute ¶
type ResourceAttributes ¶
type ResourceAttributes struct {
KeyAttributes []ResourceAttribute
ProjectAttributes []ResourceAttribute
CardAttributes []ResourceAttribute
}
type ScaleValues ¶
type ScaleValues struct {
Scale Scale `json:"scale"`
Key common2.SlimKey `json:"key"`
Project *common2.SlimProject `json:"project"`
Projects *[]ProjectScaleValue `json:"projects"`
Cards []CardScaleValue `json:"cards"`
}
type ScalesKeys ¶
type ScalesKeysCard ¶
type ScalesKeysCard struct {
Card ScalesKeys `json:"card"`
}
type ScalesKeysProject ¶
type ScalesKeysProject struct {
Project ScalesKeys `json:"project"`
}
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"`
ProjectName *string `json:"projectName"`
CardName *string `json:"cardName"`
Key *common2.SlimKey `json:"key"`
Project *common2.SlimProject `json:"project"`
Projects *[]common2.SlimProject `json:"projects"`
Modifier common2.ResourceModifier `json:"modifier"`
}
type SearchResources ¶
type SearchResources struct {
Results []SearchResource `json:"results"`
}
type SearchUser ¶
type SearchUsers ¶
type SearchUsers struct {
SearchUsers []SearchUser `json:"users"`
}
type SharedUser ¶
type SharedUser struct {
}
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 TaggedUser ¶
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"`
Project *common2.SlimProject `json:"project"`
Creator common2.ResourceCreator `json:"creator"`
Modifier common2.ResourceModifier `json:"modifier"`
}
type TaskStatus ¶
type TasksEvent ¶
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 TasksStatusProject ¶
type UpdateCardScaleValue ¶
type UpdateProjectScaleValue ¶
type UserProject ¶
type UserRegistration ¶
type UserRegistration struct {
User User `json:"user"`
}
Source Files
¶
- attachment.struct.go
- attribute.struct.go
- card-type.struct.go
- card.struct.go
- chart.struct.go
- checklist.struct.go
- comment.struct.go
- conversation.struct.go
- dashboard.struct.go
- favorite.struct.go
- key.struct.go
- note.struct.go
- notification.struct.go
- profile.struct.go
- project-list.struct.go
- project-type.struct.go
- project.struct.go
- relation.struct.go
- scale.struct.go
- scheduler.struct.go
- task.struct.go
- template.struct.go
- user.struct.go
- version.struct.go
Click to show internal directories.
Click to hide internal directories.