Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Commit

Permalink
Add "branch" option to env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
kamatama41 committed Aug 7, 2019
1 parent 0b50568 commit 1e968ac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions env_vars.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ type EnvVar struct {
Value *string `json:"value,omitempty"`
// Whether this environment variable should be publicly visible or not
Public *bool `json:"public,omitempty"`
// The env_var's branch.
Branch *string `json:"branch,omitempty"`
*Metadata
}

Expand All @@ -42,6 +44,8 @@ type EnvVarBody struct {
Value string `json:"env_var.value,omitempty"`
// Whether this environment variable should be publicly visible or not
Public bool `json:"env_var.public"`
// The env_var's branch.
Branch string `json:"env_var.branch,omitempty"`
}

// envVarsResponse represents the response of a call
Expand Down

0 comments on commit 1e968ac

Please sign in to comment.