// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
359271
func (i *IssueComment) GetUpdatedAt() time.Time {
	if i == nil || i.UpdatedAt == nil {
		return time.Time{}
	}
	return *i.UpdatedAt
}
1022195
func (s *StatusEvent) GetUpdatedAt() Timestamp {
	if s == nil || s.UpdatedAt == nil {
		return Timestamp{}
	}
	return *s.UpdatedAt
}
555454
func (s *Deployment) SetUpdatedAt(v time.Time) *Deployment {
	s.UpdatedAt = &v
	return s
}
717715
func (d *DiscussionComment) GetUpdatedAt() Timestamp {
	if d == nil || d.UpdatedAt == nil {
		return Timestamp{}
	}
	return *d.UpdatedAt
}
1102286
func (tq TrackerQuery) GetETagData() []interface{} {
	// using the 'ID' and 'UpdatedAt' (converted to number of seconds since epoch) fields
	return []interface{}{tq.ID, strconv.FormatInt(tq.UpdatedAt.Unix(), 10)}
}
65983
func (t *TeamDiscussion) GetUpdatedAt() Timestamp {
	if t == nil || t.UpdatedAt == nil {
		return Timestamp{}
	}
	return *t.UpdatedAt
}
183180
func (s *ConfigurationSettingsDescription) SetDateUpdated(v time.Time) *ConfigurationSettingsDescription {
	s.DateUpdated = &v
	return s
}
905937
func (t *TeamDiscussion) GetLastEditedAt() Timestamp {
	if t == nil || t.LastEditedAt == nil {
		return Timestamp{}
	}
	return *t.LastEditedAt
}
1285044
func (r *Repository) GetPushedAt() Timestamp {
	if r == nil || r.PushedAt == nil {
		return Timestamp{}
	}
	return *r.PushedAt
}
1251864
func (s *Note) SetUpdatedAt(v string) *Note {
	s.UpdatedAt = &v
	return s
}
1143678
func GetNeedUpdate() (bool, error) {
	updaterPath, err := UpdaterBinPath()
	if err != nil {
		return false, err
	}
	cmd := exec.Command(updaterPath, "need-update")
	out, err := cmd.Output()
	if err != nil {
		return false, err
	}
	needUpdate, err := strconv.ParseBool(strings.TrimSpace(string(out)))
	if err != nil {
		return false, err
	}
	return needUpdate, nil
}
146550
func (s *ApplicationVersionDescription) SetDateUpdated(v time.Time) *ApplicationVersionDescription {
	s.DateUpdated = &v
	return s
}
1043954
func (s *state) getData() *KVState {
	s.mtx.RLock()
	defer s.mtx.RUnlock()
	d := &KVState{}
	*d = s.data
	return d
}
1024917
func (s *PlatformDescription) SetDateUpdated(v time.Time) *PlatformDescription {
	s.DateUpdated = &v
	return s
}
234832
func (k UpdateSource) FindUpdate(options updater.UpdateOptions) (*updater.Update, error) {
	return k.findUpdate(options, time.Minute)
}
842769
func (i *Installation) GetUpdatedAt() Timestamp {
	if i == nil || i.UpdatedAt == nil {
		return Timestamp{}
	}
	return *i.UpdatedAt
}
492333
func (e *Error) GetData(key DataKey) interface{} {
	if e.data != nil {
		val, ok := e.data[key]
		if ok {
			return val
		}
		if boolWrapper(e.data[disableInheritance], false) {
			return nil
		}
	}
	return e.class.data[key]
}