github.com/launchdarkly/api-client-go@v5.3.0+incompatible/model_feature_flag_config.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 FeatureFlagConfig struct { 14 On bool `json:"on,omitempty"` 15 Archived bool `json:"archived,omitempty"` 16 Salt string `json:"salt,omitempty"` 17 Sel string `json:"sel,omitempty"` 18 LastModified int64 `json:"lastModified,omitempty"` 19 Version int32 `json:"version,omitempty"` 20 Targets []Target `json:"targets,omitempty"` 21 Rules []Rule `json:"rules,omitempty"` 22 Fallthrough_ *ModelFallthrough `json:"fallthrough,omitempty"` 23 OffVariation int32 `json:"offVariation,omitempty"` 24 Prerequisites []Prerequisite `json:"prerequisites,omitempty"` 25 // Set to true to send detailed event information for this flag. 26 TrackEvents bool `json:"trackEvents,omitempty"` 27 // Set to true to send detailed event information when targeting is enabled but no individual targeting rule is matched. 28 TrackEventsFallthrough bool `json:"trackEventsFallthrough,omitempty"` 29 Site *Site `json:"_site,omitempty"` 30 EnvironmentName string `json:"_environmentName,omitempty"` 31 }