Library.Hubspot.HubdbTableRow (Portico/Z v0.1.0)

Model objects for a HubSpot HubDB Table Row

See https://developers.hubspot.com/docs/api/cms/hubdb for more details about the API in general.

Link to this section Summary

Functions

Default changeset for a row.

Given some attrs, attempt to create a valid Elixir.Library.Hubspot.HubdbTableRow

Create update params that will work with the Hubspot row update API.

Link to this section Functions

Link to this function

changeset(row, attrs)

Default changeset for a row.

Link to this function

create_struct(attrs \\ %{})

Given some attrs, attempt to create a valid Elixir.Library.Hubspot.HubdbTableRow

Link to this function

update_params(row, values)

Create update params that will work with the Hubspot row update API.

values should be in the following format:

%{
  number_column: 42,
  text_column: "some text",
  multi_select_column: %{
   id: "1",
   name: "Option 1",
   type: "option",
   order: 0
  }
} 

See the HubDB API for details of the format.