@@ -41,8 +41,8 @@ type ProjectVariable struct {
41
41
VariableType VariableTypeValue `json:"variable_type"`
42
42
Protected bool `json:"protected"`
43
43
Masked bool `json:"masked"`
44
- EnvironmentScope string `json:"environment_scope"`
45
44
Raw bool `json:"raw"`
45
+ EnvironmentScope string `json:"environment_scope"`
46
46
}
47
47
48
48
func (v ProjectVariable ) String () string {
@@ -131,8 +131,8 @@ type CreateProjectVariableOptions struct {
131
131
VariableType * VariableTypeValue `url:"variable_type,omitempty" json:"variable_type,omitempty"`
132
132
Protected * bool `url:"protected,omitempty" json:"protected,omitempty"`
133
133
Masked * bool `url:"masked,omitempty" json:"masked,omitempty"`
134
- EnvironmentScope * string `url:"environment_scope,omitempty" json:"environment_scope,omitempty"`
135
134
Raw * bool `url:"raw,omitempty" json:"raw,omitempty"`
135
+ EnvironmentScope * string `url:"environment_scope,omitempty" json:"environment_scope,omitempty"`
136
136
}
137
137
138
138
// CreateVariable creates a new project variable.
@@ -170,9 +170,9 @@ type UpdateProjectVariableOptions struct {
170
170
VariableType * VariableTypeValue `url:"variable_type,omitempty" json:"variable_type,omitempty"`
171
171
Protected * bool `url:"protected,omitempty" json:"protected,omitempty"`
172
172
Masked * bool `url:"masked,omitempty" json:"masked,omitempty"`
173
+ Raw * bool `url:"raw,omitempty" json:"raw,omitempty"`
173
174
EnvironmentScope * string `url:"environment_scope,omitempty" json:"environment_scope,omitempty"`
174
175
Filter * VariableFilter `url:"filter,omitempty" json:"filter,omitempty"`
175
- Raw * bool `url:"raw,omitempty" json:"raw,omitempty"`
176
176
}
177
177
178
178
// UpdateVariable updates a project's variable.
0 commit comments