code: func (s *SyntheticsDevice) GetUserAgent() string {
  	if s == nil || s.UserAgent == nil {
  		return ""
  	}
  	return *s.UserAgent
  }
docs: // GetUserAgent returns the UserAgent field if non-nil, zero value otherwise.