Class LogWithNameAndProperties

  • All Implemented Interfaces:
    com.microsoft.appcenter.ingestion.models.Log, com.microsoft.appcenter.ingestion.models.Model
    Direct Known Subclasses:
    EventLog, PageLog

    public abstract class LogWithNameAndProperties
    extends com.microsoft.appcenter.ingestion.models.LogWithProperties
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getName()
      Get the name value.
      int hashCode()  
      void read​(org.json.JSONObject object)  
      void setName​(java.lang.String name)
      Set the name value.
      void write​(org.json.JSONStringer writer)  
      • Methods inherited from class com.microsoft.appcenter.ingestion.models.LogWithProperties

        getProperties, setProperties
      • Methods inherited from class com.microsoft.appcenter.ingestion.models.AbstractLog

        addTransmissionTarget, getDataResidencyRegion, getDevice, getDistributionGroupId, getSid, getTag, getTimestamp, getTransmissionTargetTokens, getUserId, setDataResidencyRegion, setDevice, setDistributionGroupId, setSid, setTag, setTimestamp, setUserId
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.microsoft.appcenter.ingestion.models.Log

        getType
    • Constructor Detail

      • LogWithNameAndProperties

        public LogWithNameAndProperties()
    • Method Detail

      • getName

        public java.lang.String getName()
        Get the name value.
        Returns:
        the name value
      • setName

        public void setName​(java.lang.String name)
        Set the name value.
        Parameters:
        name - the name value to set
      • read

        public void read​(org.json.JSONObject object)
                  throws org.json.JSONException
        Specified by:
        read in interface com.microsoft.appcenter.ingestion.models.Model
        Overrides:
        read in class com.microsoft.appcenter.ingestion.models.LogWithProperties
        Throws:
        org.json.JSONException
      • write

        public void write​(org.json.JSONStringer writer)
                   throws org.json.JSONException
        Specified by:
        write in interface com.microsoft.appcenter.ingestion.models.Model
        Overrides:
        write in class com.microsoft.appcenter.ingestion.models.LogWithProperties
        Throws:
        org.json.JSONException
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class com.microsoft.appcenter.ingestion.models.LogWithProperties
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.microsoft.appcenter.ingestion.models.LogWithProperties