 (defn -build [this]
   (EventLogger. @(.state this)))
 
-
-
 (defn -sendToSamsara [this]
   (if (clojure.string/blank? (:url @(.state this)))
     false

  (swap! (.state this) assoc :url url)
  this)

(defn -getApiUrl [this]
  (:url @(.state this)))

(defn -setAppId [this ^String appId]
  (swap! (.state this) assoc :appId appId)
  this)

              :state state
              :init init
              :methods [[setApiUrl [String] Object]
                        [setAppId  [String] Object]
                        [setSourceId [String] Object]
                        [setPublishInterval [Long] Object]
                        [setMinBufferSize [Long] Object]
                        [setMaxBufferSize [Long] Object]
                        [setCompression [String] Object]
                        [setServiceName [String] Object]
                        [build [] samsara.logger.EventLogger]
