Skip to content

Latest commit

 

History

History
54 lines (47 loc) · 2.51 KB

File metadata and controls

54 lines (47 loc) · 2.51 KB

ExpandedFlagRep

Properties

Name Type Description Notes
name string A human-friendly name for the feature flag [default to undefined]
kind string Kind of feature flag [default to undefined]
description string Description of the feature flag [optional] [default to undefined]
key string A unique key used to reference the flag in your code [default to undefined]
_version number Version of the feature flag [default to undefined]
creationDate number [default to undefined]
includeInSnippet boolean Deprecated, use <code>clientSideAvailability</code>. Whether this flag should be made available to the client-side JavaScript SDK [optional] [default to undefined]
clientSideAvailability ClientSideAvailability [optional] [default to undefined]
variations Array<Variation> An array of possible variations for the flag [default to undefined]
temporary boolean Whether the flag is a temporary flag [default to undefined]
tags Array<string> Tags for the feature flag [default to undefined]
_links { [key: string]: Link; } The location and content type of related resources [default to undefined]
maintainerId string The ID of the member who maintains the flag [optional] [default to undefined]
_maintainer MemberSummary [optional] [default to undefined]
customProperties { [key: string]: CustomProperty; } [default to undefined]
archived boolean Boolean indicating if the feature flag is archived [default to undefined]
archivedDate number [optional] [default to undefined]
defaults Defaults [optional] [default to undefined]

Example

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

const instance: ExpandedFlagRep = {
    name,
    kind,
    description,
    key,
    _version,
    creationDate,
    includeInSnippet,
    clientSideAvailability,
    variations,
    temporary,
    tags,
    _links,
    maintainerId,
    _maintainer,
    customProperties,
    archived,
    archivedDate,
    defaults,
};

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