BexioApiClient.SalesOrderManagement.Comment (bexio_api_client v0.7.0)

Comment

Link to this section Summary

Types

t()

Comment

Functions

Create a new record.

Link to this section Types

@type t() :: %BexioApiClient.SalesOrderManagement.Comment{
  date: NaiveDateTime.t(),
  id: integer(),
  image: String.t() | nil,
  image_path: String.t() | nil,
  public?: boolean(),
  text: String.t(),
  user_email: String.t() | nil,
  user_id: integer() | nil,
  user_name: String.t() | nil
}

Comment

fields

Fields:

  • :id - automatic id given by bexio
  • :text - text
  • :user_id - references a user object
  • :user_email - email
  • :user_name - user name
  • :date - date and time of the comment
  • :public? - if the comment is public viewable
  • :image - base64 encoded image file content
  • :image_path - path of the image

Link to this section Functions

Link to this function

new(attrs \\ %{})

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

Create a new record.