Package 

Class Location

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

    
    public class Location
     implements IJsonSerializable, Serializable
                        

    Data contract class Location.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private String ip
    • Constructor Summary

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

      Modifier and Type Method Description
      String getIp() Gets the Ip property.
      void setIp(String value) Sets the Ip 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

      • Location

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

      • setIp

         void setIp(String value)

        Sets the Ip 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.