github.com/yaegashi/msgraph.go@v0.1.4/v1.0/ModelShared.go (about) 1 // Code generated by msgraph.go/gen DO NOT EDIT. 2 3 package msgraph 4 5 import "time" 6 7 // Shared undocumented 8 type Shared struct { 9 // Object is the base model of Shared 10 Object 11 // Owner undocumented 12 Owner *IdentitySet `json:"owner,omitempty"` 13 // Scope undocumented 14 Scope *string `json:"scope,omitempty"` 15 // SharedBy undocumented 16 SharedBy *IdentitySet `json:"sharedBy,omitempty"` 17 // SharedDateTime undocumented 18 SharedDateTime *time.Time `json:"sharedDateTime,omitempty"` 19 } 20 21 // SharedDriveItem undocumented 22 type SharedDriveItem struct { 23 // BaseItem is the base model of SharedDriveItem 24 BaseItem 25 // Owner undocumented 26 Owner *IdentitySet `json:"owner,omitempty"` 27 // DriveItem undocumented 28 DriveItem *DriveItem `json:"driveItem,omitempty"` 29 // Items undocumented 30 Items []DriveItem `json:"items,omitempty"` 31 // List undocumented 32 List *List `json:"list,omitempty"` 33 // ListItem undocumented 34 ListItem *ListItem `json:"listItem,omitempty"` 35 // Root undocumented 36 Root *DriveItem `json:"root,omitempty"` 37 // Site undocumented 38 Site *Site `json:"site,omitempty"` 39 } 40 41 // SharedInsight undocumented 42 type SharedInsight struct { 43 // Entity is the base model of SharedInsight 44 Entity 45 // LastShared undocumented 46 LastShared *SharingDetail `json:"lastShared,omitempty"` 47 // SharingHistory undocumented 48 SharingHistory []SharingDetail `json:"sharingHistory,omitempty"` 49 // ResourceVisualization undocumented 50 ResourceVisualization *ResourceVisualization `json:"resourceVisualization,omitempty"` 51 // ResourceReference undocumented 52 ResourceReference *ResourceReference `json:"resourceReference,omitempty"` 53 // LastSharedMethod undocumented 54 LastSharedMethod *Entity `json:"lastSharedMethod,omitempty"` 55 // Resource undocumented 56 Resource *Entity `json:"resource,omitempty"` 57 } 58 59 // SharedPCAccountManagerPolicy undocumented 60 type SharedPCAccountManagerPolicy struct { 61 // Object is the base model of SharedPCAccountManagerPolicy 62 Object 63 // AccountDeletionPolicy Configures when accounts are deleted. 64 AccountDeletionPolicy *SharedPCAccountDeletionPolicyType `json:"accountDeletionPolicy,omitempty"` 65 // CacheAccountsAboveDiskFreePercentage 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 66 CacheAccountsAboveDiskFreePercentage *int `json:"cacheAccountsAboveDiskFreePercentage,omitempty"` 67 // InactiveThresholdDays 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. 68 InactiveThresholdDays *int `json:"inactiveThresholdDays,omitempty"` 69 // RemoveAccountsBelowDiskFreePercentage 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 70 RemoveAccountsBelowDiskFreePercentage *int `json:"removeAccountsBelowDiskFreePercentage,omitempty"` 71 } 72 73 // SharedPCConfiguration This topic provides descriptions of the declared methods, properties and relationships exposed by the sharedPCConfiguration resource. 74 type SharedPCConfiguration struct { 75 // DeviceConfiguration is the base model of SharedPCConfiguration 76 DeviceConfiguration 77 // AccountManagerPolicy Specifies how accounts are managed on a shared PC. Only applies when disableAccountManager is false. 78 AccountManagerPolicy *SharedPCAccountManagerPolicy `json:"accountManagerPolicy,omitempty"` 79 // AllowedAccounts Indicates which type of accounts are allowed to use on a shared PC. 80 AllowedAccounts *SharedPCAllowedAccountType `json:"allowedAccounts,omitempty"` 81 // AllowLocalStorage Specifies whether local storage is allowed on a shared PC. 82 AllowLocalStorage *bool `json:"allowLocalStorage,omitempty"` 83 // DisableAccountManager Disables the account manager for shared PC mode. 84 DisableAccountManager *bool `json:"disableAccountManager,omitempty"` 85 // DisableEduPolicies Specifies whether the default shared PC education environment policies should be disabled. For Windows 10 RS2 and later, this policy will be applied without setting Enabled to true. 86 DisableEduPolicies *bool `json:"disableEduPolicies,omitempty"` 87 // DisablePowerPolicies Specifies whether the default shared PC power policies should be disabled. 88 DisablePowerPolicies *bool `json:"disablePowerPolicies,omitempty"` 89 // DisableSignInOnResume Disables the requirement to sign in whenever the device wakes up from sleep mode. 90 DisableSignInOnResume *bool `json:"disableSignInOnResume,omitempty"` 91 // Enabled Enables shared PC mode and applies the shared pc policies. 92 Enabled *bool `json:"enabled,omitempty"` 93 // IdleTimeBeforeSleepInSeconds Specifies the time in seconds that a device must sit idle before the PC goes to sleep. Setting this value to 0 prevents the sleep timeout from occurring. 94 IdleTimeBeforeSleepInSeconds *int `json:"idleTimeBeforeSleepInSeconds,omitempty"` 95 // KioskAppDisplayName Specifies the display text for the account shown on the sign-in screen which launches the app specified by SetKioskAppUserModelId. Only applies when KioskAppUserModelId is set. 96 KioskAppDisplayName *string `json:"kioskAppDisplayName,omitempty"` 97 // KioskAppUserModelID Specifies the application user model ID of the app to use with assigned access. 98 KioskAppUserModelID *string `json:"kioskAppUserModelId,omitempty"` 99 // MaintenanceStartTime Specifies the daily start time of maintenance hour. 100 MaintenanceStartTime *TimeOfDay `json:"maintenanceStartTime,omitempty"` 101 }