Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.03 KB

File metadata and controls

25 lines (18 loc) · 1.03 KB

Phrase::CustomMetadataPropertiesCreateParameters

Properties

Name Type Description Notes
name String name of the property
data_type CustomMetadataDataType
project_ids Array<String> ids of projects that the property belongs to [optional]
description String description of property [optional]
value_options Array<String> value options of property (only applies to single or multi select properties) [optional]

Code Sample

require 'phrase'

instance = Phrase::CustomMetadataPropertiesCreateParameters.new(name: 'Fruit',
                                 data_type: nil,
                                 project_ids: ["abcd1234cdef1234abcd1234cdef1234","abcd1234cdef1234abcd1234cdef4321"],
                                 description: 'A healthy snack for all ages',
                                 value_options: ["Apple","Banana","Coconut"])