Package com.microsoft.graph.models
Class StandardTimeZoneOffset
java.lang.Object
com.microsoft.graph.models.StandardTimeZoneOffset
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
- Direct Known Subclasses:
DaylightTimeZoneOffset
@Generated("com.microsoft.kiota")
public class StandardTimeZoneOffset
extends Object
implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StandardTimeZoneOffsetcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the dayOccurrence property value.Gets the dayOfWeek property value.The deserialization information for the current modelgetMonth()Gets the month property value.Gets the @odata.type property value.getTime()Gets the time property value.getYear()Gets the year property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidsetDayOccurrence(Integer value) Sets the dayOccurrence property value.voidsetDayOfWeek(DayOfWeek value) Sets the dayOfWeek property value.voidSets the month property value.voidsetOdataType(String value) Sets the @odata.type property value.voidSets the time property value.voidSets the year property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
StandardTimeZoneOffset
public StandardTimeZoneOffset()Instantiates a newStandardTimeZoneOffsetand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static StandardTimeZoneOffset 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
StandardTimeZoneOffset
-
getAdditionalData
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getBackingStore
@Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()Gets the backingStore property value. Stores model information.- Specified by:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
getDayOccurrence
Gets the dayOccurrence property value. Represents the nth occurrence of the day of week that the transition from daylight saving time to standard time occurs.- Returns:
- a
Integer
-
getDayOfWeek
Gets the dayOfWeek property value. Represents the day of the week when the transition from daylight saving time to standard time.- Returns:
- a
DayOfWeek
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getMonth
Gets the month property value. Represents the month of the year when the transition from daylight saving time to standard time occurs.- Returns:
- a
Integer
-
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getTime
Gets the time property value. Represents the time of day when the transition from daylight saving time to standard time occurs.- Returns:
- a
LocalTime
-
getYear
Gets the year property value. Represents how frequently in terms of years the change from daylight saving time to standard time occurs. For example, a value of 0 means every year.- Returns:
- a
Integer
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAdditionalData
Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.- Parameters:
value- Value to set for the AdditionalData property.
-
setBackingStore
public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value. Stores model information.- Parameters:
value- Value to set for the backingStore property.
-
setDayOccurrence
Sets the dayOccurrence property value. Represents the nth occurrence of the day of week that the transition from daylight saving time to standard time occurs.- Parameters:
value- Value to set for the dayOccurrence property.
-
setDayOfWeek
Sets the dayOfWeek property value. Represents the day of the week when the transition from daylight saving time to standard time.- Parameters:
value- Value to set for the dayOfWeek property.
-
setMonth
Sets the month property value. Represents the month of the year when the transition from daylight saving time to standard time occurs.- Parameters:
value- Value to set for the month property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setTime
Sets the time property value. Represents the time of day when the transition from daylight saving time to standard time occurs.- Parameters:
value- Value to set for the time property.
-
setYear
Sets the year property value. Represents how frequently in terms of years the change from daylight saving time to standard time occurs. For example, a value of 0 means every year.- Parameters:
value- Value to set for the year property.
-