Class UserModel

    • Constructor Detail

      • UserModel

        public UserModel()
    • Method Detail

      • getUserId

        public String getUserId()
        GETTER End user's user_id string from your app
        Returns:
        the value
      • setUserId

        public void setUserId​(String value)
        SETTER End user's user_id string from your app
        Parameters:
        value - the value to set
      • getCompanyId

        public String getCompanyId()
        GETTER Company_id associated with the user if known
        Returns:
        the value
      • setCompanyId

        public void setCompanyId​(String value)
        SETTER Company_id associated with the user if known
        Parameters:
        value - the value to set
      • getModifiedTime

        public Date getModifiedTime()
        GETTER Timestamp of when user was updated. (Moesif will use the current time if not set)
        Returns:
        the value
      • setModifiedTime

        public void setModifiedTime​(Date value)
        SETTER Timestamp of when user was updated. (Moesif will use the current time if not set)
        Parameters:
        value - the value to set
      • getIpAddress

        public String getIpAddress()
        GETTER Last seen IP Address of the user if known
        Returns:
        the value
      • setIpAddress

        public void setIpAddress​(String value)
        SETTER Last seen IP Address of the user if known
        Parameters:
        value - the value to set
      • getSessionToken

        public String getSessionToken()
        GETTER End user's auth/session token
        Returns:
        the value
      • setSessionToken

        public void setSessionToken​(String value)
        SETTER End user's auth/session token
        Parameters:
        value - the value to set
      • getUserAgentString

        public String getUserAgentString()
        GETTER User Agent String of the user's device such as "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36"
        Returns:
        the value
      • setUserAgentString

        public void setUserAgentString​(String value)
        SETTER User Agent String of the user's device such as "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36"
        Parameters:
        value - the value to set
      • getMetadata

        public Object getMetadata()
        GETTER Custom user metadata as a JSON object
        Returns:
        the value
      • setMetadata

        public void setMetadata​(Object value)
        SETTER Custom user metadata as a JSON object
        Parameters:
        value - the value to set
      • getCampaign

        public CampaignModel getCampaign()
        GETTER the campaign object
        Returns:
        the value
      • setCampaign

        public void setCampaign​(CampaignModel value)
        SETTER the campaign object
        Parameters:
        value - the value to set