Package com.microsoft.graph.models
Class SharedPCAccountManagerPolicy
java.lang.Object
com.microsoft.graph.models.SharedPCAccountManagerPolicy
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class SharedPCAccountManagerPolicy
extends Object
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Shared PCAccount Manager Policy.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Account Deletion Policy.The Cache Accounts Above Disk Free Percentage.The Inactive Threshold Days.the OData type of the object as returned by the serviceThe Remove Accounts Below Disk Free Percentage. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManager
void
setRawObject
(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 -
accountDeletionPolicy
@SerializedName(value="accountDeletionPolicy", alternate="AccountDeletionPolicy") @Expose @Nullable public SharedPCAccountDeletionPolicyType accountDeletionPolicyThe Account Deletion Policy. Configures when accounts are deleted. Possible values are: immediate, diskSpaceThreshold, diskSpaceThresholdOrInactiveThreshold. -
cacheAccountsAboveDiskFreePercentage
@SerializedName(value="cacheAccountsAboveDiskFreePercentage", alternate="CacheAccountsAboveDiskFreePercentage") @Expose @Nullable public Integer cacheAccountsAboveDiskFreePercentageThe Cache Accounts Above Disk Free Percentage. Sets the percentage of available disk space a PC should have before it stops deleting cached shared PC accounts. Only applies when AccountDeletionPolicy is DiskSpaceThreshold or DiskSpaceThresholdOrInactiveThreshold. Valid values 0 to 100 -
inactiveThresholdDays
@SerializedName(value="inactiveThresholdDays", alternate="InactiveThresholdDays") @Expose @Nullable public Integer inactiveThresholdDaysThe Inactive Threshold Days. Specifies when the accounts will start being deleted when they have not been logged on during the specified period, given as number of days. Only applies when AccountDeletionPolicy is DiskSpaceThreshold or DiskSpaceThresholdOrInactiveThreshold. -
removeAccountsBelowDiskFreePercentage
@SerializedName(value="removeAccountsBelowDiskFreePercentage", alternate="RemoveAccountsBelowDiskFreePercentage") @Expose @Nullable public Integer removeAccountsBelowDiskFreePercentageThe Remove Accounts Below Disk Free Percentage. Sets the percentage of disk space remaining on a PC before cached accounts will be deleted to free disk space. Accounts that have been inactive the longest will be deleted first. Only applies when AccountDeletionPolicy is DiskSpaceThresholdOrInactiveThreshold. Valid values 0 to 100
-
-
Constructor Details
-
SharedPCAccountManagerPolicy
public SharedPCAccountManagerPolicy()
-
-
Method Details
-
additionalDataManager
@Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()- Specified by:
additionalDataManager
in 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:
setRawObject
in interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-