// SetScope sets the Scope field's value.
189192
func (s *AuthenticateOidcActionConfig) SetScope(v string) *AuthenticateOidcActionConfig {
	s.Scope = &v
	return s
}
534603
func (s *DockerVolumeConfiguration) SetScope(v string) *DockerVolumeConfiguration {
	s.Scope = &v
	return s
}
527280
func (s *Dimension) SetValue(v string) *Dimension {
	s.Value = &v
	return s
}
48465
func (m *MockAdminClient) CreateScope(arg0 context.Context, arg1 *dosa.ScopeMetadata) error {
	ret := m.ctrl.Call(m, "CreateScope", arg0, arg1)
	ret0, _ := ret[0].(error)
	return ret0
}
1356839
func (s *CreateRouteInput) SetAuthorizationScopes(v []*string) *CreateRouteInput {
	s.AuthorizationScopes = v
	return s
}
971746
func (s *UpdateProvisioningParameter) SetValue(v string) *UpdateProvisioningParameter {
	s.Value = &v
	return s
}
922466
func (s *scopeStack) Set(name string, val Value) {
	for _, scope := range s.scopes {
		if _, ok := scope[name]; ok {
			scope[name] = val
			return
		}
	}
	s.scopes[len(s.scopes)-1][name] = val
}
449011
func (c *Connector) CreateScope(ctx context.Context, _ *dosa.ScopeMetadata) error {
	return nil
}
845219
func (ctx *Context) GetScope(scope Scope) Arguments {
	i := len(ctx.scopes) - 1 // index of local scope
	if i < 0 {
		panic("no scopes")
	}

	switch scope {
	case GlobalScope:
		i = 0 // index of global scope

	case ParentScope:
		if i > 0 {
			i -= 1 // index of parent scope
		}
	}

	return ctx.scopes[i]
}
1159771
func (s *ExclusionPreview) SetScopes(v []*Scope) *ExclusionPreview {
	s.Scopes = v
	return s
}
13044
func (s *TagOptionDetail) SetValue(v string) *TagOptionDetail {
	s.Value = &v
	return s
}
969556
func (s *Attribute) SetValue(v string) *Attribute {
	s.Value = &v
	return s
}
165851
func (s *TagFilter) SetValue(v string) *TagFilter {
	s.Value = &v
	return s
}
997200
func (s *ResourceServerScopeType) SetScopeDescription(v string) *ResourceServerScopeType {
	s.ScopeDescription = &v
	return s
}
942350
func (s composedScope) scope(db *gorm.DB) *gorm.DB {
	for _, s := range s {
		db = s.scope(db)
	}

	return db
}
758299
func (s *CreateResourceServerInput) SetScopes(v []*ResourceServerScopeType) *CreateResourceServerInput {
	s.Scopes = v
	return s
}
1024057
func (s *FilterRule) SetValue(v string) *FilterRule {
	s.Value = &v
	return s
}