github.com/launchdarkly/api-client-go@v5.3.0+incompatible/model_defaults.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 // Default values to be used when a new environment is created. 14 type Defaults struct { 15 // The index of the variation to be served when a flag's targeting is on (default variation). 16 OnVariation int32 `json:"onVariation"` 17 // The index of the variation to be served when a flag is off. 18 OffVariation int32 `json:"offVariation"` 19 }