class Asana::Resources::CustomFieldSetting

Custom fields are attached to a particular project with the Custom Field Settings resource. This resource both represents the many-to-many join of the Custom Field and Project as well as stores information that is relevant to that particular pairing; for instance, the `is_important` property determines some possible application-specific handling of that custom field (see below)

Attributes

created_at[R]
custom_field[R]
id[R]
is_important[R]
project[R]

Public Class Methods

find_by_project(client, project: required("project"), options: {}) click to toggle source

Returns a list of all of the custom fields settings on a project, in compact form. Note that, as in all queries to collections which return compact representation, `opt_fields` and `opt_expand` can be used to include more data than is returned in the compact representation. See the getting started guide on [input/output options](/developers/documentation/getting-started/input-output-options) for more information.

project - [Id] The ID of the project for which to list custom field settings options - [Hash] the request I/O options.

# File lib/asana/resources/custom_field_settings.rb, line 34
def find_by_project(client, project: required("project"), options: {})

  Resource.new(parse(client.get("/projects/#{project}/custom_field_settings", options: options)).first, client: client)
end
plural_name() click to toggle source

Returns the plural name of the resource.

# File lib/asana/resources/custom_field_settings.rb, line 26
def plural_name
  'custom_field_settings'
end