Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DayEntry ¶
type DayEntry struct { ID int `json:"id"` Notes string `json:"notes"` SpentAt string `json:"spent_at"` Hours float64 `json:"hours"` UserID int `json:"user_id"` ProjectID int `json:"project_id"` TaskID int `json:"task_id"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` AdjustmentRecord bool `json:"adjustment_record"` TimerStartedAt string `json:"timer_started_at"` IsClosed bool `json:"is_closed"` IsBilled bool `json:"is_billed"` }
type Project ¶
type Project struct { ID int `json:"id,omitempty"` ClientID int `json:"client_id"` Name string `json:"name"` Code string `json:"code,omitempty"` Active bool `json:"active,omitempty"` Billable bool `json:"billable,omitempty"` BillBy string `json:"bill_by,omitempty"` HourlyRate float64 `json:"hourly_rate,omitempty"` Budget float64 `json:"budget,omitempty"` BudgetBy string `json:"budget_by,omitempty"` NotifyWhenOverBudget bool `json:"notify_when_over_budget,omitempty"` OverBudgetNotificationPercentage float64 `json:"over_budget_notification_percentage,omitempty"` OverBudgetNotifiedAt string `json:"over_budget_notified_at,omitempty"` ShowBudgetToAll bool `json:"show_budget_to_all,omitempty"` CreatedAt time.Time `json:"created_at,omitempty"` UpdatedAt time.Time `json:"updated_at,omitempty"` StartsOn string `json:"starts_on,omitempty"` EndsOn string `json:"ends_on,omitempty"` Estimate float64 `json:"estimate,omitempty"` EstimateBy string `json:"estimate_by,omitempty"` HintEarliestRecordAt string `json:"hint_earliest_record_at,omitempty"` HintLatestRecordAt string `json:"hint_latest_record_at,omitempty"` Notes string `json:"notes,omitempty"` CostBudget float64 `json:"cost_budget,omitempty"` CostBudgetIncludeExpenses bool `json:"cost_budget_include_expenses,omitempty"` }
type User ¶
type User struct { ID int `json:"id"` Email string `json:"email"` CreatedAt time.Time `json:"created_at"` IsAdmin bool `json:"is_admin"` FirstName string `json:"first_name"` LastName string `json:"last_name"` Timezone string `json:"timezone"` IsContractor bool `json:"is_contractor"` Telephone string `json:"telephone"` IsActive bool `json:"is_active"` HasAccessToAllFutureProjects bool `json:"has_access_to_all_future_projects"` DefaultHourlyRate float64 `json:"default_hourly_rate"` Department string `json:"department"` WantsNewsletter bool `json:"wants_newsletter"` UpdatedAt time.Time `json:"updated_at"` CostRate float64 `json:"cost_rate"` WeeklyCapacity int `json:"weekly_capacity,omitempty"` SignupRedirectionCookie string `json:"signup_redirection_cookie,omitempty"` }
type UserParameters ¶
type UserParameters struct { ID int `json:"id,omitempty"` Email string `json:"email,omitempty"` IsAdmin bool `json:"is_admin,omitempty"` FirstName string `json:"first_name,omitempty"` LastName string `json:"last_name,omitempty"` Timezone string `json:"timezone,omitempty"` IsContractor bool `json:"is_contractor,omitempty"` Telephone string `json:"telephone,omitempty"` IsActive bool `json:"is_active,omitempty"` HasAccessToAllFutureProjects bool `json:"has_access_to_all_future_projects,omitempty"` DefaultHourlyRate float64 `json:"default_hourly_rate,omitempty"` Department string `json:"department,omitempty"` CostRate float64 `json:"cost_rate,omitempty"` }
Click to show internal directories.
Click to hide internal directories.