Package 

Class Session

  • All Implemented Interfaces:
    com.microsoft.telemetry.IJsonSerializable , java.io.Serializable

    
    public class Session
     implements IJsonSerializable, Serializable
                        

    Data contract class Session.

    • Constructor Summary

      Constructors 
      Constructor Description
      Session() Initializes a new instance of the Session class.
    • Method Summary

      Modifier and Type Method Description
      String getId() Gets the Id property.
      void setId(String value) Sets the Id property.
      String getIsFirst() Gets the IsFirst property.
      void setIsFirst(String value) Sets the IsFirst property.
      String getIsNew() Gets the IsNew property.
      void setIsNew(String value) Sets the IsNew property.
      void addToHashMap(Map<String, String> map) Adds all members of this class to a hashmap
      void serialize(Writer writer) Serializes the beginning of this object to the passed in writer.
      • Methods inherited from class com.microsoft.telemetry.IJsonSerializable

        serialize
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Session

        Session()
        Initializes a new instance of the Session class.
    • Method Detail

      • setId

         void setId(String value)

        Sets the Id property.

      • addToHashMap

         void addToHashMap(Map<String, String> map)

        Adds all members of this class to a hashmap

        Parameters:
        map - to which the members of this class will be added.
      • serialize

         void serialize(Writer writer)

        Serializes the beginning of this object to the passed in writer.

        Parameters:
        writer - The writer to serialize this object to.