Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.04 KB

KeyLinksBatchDestroyParameters.md

File metadata and controls

21 lines (14 loc) · 1.04 KB

Phrase::KeyLinksBatchDestroyParameters

Properties

Name Type Description Notes
child_key_ids Array<String> Codes of the child keys to unlink. Required when unlink_parent is false or omitted. Ignored when unlink_parent is true.
unlink_parent Boolean When true, dissolves the entire linked-key group by unlinking all children and removing the group. The child_key_ids field is ignored when this is set to true. [optional] [default to false]
strategy String Controls what happens to child key translation content after unlinking. keep_content (default) copies the parent translation into each child; remove_content clears each child translation. [optional] [default to 'keep_content']

Code Sample

require 'phrase'

instance = Phrase::KeyLinksBatchDestroyParameters.new(child_key_ids: ["feature.subtitle","nav.home"],
                                 unlink_parent: nil,
                                 strategy: nil)