BexioApiClient.Projects.WorkPackage (bexio_api_client v2.0.0)

Copy Markdown

Bexio Work Package Module (part of a project under /3.0/projects).

Summary

Types

t()

Bexio Work Package

Functions

Create a new work package.

Types

t()

@type t() :: %BexioApiClient.Projects.WorkPackage{
  comment: String.t() | nil,
  estimated_time_in_hours: Decimal.t() | nil,
  id: integer() | nil,
  name: String.t(),
  pr_milestone_id: integer() | nil,
  spent_time_in_hours: Decimal.t() | nil
}

Bexio Work Package

Fields:

  • :id - automatic id given by bexio, nil when creating a new work package
  • :name - the name of the work package
  • :spent_time_in_hours - time spent on the work package
  • :estimated_time_in_hours - estimated time on the work package
  • :comment - description for the work package
  • :pr_milestone_id - reference to a milestone object

Functions

new(attrs \\ %{})

@spec new(map()) :: t()

Create a new work package.

Only :name is required by the bexio API, everything else is optional.