request

package
v1.0.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddBlockReqBody

type AddBlockReqBody struct {
	Name string `json:"blockName"`
}

type AddKeyReqBody

type AddKeyReqBody struct {
	Type string `json:"keyType"`
	Name string `json:"keyName"`
}

type AddPodReqBody

type AddPodReqBody struct {
	Name string `json:"podName"`
}

type AddPodTypeIdParam

type AddPodTypeIdParam struct {
	PodId     string
	PodTypeId string
	KeyId     string
	BlockId   *string
}

type AddTaskReqBody

type AddTaskReqBody struct {
	Name string `json:"taskName"`
}

type AssignTaskReqBody

type AssignTaskReqBody struct {
	UserIds string `json:"userIds"`
}

type AttachmentParam

type AttachmentParam struct {
	AttachmentId *string
	KeyId        string
	BlockId      *string
	PodId        *string
}

type AttachmentReqBody

type AttachmentReqBody struct {
	FileName string  `json:"fileName"`
	FileUrl  *string `json:"fileUrl"`
}

type AttachmentsReqBody

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

type BlockAclReqBody

type BlockAclReqBody struct {
	Acl string `json:"blockAcl"`
}

type BlockPodToBlockPodRelationParam

type BlockPodToBlockPodRelationParam struct {
	PodId         string
	SourceKeyId   string
	SourceBlockId string

	TargetPodId   string
	TargetKeyId   string
	TargetBlockId string
}

type BlockToBlockPodRelationParam

type BlockToBlockPodRelationParam struct {
	BlockId string

	TargetPodId   string
	TargetKeyId   string
	TargetBlockId string
}

type BlockToBlockRelationParam

type BlockToBlockRelationParam struct {
	BlockId       string
	TargetBlockId string
}

type BlockToPodRelationParam

type BlockToPodRelationParam struct {
	BlockId string

	TargetPodId string
	TargetKeyId string
}

type BlockTypeReqBody

type BlockTypeReqBody struct {
	Name string `json:"blockTypeName"`
}

type BulkArchivePodsReqBody

type BulkArchivePodsReqBody struct {
	PodIds string `json:"podIds"`
}

type ChecklistIdParam

type ChecklistIdParam struct {
	KeyId           string
	BlockId         *string
	PodId           *string
	ChecklistId     *string
	ChecklistItemId *string
}

type ChecklistItemReqBody

type ChecklistItemReqBody struct {
	Title         string  `json:"title"`
	Completed     *bool   `json:"completed"`
	TaggedUserIds *string `json:"taggedUserIds"`
}

type ChecklistReqBody

type ChecklistReqBody struct {
	Title string `json:"title"`
}

type CommentIdParam

type CommentIdParam struct {
	KeyId     string
	BlockId   *string
	PodId     *string
	CommentId *string
}

type CommentReqBody

type CommentReqBody struct {
	CommentText   string  `json:"commentText"`
	TaggedUserIds *string `json:"taggedUserIds"`
}

type CopyMoveBlockParam

type CopyMoveBlockParam struct {
	BlockId     string
	KeyId       string
	TargetKeyId string

	PodIds        []string
	AllPods       bool
	AllTasks      bool
	AllChecklists bool
}

type CopyMovePodParam

type CopyMovePodParam struct {
	PodId       string
	KeyId       string
	TargetKeyId string

	BlockId       string
	TargetBlockId string

	AllTasks      bool
	AllChecklists bool
}

type EventDateParam

type EventDateParam struct {
	StartDate string
	EndDate   *string
}

type GetBlocksParam

type GetBlocksParam struct {
	KeyId            string
	BatchIndex       int
	WriteOrHigherAcl bool
	Filter           string
}

type GetPodsParam

type GetPodsParam struct {
	KeyId      string
	BlockId    *string
	BatchIndex int
}

type KeyToBlockPodRelationParam

type KeyToBlockPodRelationParam struct {
	KeyId string

	TargetPodId   string
	TargetKeyId   string
	TargetBlockId string
}

type KeyToBlockRelationParam

type KeyToBlockRelationParam struct {
	KeyId         string
	TargetBlockId string
}

type KeyToKeyRelationParam

type KeyToKeyRelationParam struct {
	KeyId       string
	TargetKeyId string
}

type KeyToPodRelationParam

type KeyToPodRelationParam struct {
	KeyId string

	TargetPodId string
	TargetKeyId string
}

type NoteIdParam

type NoteIdParam struct {
	KeyId   string
	BlockId *string
	PodId   *string
	NoteId  *string
}

type NoteReqBody

type NoteReqBody struct {
	NoteText string `json:"noteText"`
}

type PodAclReqBody

type PodAclReqBody struct {
	Acl string `json:"podAcl"`
}

type PodBulkShareReqBody

type PodBulkShareReqBody struct {
	Acl    string `json:"podAcl"`
	PodIds string `json:"podIds"`
}

type PodByTemplateParam

type PodByTemplateParam struct {
	KeyId        string
	BlockId      *string
	TemplateId   string
	ExcludeTasks bool
}

type PodToBlockPodRelationParam

type PodToBlockPodRelationParam struct {
	PodId       string
	SourceKeyId string

	TargetPodId   string
	TargetKeyId   string
	TargetBlockId string
}

type PodToPodRelationParam

type PodToPodRelationParam struct {
	PodId       string
	SourceKeyId string

	TargetPodId string
	TargetKeyId string
}

type PodTypeReqBody

type PodTypeReqBody struct {
	Name string `json:"podTypeName"`
}

type ReorderChecklistItemsReqBody

type ReorderChecklistItemsReqBody struct {
	ChecklistItemIds string `json:"checklistItemIds"`
}

type ReorderChecklistsReqBody

type ReorderChecklistsReqBody struct {
	ChecklistIds string `json:"checklistIds"`
}

type ReorderTasksReqBody

type ReorderTasksReqBody struct {
	TaskIds string `json:"taskIds"`
}

type ResetPasswordReqBody

type ResetPasswordReqBody struct {
	Password        string `json:"password"`
	ConfirmPassword string `json:"confirmPassword"`
}

type ResourceAttributeReqBody

type ResourceAttributeReqBody struct {
	AttributeNames string `json:"attributeNames"`
	ShowAttribute  bool   `json:"showAttribute"`
}

type ScaleIdParam

type ScaleIdParam struct {
	ScaleId string
	KeyId   string
	BlockId *string
	PodId   *string
}

type ScaleReqBody

type ScaleReqBody struct {
	Name        string   `json:"scaleName"`
	Type        string   `json:"scaleType"`
	ScaleValues []string `json:"scaleValues"`
}

type SignInReqBody

type SignInReqBody struct {
	Email    string `json:"email"`
	Password string `json:"password"`
}

type SignupReqBody

type SignupReqBody struct {
	Email           string `json:"email"`
	Password        string `json:"password"`
	ConfirmPassword string `json:"confirmPassword"`
}

type StandaloneEventReqBody

type StandaloneEventReqBody struct {
	Description *string `json:"description"`
	StartTime   *string `json:"eventStartTime"`
	EndTime     *string `json:"eventEndTime"`
}

type TaskIdParam

type TaskIdParam struct {
	KeyId   string
	BlockId *string
	PodId   *string
	TaskId  *string
}

type UpdatePodDescReqBody

type UpdatePodDescReqBody struct {
	Description   string  `json:"podDescription"`
	TaggedUserIds *string `json:"taggedUserIds"`
}

type UpdatePodReqBody

type UpdatePodReqBody struct {
	Name              *string `json:"podName"`
	SimpleDescription *string `json:"simpleDescription"`
	DueDate           *string `json:"podDueDate"`
	Color             *string `json:"podColor"`
	Tags              *string `json:"podTags"`
	KanbanMode        *bool   `json:"kanbanMode"`
}

type UpdatePodStatusReqBody

type UpdatePodStatusReqBody struct {
	Completed bool `json:"podCompleted"`
}

type UpdateScaleValueReqBody

type UpdateScaleValueReqBody struct {
	ScaleValue string `json:"scaleValue"`
}

type UpdateTaskReqBody

type UpdateTaskReqBody struct {
	Name      *string `json:"taskName"`
	DueDate   *string `json:"dueDate"`
	Completed *bool   `json:"isCompleted"`
}

Jump to

Keyboard shortcuts

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