github.com/launchdarkly/api-client-go@v5.3.0+incompatible/model_user_segment_body.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 UserSegmentBody struct { 14 // A human-friendly name for the user segment. 15 Name string `json:"name"` 16 // A unique key that will be used to reference the user segment in feature flags. 17 Key string `json:"key"` 18 // A description for the user segment. 19 Description string `json:"description,omitempty"` 20 // Controls whether this is considered a \"big segment\" which can support an unlimited numbers of users. Include/exclude lists sent with this payload are not used in big segments. Contact your account manager for early access to this feature. 21 Unbounded bool `json:"unbounded,omitempty"` 22 // Tags for the user segment. 23 Tags []string `json:"tags,omitempty"` 24 }