github.com/launchdarkly/api-client-go@v5.3.0+incompatible/model_feature_flag.go (about)

     1  /*
     2   * LaunchDarkly REST API
     3   *
     4   * Build custom integrations with the LaunchDarkly REST API
     5   *
     6   * API version: 5.3.0
     7   * Contact: support@launchdarkly.com
     8   * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
     9   */
    10  
    11  package ldapi
    12  
    13  type FeatureFlag struct {
    14  	Key string `json:"key,omitempty"`
    15  	// Name of the feature flag.
    16  	Name string `json:"name,omitempty"`
    17  	// Description of the feature flag.
    18  	Description string `json:"description,omitempty"`
    19  	// Whether the feature flag is a boolean flag or multivariate.
    20  	Kind string `json:"kind,omitempty"`
    21  	// A unix epoch time in milliseconds specifying the creation time of this flag.
    22  	CreationDate int64 `json:"creationDate,omitempty"`
    23  	IncludeInSnippet bool `json:"includeInSnippet,omitempty"`
    24  	// Whether or not this flag is temporary.
    25  	Temporary bool `json:"temporary,omitempty"`
    26  	// The ID of the member that should maintain this flag.
    27  	MaintainerId string `json:"maintainerId,omitempty"`
    28  	// An array of tags for this feature flag.
    29  	Tags []string `json:"tags,omitempty"`
    30  	// The variations for this feature flag.
    31  	Variations []Variation `json:"variations,omitempty"`
    32  	// An array goals from all environments associated with this feature flag
    33  	GoalIds []string `json:"goalIds,omitempty"`
    34  	Version int32 `json:"_version,omitempty"`
    35  	// A mapping of keys to CustomProperty entries.
    36  	CustomProperties map[string]CustomProperty `json:"customProperties,omitempty"`
    37  	Links *Links `json:"_links,omitempty"`
    38  	Maintainer *Member `json:"_maintainer,omitempty"`
    39  	Environments map[string]FeatureFlagConfig `json:"environments,omitempty"`
    40  	// A unix epoch time in milliseconds specifying the archived time of this flag.
    41  	ArchivedDate int64 `json:"archivedDate,omitempty"`
    42  	// Whether or not this flag is archived.
    43  	Archived bool `json:"archived,omitempty"`
    44  	ClientSideAvailability *ClientSideAvailability `json:"clientSideAvailability,omitempty"`
    45  	Defaults *Defaults `json:"defaults,omitempty"`
    46  }