BexioApiClient.Projects.Milestone (bexio_api_client v2.0.0)

Copy Markdown

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

Summary

Types

t()

Bexio Milestone

Functions

Create a new milestone.

Types

t()

@type t() :: %BexioApiClient.Projects.Milestone{
  comment: String.t() | nil,
  end_date: Date.t() | nil,
  id: integer() | nil,
  name: String.t(),
  pr_parent_milestone_id: integer() | nil
}

Bexio Milestone

Fields:

  • :id - automatic id given by bexio, nil when creating a new milestone
  • :name - the name of the milestone
  • :end_date - the end date for the milestone
  • :comment - description for the milestone
  • :pr_parent_milestone_id - higher level milestone this milestone belongs to

Functions

new(attrs \\ %{})

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

Create a new milestone.

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