github.com/launchdarkly/api-client-go@v5.3.0+incompatible/model_user_segment.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 UserSegment struct { 14 // Unique identifier for the user segment. 15 Key string `json:"key"` 16 // Name of the user segment. 17 Name string `json:"name"` 18 // Description of the user segment. 19 Description string `json:"description,omitempty"` 20 // An array of tags for this user segment. 21 Tags []string `json:"tags,omitempty"` 22 // A unix epoch time in milliseconds specifying the creation time of this flag. 23 CreationDate int64 `json:"creationDate"` 24 // An array of user keys that are included in this segment. 25 Included []string `json:"included,omitempty"` 26 // An array of user keys that should not be included in this segment, unless they are also listed in \"included\". 27 Excluded []string `json:"excluded,omitempty"` 28 // An array of rules that can cause a user to be included in this segment. 29 Rules []UserSegmentRule `json:"rules,omitempty"` 30 // 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. 31 Unbounded bool `json:"unbounded,omitempty"` 32 Version int32 `json:"version,omitempty"` 33 Links *Links `json:"_links,omitempty"` 34 Flags []FlagListItem `json:"_flags,omitempty"` 35 }