github.com/launchdarkly/api-client-go@v5.3.0+incompatible/model_feature_flag_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 FeatureFlagBody struct {
    14  	// A human-friendly name for the feature flag. Remember to note if this flag is intended to be temporary or permanent.
    15  	Name string `json:"name"`
    16  	// A unique key that will be used to reference the flag in your code.
    17  	Key string `json:"key"`
    18  	// A description of the feature flag.
    19  	Description string `json:"description,omitempty"`
    20  	// An array of possible variations for the flag.
    21  	Variations []Variation `json:"variations"`
    22  	// Whether or not the flag is a temporary flag.
    23  	Temporary bool `json:"temporary,omitempty"`
    24  	// Tags for the feature flag.
    25  	Tags []string `json:"tags,omitempty"`
    26  	// Whether or not this flag should be made available to the client-side JavaScript SDK.
    27  	IncludeInSnippet bool `json:"includeInSnippet,omitempty"`
    28  	ClientSideAvailability *ClientSideAvailability `json:"clientSideAvailability,omitempty"`
    29  	Defaults *Defaults `json:"defaults,omitempty"`
    30  }