task

package
v0.13.1-0...-264b242 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Task

type Task struct {
	// Short task description
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Localized String representation of a task
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Estimated time in days
	EstimatedTime int32 `protobuf:"varint,4,opt,name=estimated_time,json=estimatedTime,proto3" json:"estimated_time,omitempty"`
	// Identity of a task
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Owner of a task
	Owner *furo.Reference `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"`
	// List of subtasks
	Subtasks             []*Task  `protobuf:"bytes,6,rep,name=subtasks,proto3" json:"subtasks,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Task data description

func (*Task) Descriptor

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

func (*Task) GetDescription

func (m *Task) GetDescription() string

func (*Task) GetDisplayName

func (m *Task) GetDisplayName() string

func (*Task) GetEstimatedTime

func (m *Task) GetEstimatedTime() int32

func (*Task) GetId

func (m *Task) GetId() string

func (*Task) GetOwner

func (m *Task) GetOwner() *furo.Reference

func (*Task) GetSubtasks

func (m *Task) GetSubtasks() []*Task

func (*Task) ProtoMessage

func (*Task) ProtoMessage()

func (*Task) Reset

func (m *Task) Reset()

func (*Task) String

func (m *Task) String() string

func (*Task) XXX_DiscardUnknown

func (m *Task) XXX_DiscardUnknown()

func (*Task) XXX_Marshal

func (m *Task) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Task) XXX_Merge

func (m *Task) XXX_Merge(src proto.Message)

func (*Task) XXX_Size

func (m *Task) XXX_Size() int

func (*Task) XXX_Unmarshal

func (m *Task) XXX_Unmarshal(b []byte) error

type TaskCollection

type TaskCollection struct {
	// Contains a task.TaskEntity repeated
	Entities []*TaskEntity `protobuf:"bytes,4,rep,name=entities,proto3" json:"entities,omitempty"`
	// Hateoas links
	Links []*furo.Link `protobuf:"bytes,3,rep,name=links,proto3" json:"links,omitempty"`
	// Meta for the response
	Meta                 *furo.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

TaskCollection with repeated TaskEntity

func (*TaskCollection) Descriptor

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

func (*TaskCollection) GetEntities

func (m *TaskCollection) GetEntities() []*TaskEntity
func (m *TaskCollection) GetLinks() []*furo.Link

func (*TaskCollection) GetMeta

func (m *TaskCollection) GetMeta() *furo.Meta

func (*TaskCollection) ProtoMessage

func (*TaskCollection) ProtoMessage()

func (*TaskCollection) Reset

func (m *TaskCollection) Reset()

func (*TaskCollection) String

func (m *TaskCollection) String() string

func (*TaskCollection) XXX_DiscardUnknown

func (m *TaskCollection) XXX_DiscardUnknown()

func (*TaskCollection) XXX_Marshal

func (m *TaskCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TaskCollection) XXX_Merge

func (m *TaskCollection) XXX_Merge(src proto.Message)

func (*TaskCollection) XXX_Size

func (m *TaskCollection) XXX_Size() int

func (*TaskCollection) XXX_Unmarshal

func (m *TaskCollection) XXX_Unmarshal(b []byte) error

type TaskEntity

type TaskEntity struct {
	// contains a task.Task
	Data *Task `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// Hateoas links
	Links []*furo.Link `protobuf:"bytes,2,rep,name=links,proto3" json:"links,omitempty"`
	// Meta for the response
	Meta                 *furo.Meta `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

TaskEntity with Task

func (*TaskEntity) Descriptor

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

func (*TaskEntity) GetData

func (m *TaskEntity) GetData() *Task
func (m *TaskEntity) GetLinks() []*furo.Link

func (*TaskEntity) GetMeta

func (m *TaskEntity) GetMeta() *furo.Meta

func (*TaskEntity) ProtoMessage

func (*TaskEntity) ProtoMessage()

func (*TaskEntity) Reset

func (m *TaskEntity) Reset()

func (*TaskEntity) String

func (m *TaskEntity) String() string

func (*TaskEntity) XXX_DiscardUnknown

func (m *TaskEntity) XXX_DiscardUnknown()

func (*TaskEntity) XXX_Marshal

func (m *TaskEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TaskEntity) XXX_Merge

func (m *TaskEntity) XXX_Merge(src proto.Message)

func (*TaskEntity) XXX_Size

func (m *TaskEntity) XXX_Size() int

func (*TaskEntity) XXX_Unmarshal

func (m *TaskEntity) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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