Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.04 KB

PatchSegmentInstruction.md

File metadata and controls

26 lines (20 loc) · 1.04 KB

LaunchDarklyApi::PatchSegmentInstruction

Properties

Name Type Description Notes
kind String The type of change to make to the user's removal date from this segment
user_key String A unique key used to represent the user
target_type String The segment's target type
value Integer The time, in Unix milliseconds, when the user should be removed from this segment. Required if <code>kind</code> is <code>addExpireUserTargetDate</code> or <code>updateExpireUserTargetDate</code>. [optional]
version Integer The version of the segment to update. Required if <code>kind</code> is <code>updateExpireUserTargetDate</code>. [optional]

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::PatchSegmentInstruction.new(
  kind: addExpireUserTargetDate,
  user_key: null,
  target_type: null,
  value: 1653469200000,
  version: 1
)