Package com.microsoft.graph.models
Class KeyCredentialConfiguration
java.lang.Object
com.microsoft.graph.models.KeyCredentialConfiguration
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class KeyCredentialConfiguration
extends Object
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Key Credential Configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Max Lifetime.the OData type of the object as returned by the serviceThe Restrict For Apps Created After Date Time.The Restriction Type. -
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 -
maxLifetime
@SerializedName(value="maxLifetime", alternate="MaxLifetime") @Expose @Nullable public Duration maxLifetimeThe Max Lifetime. -
restrictForAppsCreatedAfterDateTime
@SerializedName(value="restrictForAppsCreatedAfterDateTime", alternate="RestrictForAppsCreatedAfterDateTime") @Expose @Nullable public OffsetDateTime restrictForAppsCreatedAfterDateTimeThe Restrict For Apps Created After Date Time. Timestamp when the policy is enforced for all apps created on or after the specified date. For existing applications, the enforcement date would be back dated. To apply to all applications regardless of their creation date, this property would be null. Nullable. -
restrictionType
@SerializedName(value="restrictionType", alternate="RestrictionType") @Expose @Nullable public AppKeyCredentialRestrictionType restrictionTypeThe Restriction Type. The type of restriction being applied. Possible values are asymmetricKeyLifetime, unknownFutureValue. Each value of restrictionType can be used only once per policy.
-
-
Constructor Details
-
KeyCredentialConfiguration
public KeyCredentialConfiguration()
-
-
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
-