Class CustomTimeZone

java.lang.Object
com.microsoft.graph.models.TimeZoneBase
com.microsoft.graph.models.CustomTimeZone
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class CustomTimeZone extends TimeZoneBase implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • CustomTimeZone

      public CustomTimeZone()
      Instantiates a new CustomTimeZone and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static CustomTimeZone createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a CustomTimeZone
    • getBias

      @Nullable public Integer getBias()
      Gets the bias property value. The time offset of the time zone from Coordinated Universal Time (UTC). This value is in minutes.Time zones that are ahead of UTC have a positive offset; time zones that are behind UTC have a negative offset.
      Returns:
      a Integer
    • getDaylightOffset

      @Nullable public DaylightTimeZoneOffset getDaylightOffset()
      Gets the daylightOffset property value. Specifies when the time zone switches from standard time to daylight saving time.
      Returns:
      a DaylightTimeZoneOffset
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class TimeZoneBase
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getStandardOffset

      @Nullable public StandardTimeZoneOffset getStandardOffset()
      Gets the standardOffset property value. Specifies when the time zone switches from daylight saving time to standard time.
      Returns:
      a StandardTimeZoneOffset
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class TimeZoneBase
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setBias

      public void setBias(@Nullable Integer value)
      Sets the bias property value. The time offset of the time zone from Coordinated Universal Time (UTC). This value is in minutes.Time zones that are ahead of UTC have a positive offset; time zones that are behind UTC have a negative offset.
      Parameters:
      value - Value to set for the bias property.
    • setDaylightOffset

      public void setDaylightOffset(@Nullable DaylightTimeZoneOffset value)
      Sets the daylightOffset property value. Specifies when the time zone switches from standard time to daylight saving time.
      Parameters:
      value - Value to set for the daylightOffset property.
    • setStandardOffset

      public void setStandardOffset(@Nullable StandardTimeZoneOffset value)
      Sets the standardOffset property value. Specifies when the time zone switches from daylight saving time to standard time.
      Parameters:
      value - Value to set for the standardOffset property.