Class ExpirationPattern

java.lang.Object
com.microsoft.graph.models.ExpirationPattern
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class ExpirationPattern extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Expiration Pattern.
  • Field Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • duration

      @SerializedName(value="duration", alternate="Duration") @Expose @Nullable public Duration duration
      The Duration. The requestor's desired duration of access represented in ISO 8601 format for durations. For example, PT3H refers to three hours. If specified in a request, endDateTime should not be present and the type property should be set to afterDuration.
    • endDateTime

      @SerializedName(value="endDateTime", alternate="EndDateTime") @Expose @Nullable public OffsetDateTime endDateTime
      The End Date Time. Timestamp of 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.
    • type

      @SerializedName(value="type", alternate="Type") @Expose @Nullable public ExpirationPatternType type
      The Type. The requestor's desired expiration pattern type. The possible values are: notSpecified, noExpiration, afterDateTime, afterDuration.
  • Constructor Details

    • ExpirationPattern

      public ExpirationPattern()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.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:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to