// Specifies the flash version.
766911
func (h *Client) FlashVersion(flashVersion string) *Client {
	h.flashVersion = flashVersion
	h.flashVersionSet = true
	return h
}
648611
func (cmd *CLI) defineVersion() {
	if _, ok := cmd.flags["version"]; !ok && len(cmd.Version()) > 0 {
		cmd.DefineBoolFlag("version", false, "show version and exit")
		cmd.flagVersion = cmd.flags["version"]
		if _, ok := cmd.aliases['v']; !ok {
			cmd.AliasFlag('v', "version")
		}
	}
}
589554
func (s *Session) Flash() *Flash {
	if s.flash != nil {
		return s.flash
	}

	s.flash = new(Flash)
	if b, ok := s.Get(flashKey).([]byte); ok {
		s.flash.decode(b)
	}
	return s.flash
}
577532
func (s *Session) Flashes() []string {
	if v, ok := s.Values[flashesKey]; ok {
		delete(s.Values, flashesKey)
		s.isWriten = true
		valinf := v.([]interface{})
		vals := make([]string, len(valinf))
		for i := 0; i < len(valinf); i++ {
			vals[i] = valinf[i].(string)
		}

		return vals
	}
	return nil
}
304187
func (s *CreatePolicyVersionOutput) SetIsDefaultVersion(v bool) *CreatePolicyVersionOutput {
	s.IsDefaultVersion = &v
	return s
}
678819
func (f *Flash) Del(key string) {
	if f.Has(key) {
		f.changed = true
	}
	delete(f.v, key)
}
752832
func (s *Cluster) SetRequestedAmiVersion(v string) *Cluster {
	s.RequestedAmiVersion = &v
	return s
}
98627
func (_m *Device) CachedFirmwareVersion() string {
	ret := _m.Called()

	var r0 string
	if rf, ok := ret.Get(0).(func() string); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(string)
	}

	return r0
}
38695
func (r *BulkIndexRequest) Version(version int64) *BulkIndexRequest {
	v := version
	r.version = &v
	r.source = nil
	return r
}
1005959
func (c *Certificate) SetVersion(version X509_Version) error {
	cvers := C.long(version)
	if C.X_X509_set_version(c.x, cvers) != 1 {
		return errors.New("failed to set certificate version")
	}
	return nil
}
513586
func Version(url string, kvdbOptions map[string]string) (string, error) {
	return kvdb.MemVersion1, nil
}
836735
func (s *OptionConfiguration) SetOptionVersion(v string) *OptionConfiguration {
	s.OptionVersion = &v
	return s
}
151855
func (s *Record) SetEventVersion(v string) *Record {
	s.EventVersion = &v
	return s
}
991463
func (f *Flash) Add(key string, value interface{}) {
	if !f.changed {
		f.changed = true
	}
	if f.v == nil {
		f.v = make(data)
	}
	f.v[key] = append(f.v[key], value)
}
1064929
func (s *Session) HasFlash() bool {
	s.mu.RLock()
	has := len(s.flashes) > 0
	s.mu.RUnlock()
	return has
}
436165
func RollbackVersion(ver int32) RollbackOption {
	return func(opts *options) {
		opts.rollbackReq.Version = ver
	}
}
697720
func (c *Controller) FlashParams() {
	for key, vals := range c.Params.Values {
		c.Flash.Out[key] = strings.Join(vals, ",")
	}
}