Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit fc5cf0e

Browse files
committed
Fix variation variables to non-optional.
1 parent 5367b9d commit fc5cf0e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

model_variation.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,13 @@
88
*/
99
package go_mgmt_sdk
1010

11-
import "github.com/antihax/optional"
12-
1311
type Variation struct {
1412
// Unique key by Feature, can be used in the SDK / API to reference by 'key' rather than _id. Must only contain lower-case characters and `_` or `-`.
1513
Key string `json:"key"`
1614
// Variation display name.
1715
Name string `json:"name"`
1816
// A key-value map of variables to their value for this variation
19-
Variables map[string]optional.Interface `json:"variables,omitempty"`
17+
Variables map[string]interface{} `json:"variables,omitempty"`
2018
// A unique Variation ID
2119
Id string `json:"_id"`
2220
}

0 commit comments

Comments
 (0)