java.lang.Object
com.azure.analytics.purview.datamap.models.TimeZone
All Implemented Interfaces:
com.azure.json.JsonSerializable<TimeZone>

public final class TimeZone extends Object implements com.azure.json.JsonSerializable<TimeZone>
The timezone information.
  • Constructor Details

    • TimeZone

      public TimeZone()
      Creates an instance of TimeZone class.
  • Method Details

    • getDstSavings

      public Integer getDstSavings()
      Get the dstSavings property: The value of the daylight saving time.
      Returns:
      the dstSavings value.
    • setDstSavings

      public TimeZone setDstSavings(Integer dstSavings)
      Set the dstSavings property: The value of the daylight saving time.
      Parameters:
      dstSavings - the dstSavings value to set.
      Returns:
      the TimeZone object itself.
    • getId

      public String getId()
      Get the id property: The ID of the timezone.
      Returns:
      the id value.
    • setId

      public TimeZone setId(String id)
      Set the id property: The ID of the timezone.
      Parameters:
      id - the id value to set.
      Returns:
      the TimeZone object itself.
    • getAvailableIds

      public List<String> getAvailableIds()
      Get the availableIds property: An array of available IDs.
      Returns:
      the availableIds value.
    • setAvailableIds

      public TimeZone setAvailableIds(List<String> availableIds)
      Set the availableIds property: An array of available IDs.
      Parameters:
      availableIds - the availableIds value to set.
      Returns:
      the TimeZone object itself.
    • getDefaultProperty

      public TimeZone getDefaultProperty()
      Get the defaultProperty property: The timezone information.
      Returns:
      the defaultProperty value.
    • setDefaultProperty

      public TimeZone setDefaultProperty(TimeZone defaultProperty)
      Set the defaultProperty property: The timezone information.
      Parameters:
      defaultProperty - the defaultProperty value to set.
      Returns:
      the TimeZone object itself.
    • getDisplayName

      public String getDisplayName()
      Get the displayName property: The display name of the timezone.
      Returns:
      the displayName value.
    • setDisplayName

      public TimeZone setDisplayName(String displayName)
      Set the displayName property: The display name of the timezone.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the TimeZone object itself.
    • getRawOffset

      public Integer getRawOffset()
      Get the rawOffset property: The raw offset of the timezone.
      Returns:
      the rawOffset value.
    • setRawOffset

      public TimeZone setRawOffset(Integer rawOffset)
      Set the rawOffset property: The raw offset of the timezone.
      Parameters:
      rawOffset - the rawOffset value to set.
      Returns:
      the TimeZone object itself.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<TimeZone>
      Throws:
      IOException
    • fromJson

      public static TimeZone fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of TimeZone from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of TimeZone if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the TimeZone.