github.com/launchdarkly/api-client-go@v5.3.0+incompatible/model_environment.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 Environment struct {
    14  	Links *Links `json:"_links,omitempty"`
    15  	// The unique resource id.
    16  	Id string `json:"_id,omitempty"`
    17  	// The key for the environment.
    18  	Key string `json:"key,omitempty"`
    19  	// The name of the environment.
    20  	Name string `json:"name,omitempty"`
    21  	// The SDK key for backend LaunchDarkly SDKs.
    22  	ApiKey string `json:"apiKey,omitempty"`
    23  	// The SDK key for mobile LaunchDarkly SDKs.
    24  	MobileKey string `json:"mobileKey,omitempty"`
    25  	// The swatch color for the environment.
    26  	Color string `json:"color,omitempty"`
    27  	// The default TTL.
    28  	DefaultTtl float32 `json:"defaultTtl,omitempty"`
    29  	// Determines if this environment is in safe mode.
    30  	SecureMode bool `json:"secureMode,omitempty"`
    31  	// Set to true to send detailed event information for new flags.
    32  	DefaultTrackEvents bool `json:"defaultTrackEvents,omitempty"`
    33  	// An array of tags for this environment.
    34  	Tags []string `json:"tags,omitempty"`
    35  	// Determines if this environment requires comments for flag and segment changes.
    36  	RequireComments bool `json:"requireComments,omitempty"`
    37  	// Determines if this environment requires confirmation for flag and segment changes.
    38  	ConfirmChanges bool `json:"confirmChanges,omitempty"`
    39  	ApprovalSettings *EnvironmentApprovalSettings `json:"approvalSettings,omitempty"`
    40  }