Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.53 KB

File metadata and controls

30 lines (23 loc) · 1.53 KB

PatchSegmentExpiringTargetInstruction

Properties

Name Type Description Notes
kind string The type of change to make to the context's removal date from this segment [default to undefined]
contextKey string A unique key used to represent the context [default to undefined]
contextKind string The kind of context [default to undefined]
targetType string The segment's target type [default to undefined]
value number The time, in Unix milliseconds, when the context should be removed from this segment. Required if <code>kind</code> is <code>addExpiringTarget</code> or <code>updateExpiringTarget</code>. [optional] [default to undefined]
version number The version of the expiring target to update. Optional and only used if <code>kind</code> is <code>updateExpiringTarget</code>. If included, update will fail if version doesn&#39;t match current version of the expiring target. [optional] [default to undefined]

Example

import { PatchSegmentExpiringTargetInstruction } from 'launchdarkly-api-typescript';

const instance: PatchSegmentExpiringTargetInstruction = {
    kind,
    contextKey,
    contextKind,
    targetType,
    value,
    version,
};

[Back to Model list] [Back to API list] [Back to README]