apiv1

package
v0.0.0-...-65b0565 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_v1_apiv1_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AddTaskRequest

type AddTaskRequest struct {
	ListId uint64      `protobuf:"varint,1,opt,name=listId,proto3" json:"listId,omitempty"`
	Task   *CreateTask `protobuf:"bytes,2,opt,name=task,proto3" json:"task,omitempty"`
	// contains filtered or unexported fields
}

func (*AddTaskRequest) Descriptor deprecated

func (*AddTaskRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddTaskRequest.ProtoReflect.Descriptor instead.

func (*AddTaskRequest) GetListId

func (x *AddTaskRequest) GetListId() uint64

func (*AddTaskRequest) GetTask

func (x *AddTaskRequest) GetTask() *CreateTask

func (*AddTaskRequest) ProtoMessage

func (*AddTaskRequest) ProtoMessage()

func (*AddTaskRequest) ProtoReflect

func (x *AddTaskRequest) ProtoReflect() protoreflect.Message

func (*AddTaskRequest) Reset

func (x *AddTaskRequest) Reset()

func (*AddTaskRequest) String

func (x *AddTaskRequest) String() string

type AddTaskResponse

type AddTaskResponse struct {
	TaskId    uint64                 `protobuf:"varint,1,opt,name=taskId,proto3" json:"taskId,omitempty"`
	CreatedAt *go_protosql.Timestamp `protobuf:"bytes,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// contains filtered or unexported fields
}

func (*AddTaskResponse) Descriptor deprecated

func (*AddTaskResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddTaskResponse.ProtoReflect.Descriptor instead.

func (*AddTaskResponse) GetCreatedAt

func (x *AddTaskResponse) GetCreatedAt() *go_protosql.Timestamp

func (*AddTaskResponse) GetTaskId

func (x *AddTaskResponse) GetTaskId() uint64

func (*AddTaskResponse) ProtoMessage

func (*AddTaskResponse) ProtoMessage()

func (*AddTaskResponse) ProtoReflect

func (x *AddTaskResponse) ProtoReflect() protoreflect.Message

func (*AddTaskResponse) Reset

func (x *AddTaskResponse) Reset()

func (*AddTaskResponse) String

func (x *AddTaskResponse) String() string

type CloseTaskResponse

type CloseTaskResponse struct {
	TaskId   uint64                 `protobuf:"varint,1,opt,name=taskId,proto3" json:"taskId,omitempty"`
	ClosedAt *go_protosql.Timestamp `protobuf:"bytes,2,opt,name=closedAt,proto3" json:"closedAt,omitempty"`
	// contains filtered or unexported fields
}
message UpdateTaskRequest {
   uint64 taskId = 1;
   string title = 2;
   string description = 3;
   google.protobuf.Timestamp deadlineAt = 4;
}

func (*CloseTaskResponse) Descriptor deprecated

func (*CloseTaskResponse) Descriptor() ([]byte, []int)

Deprecated: Use CloseTaskResponse.ProtoReflect.Descriptor instead.

func (*CloseTaskResponse) GetClosedAt

func (x *CloseTaskResponse) GetClosedAt() *go_protosql.Timestamp

func (*CloseTaskResponse) GetTaskId

func (x *CloseTaskResponse) GetTaskId() uint64

func (*CloseTaskResponse) ProtoMessage

func (*CloseTaskResponse) ProtoMessage()

func (*CloseTaskResponse) ProtoReflect

func (x *CloseTaskResponse) ProtoReflect() protoreflect.Message

func (*CloseTaskResponse) Reset

func (x *CloseTaskResponse) Reset()

func (*CloseTaskResponse) String

func (x *CloseTaskResponse) String() string

type CreateListRequest

type CreateListRequest struct {
	UserId      uint64        `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
	Title       string        `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Description string        `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Tasks       []*CreateTask `protobuf:"bytes,4,rep,name=tasks,proto3" json:"tasks,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateListRequest) Descriptor deprecated

func (*CreateListRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateListRequest.ProtoReflect.Descriptor instead.

func (*CreateListRequest) GetDescription

func (x *CreateListRequest) GetDescription() string

func (*CreateListRequest) GetTasks

func (x *CreateListRequest) GetTasks() []*CreateTask

func (*CreateListRequest) GetTitle

func (x *CreateListRequest) GetTitle() string

func (*CreateListRequest) GetUserId

func (x *CreateListRequest) GetUserId() uint64

func (*CreateListRequest) ProtoMessage

func (*CreateListRequest) ProtoMessage()

func (*CreateListRequest) ProtoReflect

func (x *CreateListRequest) ProtoReflect() protoreflect.Message

func (*CreateListRequest) Reset

func (x *CreateListRequest) Reset()

func (*CreateListRequest) String

func (x *CreateListRequest) String() string

type CreateListResponse

type CreateListResponse struct {
	ListId    uint64                 `protobuf:"varint,1,opt,name=listId,proto3" json:"listId,omitempty"`
	CreatedAt *go_protosql.Timestamp `protobuf:"bytes,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateListResponse) Descriptor deprecated

func (*CreateListResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateListResponse.ProtoReflect.Descriptor instead.

func (*CreateListResponse) GetCreatedAt

func (x *CreateListResponse) GetCreatedAt() *go_protosql.Timestamp

func (*CreateListResponse) GetListId

func (x *CreateListResponse) GetListId() uint64

func (*CreateListResponse) ProtoMessage

func (*CreateListResponse) ProtoMessage()

func (*CreateListResponse) ProtoReflect

func (x *CreateListResponse) ProtoReflect() protoreflect.Message

func (*CreateListResponse) Reset

func (x *CreateListResponse) Reset()

func (*CreateListResponse) String

func (x *CreateListResponse) String() string

type CreateTask

type CreateTask struct {
	Title       string                 `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string                 `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	DeadlineAt  *go_protosql.Timestamp `protobuf:"bytes,3,opt,name=deadlineAt,proto3" json:"deadlineAt,omitempty"`
	Labels      []uint64               `protobuf:"varint,4,rep,packed,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTask) Descriptor deprecated

func (*CreateTask) Descriptor() ([]byte, []int)

Deprecated: Use CreateTask.ProtoReflect.Descriptor instead.

func (*CreateTask) GetDeadlineAt

func (x *CreateTask) GetDeadlineAt() *go_protosql.Timestamp

func (*CreateTask) GetDescription

func (x *CreateTask) GetDescription() string

func (*CreateTask) GetLabels

func (x *CreateTask) GetLabels() []uint64

func (*CreateTask) GetTitle

func (x *CreateTask) GetTitle() string

func (*CreateTask) ProtoMessage

func (*CreateTask) ProtoMessage()

func (*CreateTask) ProtoReflect

func (x *CreateTask) ProtoReflect() protoreflect.Message

func (*CreateTask) Reset

func (x *CreateTask) Reset()

func (*CreateTask) String

func (x *CreateTask) String() string

type DeleteListRequest

type DeleteListRequest struct {
	ListId uint64 `protobuf:"varint,1,opt,name=listId,proto3" json:"listId,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteListRequest) Descriptor deprecated

func (*DeleteListRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteListRequest.ProtoReflect.Descriptor instead.

func (*DeleteListRequest) GetListId

func (x *DeleteListRequest) GetListId() uint64

func (*DeleteListRequest) ProtoMessage

func (*DeleteListRequest) ProtoMessage()

func (*DeleteListRequest) ProtoReflect

func (x *DeleteListRequest) ProtoReflect() protoreflect.Message

func (*DeleteListRequest) Reset

func (x *DeleteListRequest) Reset()

func (*DeleteListRequest) String

func (x *DeleteListRequest) String() string

type DeleteListResponse

type DeleteListResponse struct {
	DeletedAt *go_protosql.Timestamp `protobuf:"bytes,1,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteListResponse) Descriptor deprecated

func (*DeleteListResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteListResponse.ProtoReflect.Descriptor instead.

func (*DeleteListResponse) GetDeletedAt

func (x *DeleteListResponse) GetDeletedAt() *go_protosql.Timestamp

func (*DeleteListResponse) ProtoMessage

func (*DeleteListResponse) ProtoMessage()

func (*DeleteListResponse) ProtoReflect

func (x *DeleteListResponse) ProtoReflect() protoreflect.Message

func (*DeleteListResponse) Reset

func (x *DeleteListResponse) Reset()

func (*DeleteListResponse) String

func (x *DeleteListResponse) String() string

type DeleteTaskResponse

type DeleteTaskResponse struct {
	TaskId    uint64                 `protobuf:"varint,1,opt,name=taskId,proto3" json:"taskId,omitempty"`
	DeletedAt *go_protosql.Timestamp `protobuf:"bytes,2,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTaskResponse) Descriptor deprecated

func (*DeleteTaskResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteTaskResponse.ProtoReflect.Descriptor instead.

func (*DeleteTaskResponse) GetDeletedAt

func (x *DeleteTaskResponse) GetDeletedAt() *go_protosql.Timestamp

func (*DeleteTaskResponse) GetTaskId

func (x *DeleteTaskResponse) GetTaskId() uint64

func (*DeleteTaskResponse) ProtoMessage

func (*DeleteTaskResponse) ProtoMessage()

func (*DeleteTaskResponse) ProtoReflect

func (x *DeleteTaskResponse) ProtoReflect() protoreflect.Message

func (*DeleteTaskResponse) Reset

func (x *DeleteTaskResponse) Reset()

func (*DeleteTaskResponse) String

func (x *DeleteTaskResponse) String() string

type GetListRequest

type GetListRequest struct {
	ListId uint64 `protobuf:"varint,1,opt,name=listId,proto3" json:"listId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetListRequest) Descriptor deprecated

func (*GetListRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetListRequest.ProtoReflect.Descriptor instead.

func (*GetListRequest) GetListId

func (x *GetListRequest) GetListId() uint64

func (*GetListRequest) ProtoMessage

func (*GetListRequest) ProtoMessage()

func (*GetListRequest) ProtoReflect

func (x *GetListRequest) ProtoReflect() protoreflect.Message

func (*GetListRequest) Reset

func (x *GetListRequest) Reset()

func (*GetListRequest) String

func (x *GetListRequest) String() string

type GetListResponse

type GetListResponse struct {
	List *List `protobuf:"bytes,1,opt,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*GetListResponse) Descriptor deprecated

func (*GetListResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetListResponse.ProtoReflect.Descriptor instead.

func (*GetListResponse) GetList

func (x *GetListResponse) GetList() *List

func (*GetListResponse) ProtoMessage

func (*GetListResponse) ProtoMessage()

func (*GetListResponse) ProtoReflect

func (x *GetListResponse) ProtoReflect() protoreflect.Message

func (*GetListResponse) Reset

func (x *GetListResponse) Reset()

func (*GetListResponse) String

func (x *GetListResponse) String() string

type GetListsRequest

type GetListsRequest struct {
	UserId uint64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetListsRequest) Descriptor deprecated

func (*GetListsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetListsRequest.ProtoReflect.Descriptor instead.

func (*GetListsRequest) GetUserId

func (x *GetListsRequest) GetUserId() uint64

func (*GetListsRequest) ProtoMessage

func (*GetListsRequest) ProtoMessage()

func (*GetListsRequest) ProtoReflect

func (x *GetListsRequest) ProtoReflect() protoreflect.Message

func (*GetListsRequest) Reset

func (x *GetListsRequest) Reset()

func (*GetListsRequest) String

func (x *GetListsRequest) String() string

type GetListsResponse

type GetListsResponse struct {
	Lists []*List `protobuf:"bytes,1,rep,name=lists,proto3" json:"lists,omitempty"`
	// contains filtered or unexported fields
}

func (*GetListsResponse) Descriptor deprecated

func (*GetListsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetListsResponse.ProtoReflect.Descriptor instead.

func (*GetListsResponse) GetLists

func (x *GetListsResponse) GetLists() []*List

func (*GetListsResponse) ProtoMessage

func (*GetListsResponse) ProtoMessage()

func (*GetListsResponse) ProtoReflect

func (x *GetListsResponse) ProtoReflect() protoreflect.Message

func (*GetListsResponse) Reset

func (x *GetListsResponse) Reset()

func (*GetListsResponse) String

func (x *GetListsResponse) String() string

type GetTaskResponse

type GetTaskResponse struct {
	Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTaskResponse) Descriptor deprecated

func (*GetTaskResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetTaskResponse.ProtoReflect.Descriptor instead.

func (*GetTaskResponse) GetTask

func (x *GetTaskResponse) GetTask() *Task

func (*GetTaskResponse) ProtoMessage

func (*GetTaskResponse) ProtoMessage()

func (*GetTaskResponse) ProtoReflect

func (x *GetTaskResponse) ProtoReflect() protoreflect.Message

func (*GetTaskResponse) Reset

func (x *GetTaskResponse) Reset()

func (*GetTaskResponse) String

func (x *GetTaskResponse) String() string

type GetTasksRequest

type GetTasksRequest struct {
	ListId uint64 `protobuf:"varint,1,opt,name=listId,proto3" json:"listId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTasksRequest) Descriptor deprecated

func (*GetTasksRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTasksRequest.ProtoReflect.Descriptor instead.

func (*GetTasksRequest) GetListId

func (x *GetTasksRequest) GetListId() uint64

func (*GetTasksRequest) ProtoMessage

func (*GetTasksRequest) ProtoMessage()

func (*GetTasksRequest) ProtoReflect

func (x *GetTasksRequest) ProtoReflect() protoreflect.Message

func (*GetTasksRequest) Reset

func (x *GetTasksRequest) Reset()

func (*GetTasksRequest) String

func (x *GetTasksRequest) String() string

type GetTasksResponse

type GetTasksResponse struct {
	Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTasksResponse) Descriptor deprecated

func (*GetTasksResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetTasksResponse.ProtoReflect.Descriptor instead.

func (*GetTasksResponse) GetTasks

func (x *GetTasksResponse) GetTasks() []*Task

func (*GetTasksResponse) ProtoMessage

func (*GetTasksResponse) ProtoMessage()

func (*GetTasksResponse) ProtoReflect

func (x *GetTasksResponse) ProtoReflect() protoreflect.Message

func (*GetTasksResponse) Reset

func (x *GetTasksResponse) Reset()

func (*GetTasksResponse) String

func (x *GetTasksResponse) String() string

type Label

type Label struct {
	Id           uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name         string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	CategoryId   uint64 `protobuf:"varint,3,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
	CategoryName string `protobuf:"bytes,4,opt,name=category_name,json=categoryName,proto3" json:"category_name,omitempty"`
	Color        []byte `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"`
	// contains filtered or unexported fields
}

---------------------------------------------------------------------------- common messages

func (*Label) Descriptor deprecated

func (*Label) Descriptor() ([]byte, []int)

Deprecated: Use Label.ProtoReflect.Descriptor instead.

func (*Label) GetCategoryId

func (x *Label) GetCategoryId() uint64

func (*Label) GetCategoryName

func (x *Label) GetCategoryName() string

func (*Label) GetColor

func (x *Label) GetColor() []byte

func (*Label) GetId

func (x *Label) GetId() uint64

func (*Label) GetName

func (x *Label) GetName() string

func (*Label) ProtoMessage

func (*Label) ProtoMessage()

func (*Label) ProtoReflect

func (x *Label) ProtoReflect() protoreflect.Message

func (*Label) Reset

func (x *Label) Reset()

func (*Label) String

func (x *Label) String() string

type List

type List struct {
	Id          uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId      uint64                 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
	Title       string                 `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Description string                 `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	CreatedAt   *go_protosql.Timestamp `protobuf:"bytes,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	DeletedAt   *go_protosql.Timestamp `protobuf:"bytes,7,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*List) Descriptor deprecated

func (*List) Descriptor() ([]byte, []int)

Deprecated: Use List.ProtoReflect.Descriptor instead.

func (*List) GetCreatedAt

func (x *List) GetCreatedAt() *go_protosql.Timestamp

func (*List) GetDeletedAt

func (x *List) GetDeletedAt() *go_protosql.Timestamp

func (*List) GetDescription

func (x *List) GetDescription() string

func (*List) GetId

func (x *List) GetId() uint64

func (*List) GetTitle

func (x *List) GetTitle() string

func (*List) GetUserId

func (x *List) GetUserId() uint64

func (*List) ProtoMessage

func (*List) ProtoMessage()

func (*List) ProtoReflect

func (x *List) ProtoReflect() protoreflect.Message

func (*List) Reset

func (x *List) Reset()

func (*List) String

func (x *List) String() string

type Task

type Task struct {
	Id          uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ListId      uint64                 `protobuf:"varint,2,opt,name=listId,proto3" json:"listId,omitempty"`
	Title       string                 `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Description string                 `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	CreatedAt   *go_protosql.Timestamp `protobuf:"bytes,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt   *go_protosql.Timestamp `protobuf:"bytes,6,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	DeadlineAt  *go_protosql.Timestamp `protobuf:"bytes,7,opt,name=deadlineAt,proto3" json:"deadlineAt,omitempty"`
	ClosedAt    *go_protosql.Timestamp `protobuf:"bytes,8,opt,name=closedAt,proto3" json:"closedAt,omitempty"`
	DeletedAt   *go_protosql.Timestamp `protobuf:"bytes,9,opt,name=deletedAt,proto3" json:"deletedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*Task) Descriptor deprecated

func (*Task) Descriptor() ([]byte, []int)

Deprecated: Use Task.ProtoReflect.Descriptor instead.

func (*Task) GetClosedAt

func (x *Task) GetClosedAt() *go_protosql.Timestamp

func (*Task) GetCreatedAt

func (x *Task) GetCreatedAt() *go_protosql.Timestamp

func (*Task) GetDeadlineAt

func (x *Task) GetDeadlineAt() *go_protosql.Timestamp

func (*Task) GetDeletedAt

func (x *Task) GetDeletedAt() *go_protosql.Timestamp

func (*Task) GetDescription

func (x *Task) GetDescription() string

func (*Task) GetId

func (x *Task) GetId() uint64

func (*Task) GetListId

func (x *Task) GetListId() uint64

func (*Task) GetTitle

func (x *Task) GetTitle() string

func (*Task) GetUpdatedAt

func (x *Task) GetUpdatedAt() *go_protosql.Timestamp

func (*Task) ProtoMessage

func (*Task) ProtoMessage()

func (*Task) ProtoReflect

func (x *Task) ProtoReflect() protoreflect.Message

func (*Task) Reset

func (x *Task) Reset()

func (*Task) String

func (x *Task) String() string

type TaskRequest

type TaskRequest struct {
	TaskId uint64 `protobuf:"varint,1,opt,name=taskId,proto3" json:"taskId,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskRequest) Descriptor deprecated

func (*TaskRequest) Descriptor() ([]byte, []int)

Deprecated: Use TaskRequest.ProtoReflect.Descriptor instead.

func (*TaskRequest) GetTaskId

func (x *TaskRequest) GetTaskId() uint64

func (*TaskRequest) ProtoMessage

func (*TaskRequest) ProtoMessage()

func (*TaskRequest) ProtoReflect

func (x *TaskRequest) ProtoReflect() protoreflect.Message

func (*TaskRequest) Reset

func (x *TaskRequest) Reset()

func (*TaskRequest) String

func (x *TaskRequest) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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