github.com/launchdarkly/api-client-go@v5.3.0+incompatible/model_feature_flag_copy_object.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 FeatureFlagCopyObject struct {
    14  	// The environment key to be used.
    15  	Key string `json:"key"`
    16  	// If the latest version of the flag matches provided version it will copy, otherwise it will return a conflict.
    17  	CurrentVersion int32 `json:"currentVersion,omitempty"`
    18  }