Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProjectCache ¶
type SevenPaceActivityRef ¶ added in v0.19.0
type SevenPaceActivityRef struct {
ID string `json:"id"`
}
type SevenPaceWorkLog ¶ added in v0.19.0
type SevenPaceWorkLog struct {
Timestamp string `json:"timestamp"`
Length int `json:"length"`
WorkItemID *int `json:"workItemId,omitempty"`
Comment string `json:"comment,omitempty"`
ActivityType *SevenPaceActivityRef `json:"activityType,omitempty"`
}
SevenPaceWorkLog is the request/response body for the 7pace Timetracker REST worklog endpoint. Length is in seconds. A worklog must have either a comment or an associated work item, and Length must be greater than 0.
type TimeEntry ¶
type TimeEntry struct {
ID int `json:"id,omitempty"`
CreatedWith string `json:"created_with"`
Description string `json:"description"`
Tags []string `json:"tags"`
Billable bool `json:"billable"`
WorkspaceID int `json:"workspace_id"`
Duration int `json:"duration"`
Start string `json:"start"`
Stop *string `json:"stop"`
ProjectID int `json:"project_id"`
}
type TimeEntryItem ¶
type TimeEntryItem struct {
Billable bool `json:"billable"`
ClientID int `json:"client_id"`
ClientName string `json:"client_name"`
CreatedAt string `json:"created_at"`
CreatedWith string `json:"created_with"`
DeletedAt string `json:"deleted_at"`
Description string `json:"description"`
Duration int `json:"duration"`
ID int `json:"id"`
ProjectID int `json:"project_id"`
ProjectName string `json:"project_name"`
Start time.Time `json:"start"`
Tags []string `json:"tags"`
TaskID int `json:"task_id"`
TaskName string `json:"task_name"`
WorkspaceID int `json:"workspace_id"`
WorkspaceName string `json:"workspace_name"`
}
Click to show internal directories.
Click to hide internal directories.