Package com.microsoft.graph.models
Class TermsExpiration
java.lang.Object
com.microsoft.graph.models.TermsExpiration
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class TermsExpiration
extends Object
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Terms Expiration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Frequency.the OData type of the object as returned by the serviceThe Start Date Time. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManagervoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
frequency
@SerializedName(value="frequency", alternate="Frequency") @Expose @Nullable public Duration frequencyThe Frequency. Represents the frequency at which the terms will expire, after its first expiration as set in startDateTime. The value is represented in ISO 8601 format for durations. For example, PT1M represents a time period of 1 month. -
startDateTime
@SerializedName(value="startDateTime", alternate="StartDateTime") @Expose @Nullable public OffsetDateTime startDateTimeThe Start Date Time. The DateTime when the agreement is set to expire for all users. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
-
-
Constructor Details
-
TermsExpiration
public TermsExpiration()
-
-
Method Details
-
additionalDataManager
@Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()- Specified by:
additionalDataManagerin interfacecom.microsoft.graph.serializer.IJsonBackedObject
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-