// SetClaim sets the claim with the given val.
425859
func (v *Validator) SetClaim(claim string, val interface{}) {
	v.expect()
	v.Expected.Set(claim, val)
}
3305
func (s *AttributeValue) SetValue(v string) *AttributeValue {
	s.Value = &v
	return s
}
502294
func (j *jws) Claims() jwt.Claims {
	if j.isJWT {
		if c, ok := j.payload.v.(Claims); ok {
			return jwt.Claims(c)
		}
	}
	return nil
}
333097
func (self inputTextIdImpl) SetVal(s string) {
	self.htmlIdImpl.t.SetVal(s)
	self.htmlIdImpl.Dom().Trigger(INPUT_EVENT)
}
971458
func claim(config FlagConfig) (bool, error) {
	err := config.Facade.Claim(config.Duration)
	cause := errors.Cause(err)
	switch cause {
	case nil:
		return true, nil
	case lease.ErrClaimDenied:
		return false, nil
	}
	return false, errors.Trace(err)
}
414731
func (s *Gender) SetValue(v string) *Gender {
	s.Value = &v
	return s
}
650656
func (c *conditionalRule) Claim(ctx context.Context) bool {
	if !c.claimPredicate() {
		return false
	}
	return true
}
42660
func (c *Corpus) ForeachClaim(permaNode blob.Ref, at time.Time, fn func(*camtypes.Claim) bool) {
	pm, ok := c.permanodes[permaNode]
	if !ok {
		return
	}
	for _, cl := range pm.Claims {
		if !at.IsZero() && cl.Date.After(at) {
			continue
		}
		if !fn(cl) {
			return
		}
	}
}
972802
func SetExpiryIn(claims jwt.MapClaims, tm time.Duration) {
	claims["exp"] = ExpireIn(tm)
}
1304026
func (ky *Key) SetValue(val Value) error {
	ky.userKey = val
	return ky.computeDigest()
}
840868
func (s *ResourceChangeDetail) SetEvaluation(v string) *ResourceChangeDetail {
	s.Evaluation = &v
	return s
}
1046856
func (s *AccountLimit) SetValue(v int64) *AccountLimit {
	s.Value = &v
	return s
}
830081
func (c Claims) Set(key string, val interface{}) {
	jwt.Claims(c).Set(key, val)
}
776468
func (b *PositionsService) Claim(positionId int, amount string) (Position, error) {

	request := map[string]interface{}{
		"position_id": positionId,
		"amount":      amount,
	}

	req, err := b.client.newAuthenticatedRequest("POST", "position/claim", request)

	if err != nil {
		return Position{}, err
	}

	var position = &Position{}

	_, err = b.client.do(req, position)

	if err != nil {
		return Position{}, err
	}

	return *position, nil
}
1217331
func (s *ProvisioningParameter) SetValue(v string) *ProvisioningParameter {
	s.Value = &v
	return s
}
1359824
func (s *Scope) SetValue(v string) *Scope {
	s.Value = &v
	return s
}
1217497
func (v *Config) Set(val interface{}) {
	configsGuard.Lock()
	defer configsGuard.Unlock()
	v.val = val
}