github.com/yaegashi/msgraph.go@v0.1.4/beta/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 // SharedAppleDeviceUser undocumented 22 type SharedAppleDeviceUser struct { 23 // Object is the base model of SharedAppleDeviceUser 24 Object 25 // UserPrincipalName User name 26 UserPrincipalName *string `json:"userPrincipalName,omitempty"` 27 // DataToSync Data to sync 28 DataToSync *bool `json:"dataToSync,omitempty"` 29 // DataQuota Data quota 30 DataQuota *int `json:"dataQuota,omitempty"` 31 // DataUsed Data quota 32 DataUsed *int `json:"dataUsed,omitempty"` 33 } 34 35 // SharedDriveItem undocumented 36 type SharedDriveItem struct { 37 // BaseItem is the base model of SharedDriveItem 38 BaseItem 39 // Owner undocumented 40 Owner *IdentitySet `json:"owner,omitempty"` 41 // DriveItem undocumented 42 DriveItem *DriveItem `json:"driveItem,omitempty"` 43 // Items undocumented 44 Items []DriveItem `json:"items,omitempty"` 45 // List undocumented 46 List *List `json:"list,omitempty"` 47 // ListItem undocumented 48 ListItem *ListItem `json:"listItem,omitempty"` 49 // Permission undocumented 50 Permission *Permission `json:"permission,omitempty"` 51 // Root undocumented 52 Root *DriveItem `json:"root,omitempty"` 53 // Site undocumented 54 Site *Site `json:"site,omitempty"` 55 } 56 57 // SharedInsight undocumented 58 type SharedInsight struct { 59 // Entity is the base model of SharedInsight 60 Entity 61 // LastShared undocumented 62 LastShared *SharingDetail `json:"lastShared,omitempty"` 63 // SharingHistory undocumented 64 SharingHistory []SharingDetail `json:"sharingHistory,omitempty"` 65 // ResourceVisualization undocumented 66 ResourceVisualization *ResourceVisualization `json:"resourceVisualization,omitempty"` 67 // ResourceReference undocumented 68 ResourceReference *ResourceReference `json:"resourceReference,omitempty"` 69 // LastSharedMethod undocumented 70 LastSharedMethod *Entity `json:"lastSharedMethod,omitempty"` 71 // Resource undocumented 72 Resource *Entity `json:"resource,omitempty"` 73 } 74 75 // SharedPCAccountManagerPolicy undocumented 76 type SharedPCAccountManagerPolicy struct { 77 // Object is the base model of SharedPCAccountManagerPolicy 78 Object 79 // AccountDeletionPolicy Configures when accounts are deleted. 80 AccountDeletionPolicy *SharedPCAccountDeletionPolicyType `json:"accountDeletionPolicy,omitempty"` 81 // 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 82 CacheAccountsAboveDiskFreePercentage *int `json:"cacheAccountsAboveDiskFreePercentage,omitempty"` 83 // 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. 84 InactiveThresholdDays *int `json:"inactiveThresholdDays,omitempty"` 85 // 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 86 RemoveAccountsBelowDiskFreePercentage *int `json:"removeAccountsBelowDiskFreePercentage,omitempty"` 87 } 88 89 // SharedPCConfiguration This topic provides descriptions of the declared methods, properties and relationships exposed by the sharedPCConfiguration resource. 90 type SharedPCConfiguration struct { 91 // DeviceConfiguration is the base model of SharedPCConfiguration 92 DeviceConfiguration 93 // AccountManagerPolicy Specifies how accounts are managed on a shared PC. Only applies when disableAccountManager is false. 94 AccountManagerPolicy *SharedPCAccountManagerPolicy `json:"accountManagerPolicy,omitempty"` 95 // AllowedAccounts Indicates which type of accounts are allowed to use on a shared PC. 96 AllowedAccounts *SharedPCAllowedAccountType `json:"allowedAccounts,omitempty"` 97 // LocalStorage Specifies whether local storage is allowed on a shared PC. 98 LocalStorage *Enablement `json:"localStorage,omitempty"` 99 // AllowLocalStorage Specifies whether local storage is allowed on a shared PC. 100 AllowLocalStorage *bool `json:"allowLocalStorage,omitempty"` 101 // SetAccountManager Disables the account manager for shared PC mode. 102 SetAccountManager *Enablement `json:"setAccountManager,omitempty"` 103 // DisableAccountManager Disables the account manager for shared PC mode. 104 DisableAccountManager *bool `json:"disableAccountManager,omitempty"` 105 // SetEduPolicies Specifies whether the default shared PC education environment policies should be enabled/disabled/not configured. For Windows 10 RS2 and later, this policy will be applied without setting Enabled to true. 106 SetEduPolicies *Enablement `json:"setEduPolicies,omitempty"` 107 // 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. 108 DisableEduPolicies *bool `json:"disableEduPolicies,omitempty"` 109 // SetPowerPolicies Specifies whether the default shared PC power policies should be enabled/disabled. 110 SetPowerPolicies *Enablement `json:"setPowerPolicies,omitempty"` 111 // DisablePowerPolicies Specifies whether the default shared PC power policies should be disabled. 112 DisablePowerPolicies *bool `json:"disablePowerPolicies,omitempty"` 113 // SignInOnResume Specifies the requirement to sign in whenever the device wakes up from sleep mode. 114 SignInOnResume *Enablement `json:"signInOnResume,omitempty"` 115 // DisableSignInOnResume Disables the requirement to sign in whenever the device wakes up from sleep mode. 116 DisableSignInOnResume *bool `json:"disableSignInOnResume,omitempty"` 117 // Enabled Enables shared PC mode and applies the shared pc policies. 118 Enabled *bool `json:"enabled,omitempty"` 119 // 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. 120 IdleTimeBeforeSleepInSeconds *int `json:"idleTimeBeforeSleepInSeconds,omitempty"` 121 // 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. 122 KioskAppDisplayName *string `json:"kioskAppDisplayName,omitempty"` 123 // KioskAppUserModelID Specifies the application user model ID of the app to use with assigned access. 124 KioskAppUserModelID *string `json:"kioskAppUserModelId,omitempty"` 125 // MaintenanceStartTime Specifies the daily start time of maintenance hour. 126 MaintenanceStartTime *TimeOfDay `json:"maintenanceStartTime,omitempty"` 127 // FastFirstSignIn Specifies whether to auto connect new non-admin Azure AD accounts to pre-configured candidate local accounts 128 FastFirstSignIn *Enablement `json:"fastFirstSignIn,omitempty"` 129 }