github.com/yaegashi/msgraph.go@v0.1.4/v1.0/ModelManaged.go (about)

     1  // Code generated by msgraph.go/gen DO NOT EDIT.
     2  
     3  package msgraph
     4  
     5  import (
     6  	"encoding/json"
     7  	"time"
     8  )
     9  
    10  // ManagedAndroidLobApp Contains properties and inherited properties for Managed Android Line Of Business apps.
    11  type ManagedAndroidLobApp struct {
    12  	// ManagedMobileLobApp is the base model of ManagedAndroidLobApp
    13  	ManagedMobileLobApp
    14  	// PackageID The package identifier.
    15  	PackageID *string `json:"packageId,omitempty"`
    16  	// MinimumSupportedOperatingSystem The value for the minimum applicable operating system.
    17  	MinimumSupportedOperatingSystem *AndroidMinimumOperatingSystem `json:"minimumSupportedOperatingSystem,omitempty"`
    18  	// VersionName The version name of managed Android Line of Business (LoB) app.
    19  	VersionName *string `json:"versionName,omitempty"`
    20  	// VersionCode The version code of managed Android Line of Business (LoB) app.
    21  	VersionCode *string `json:"versionCode,omitempty"`
    22  }
    23  
    24  // ManagedAndroidStoreApp Contains properties and inherited properties for Android store apps that you can manage with an Intune app protection policy.
    25  type ManagedAndroidStoreApp struct {
    26  	// ManagedApp is the base model of ManagedAndroidStoreApp
    27  	ManagedApp
    28  	// PackageID The app's package ID.
    29  	PackageID *string `json:"packageId,omitempty"`
    30  	// AppStoreURL The Android AppStoreUrl.
    31  	AppStoreURL *string `json:"appStoreUrl,omitempty"`
    32  	// MinimumSupportedOperatingSystem The value for the minimum supported operating system.
    33  	MinimumSupportedOperatingSystem *AndroidMinimumOperatingSystem `json:"minimumSupportedOperatingSystem,omitempty"`
    34  }
    35  
    36  // ManagedApp Abstract class that contains properties and inherited properties for apps that you can manage with an Intune app protection policy.
    37  type ManagedApp struct {
    38  	// MobileApp is the base model of ManagedApp
    39  	MobileApp
    40  	// AppAvailability The Application's availability.
    41  	AppAvailability *ManagedAppAvailability `json:"appAvailability,omitempty"`
    42  	// Version The Application's version.
    43  	Version *string `json:"version,omitempty"`
    44  }
    45  
    46  // ManagedAppConfiguration Configuration used to deliver a set of custom settings as-is to apps for users to whom the configuration is scoped
    47  type ManagedAppConfiguration struct {
    48  	// ManagedAppPolicy is the base model of ManagedAppConfiguration
    49  	ManagedAppPolicy
    50  	// CustomSettings A set of string key and string value pairs to be sent to apps for users to whom the configuration is scoped, unalterned by this service
    51  	CustomSettings []KeyValuePair `json:"customSettings,omitempty"`
    52  }
    53  
    54  // ManagedAppDiagnosticStatus undocumented
    55  type ManagedAppDiagnosticStatus struct {
    56  	// Object is the base model of ManagedAppDiagnosticStatus
    57  	Object
    58  	// ValidationName The validation friendly name
    59  	ValidationName *string `json:"validationName,omitempty"`
    60  	// State The state of the operation
    61  	State *string `json:"state,omitempty"`
    62  	// MitigationInstruction Instruction on how to mitigate a failed validation
    63  	MitigationInstruction *string `json:"mitigationInstruction,omitempty"`
    64  }
    65  
    66  // ManagedAppOperation Represents an operation applied against an app registration.
    67  type ManagedAppOperation struct {
    68  	// Entity is the base model of ManagedAppOperation
    69  	Entity
    70  	// DisplayName The operation name.
    71  	DisplayName *string `json:"displayName,omitempty"`
    72  	// LastModifiedDateTime The last time the app operation was modified.
    73  	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
    74  	// State The current state of the operation
    75  	State *string `json:"state,omitempty"`
    76  	// Version Version of the entity.
    77  	Version *string `json:"version,omitempty"`
    78  }
    79  
    80  // ManagedAppPolicy The ManagedAppPolicy resource represents a base type for platform specific policies.
    81  type ManagedAppPolicy struct {
    82  	// Entity is the base model of ManagedAppPolicy
    83  	Entity
    84  	// DisplayName Policy display name.
    85  	DisplayName *string `json:"displayName,omitempty"`
    86  	// Description The policy's description.
    87  	Description *string `json:"description,omitempty"`
    88  	// CreatedDateTime The date and time the policy was created.
    89  	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
    90  	// LastModifiedDateTime Last time the policy was modified.
    91  	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
    92  	// Version Version of the entity.
    93  	Version *string `json:"version,omitempty"`
    94  }
    95  
    96  // ManagedAppPolicyDeploymentSummary The ManagedAppEntity is the base entity type for all other entity types under app management workflow.
    97  type ManagedAppPolicyDeploymentSummary struct {
    98  	// Entity is the base model of ManagedAppPolicyDeploymentSummary
    99  	Entity
   100  	// DisplayName undocumented
   101  	DisplayName *string `json:"displayName,omitempty"`
   102  	// ConfigurationDeployedUserCount undocumented
   103  	ConfigurationDeployedUserCount *int `json:"configurationDeployedUserCount,omitempty"`
   104  	// LastRefreshTime undocumented
   105  	LastRefreshTime *time.Time `json:"lastRefreshTime,omitempty"`
   106  	// ConfigurationDeploymentSummaryPerApp undocumented
   107  	ConfigurationDeploymentSummaryPerApp []ManagedAppPolicyDeploymentSummaryPerApp `json:"configurationDeploymentSummaryPerApp,omitempty"`
   108  	// Version Version of the entity.
   109  	Version *string `json:"version,omitempty"`
   110  }
   111  
   112  // ManagedAppPolicyDeploymentSummaryPerApp undocumented
   113  type ManagedAppPolicyDeploymentSummaryPerApp struct {
   114  	// Object is the base model of ManagedAppPolicyDeploymentSummaryPerApp
   115  	Object
   116  	// MobileAppIdentifier Deployment of an app.
   117  	MobileAppIdentifier *MobileAppIdentifier `json:"mobileAppIdentifier,omitempty"`
   118  	// ConfigurationAppliedUserCount Number of users the policy is applied.
   119  	ConfigurationAppliedUserCount *int `json:"configurationAppliedUserCount,omitempty"`
   120  }
   121  
   122  // ManagedAppProtection Policy used to configure detailed management settings for a specified set of apps
   123  type ManagedAppProtection struct {
   124  	// ManagedAppPolicy is the base model of ManagedAppProtection
   125  	ManagedAppPolicy
   126  	// PeriodOfflineBeforeAccessCheck The period after which access is checked when the device is not connected to the internet.
   127  	PeriodOfflineBeforeAccessCheck *Duration `json:"periodOfflineBeforeAccessCheck,omitempty"`
   128  	// PeriodOnlineBeforeAccessCheck The period after which access is checked when the device is connected to the internet.
   129  	PeriodOnlineBeforeAccessCheck *Duration `json:"periodOnlineBeforeAccessCheck,omitempty"`
   130  	// AllowedInboundDataTransferSources Sources from which data is allowed to be transferred.
   131  	AllowedInboundDataTransferSources *ManagedAppDataTransferLevel `json:"allowedInboundDataTransferSources,omitempty"`
   132  	// AllowedOutboundDataTransferDestinations Destinations to which data is allowed to be transferred.
   133  	AllowedOutboundDataTransferDestinations *ManagedAppDataTransferLevel `json:"allowedOutboundDataTransferDestinations,omitempty"`
   134  	// OrganizationalCredentialsRequired Indicates whether organizational credentials are required for app use.
   135  	OrganizationalCredentialsRequired *bool `json:"organizationalCredentialsRequired,omitempty"`
   136  	// AllowedOutboundClipboardSharingLevel The level to which the clipboard may be shared between apps on the managed device.
   137  	AllowedOutboundClipboardSharingLevel *ManagedAppClipboardSharingLevel `json:"allowedOutboundClipboardSharingLevel,omitempty"`
   138  	// DataBackupBlocked Indicates whether the backup of a managed app's data is blocked.
   139  	DataBackupBlocked *bool `json:"dataBackupBlocked,omitempty"`
   140  	// DeviceComplianceRequired Indicates whether device compliance is required.
   141  	DeviceComplianceRequired *bool `json:"deviceComplianceRequired,omitempty"`
   142  	// ManagedBrowserToOpenLinksRequired Indicates whether internet links should be opened in the managed browser app.
   143  	ManagedBrowserToOpenLinksRequired *bool `json:"managedBrowserToOpenLinksRequired,omitempty"`
   144  	// SaveAsBlocked Indicates whether users may use the "Save As" menu item to save a copy of protected files.
   145  	SaveAsBlocked *bool `json:"saveAsBlocked,omitempty"`
   146  	// PeriodOfflineBeforeWipeIsEnforced The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped.
   147  	PeriodOfflineBeforeWipeIsEnforced *Duration `json:"periodOfflineBeforeWipeIsEnforced,omitempty"`
   148  	// PinRequired Indicates whether an app-level pin is required.
   149  	PinRequired *bool `json:"pinRequired,omitempty"`
   150  	// MaximumPinRetries Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped.
   151  	MaximumPinRetries *int `json:"maximumPinRetries,omitempty"`
   152  	// SimplePinBlocked Indicates whether simplePin is blocked.
   153  	SimplePinBlocked *bool `json:"simplePinBlocked,omitempty"`
   154  	// MinimumPinLength Minimum pin length required for an app-level pin if PinRequired is set to True
   155  	MinimumPinLength *int `json:"minimumPinLength,omitempty"`
   156  	// PinCharacterSet Character set which may be used for an app-level pin if PinRequired is set to True.
   157  	PinCharacterSet *ManagedAppPinCharacterSet `json:"pinCharacterSet,omitempty"`
   158  	// PeriodBeforePinReset TimePeriod before the all-level pin must be reset if PinRequired is set to True.
   159  	PeriodBeforePinReset *Duration `json:"periodBeforePinReset,omitempty"`
   160  	// AllowedDataStorageLocations Data storage locations where a user may store managed data.
   161  	AllowedDataStorageLocations []ManagedAppDataStorageLocation `json:"allowedDataStorageLocations,omitempty"`
   162  	// ContactSyncBlocked Indicates whether contacts can be synced to the user's device.
   163  	ContactSyncBlocked *bool `json:"contactSyncBlocked,omitempty"`
   164  	// PrintBlocked Indicates whether printing is allowed from managed apps.
   165  	PrintBlocked *bool `json:"printBlocked,omitempty"`
   166  	// FingerprintBlocked Indicates whether use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True.
   167  	FingerprintBlocked *bool `json:"fingerprintBlocked,omitempty"`
   168  	// DisableAppPinIfDevicePinIsSet Indicates whether use of the app pin is required if the device pin is set.
   169  	DisableAppPinIfDevicePinIsSet *bool `json:"disableAppPinIfDevicePinIsSet,omitempty"`
   170  	// MinimumRequiredOsVersion Versions less than the specified version will block the managed app from accessing company data.
   171  	MinimumRequiredOsVersion *string `json:"minimumRequiredOsVersion,omitempty"`
   172  	// MinimumWarningOsVersion Versions less than the specified version will result in warning message on the managed app from accessing company data.
   173  	MinimumWarningOsVersion *string `json:"minimumWarningOsVersion,omitempty"`
   174  	// MinimumRequiredAppVersion Versions less than the specified version will block the managed app from accessing company data.
   175  	MinimumRequiredAppVersion *string `json:"minimumRequiredAppVersion,omitempty"`
   176  	// MinimumWarningAppVersion Versions less than the specified version will result in warning message on the managed app.
   177  	MinimumWarningAppVersion *string `json:"minimumWarningAppVersion,omitempty"`
   178  }
   179  
   180  // ManagedAppRegistration The ManagedAppEntity is the base entity type for all other entity types under app management workflow.
   181  type ManagedAppRegistration struct {
   182  	// Entity is the base model of ManagedAppRegistration
   183  	Entity
   184  	// CreatedDateTime Date and time of creation
   185  	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
   186  	// LastSyncDateTime Date and time of last the app synced with management service.
   187  	LastSyncDateTime *time.Time `json:"lastSyncDateTime,omitempty"`
   188  	// ApplicationVersion App version
   189  	ApplicationVersion *string `json:"applicationVersion,omitempty"`
   190  	// ManagementSdkVersion App management SDK version
   191  	ManagementSdkVersion *string `json:"managementSdkVersion,omitempty"`
   192  	// PlatformVersion Operating System version
   193  	PlatformVersion *string `json:"platformVersion,omitempty"`
   194  	// DeviceType Host device type
   195  	DeviceType *string `json:"deviceType,omitempty"`
   196  	// DeviceTag App management SDK generated tag, which helps relate apps hosted on the same device. Not guaranteed to relate apps in all conditions.
   197  	DeviceTag *string `json:"deviceTag,omitempty"`
   198  	// DeviceName Host device name
   199  	DeviceName *string `json:"deviceName,omitempty"`
   200  	// FlaggedReasons Zero or more reasons an app registration is flagged. E.g. app running on rooted device
   201  	FlaggedReasons []ManagedAppFlaggedReason `json:"flaggedReasons,omitempty"`
   202  	// UserID The user Id to who this app registration belongs.
   203  	UserID *string `json:"userId,omitempty"`
   204  	// AppIdentifier The app package Identifier
   205  	AppIdentifier *MobileAppIdentifier `json:"appIdentifier,omitempty"`
   206  	// Version Version of the entity.
   207  	Version *string `json:"version,omitempty"`
   208  	// AppliedPolicies undocumented
   209  	AppliedPolicies []ManagedAppPolicy `json:"appliedPolicies,omitempty"`
   210  	// IntendedPolicies undocumented
   211  	IntendedPolicies []ManagedAppPolicy `json:"intendedPolicies,omitempty"`
   212  	// Operations undocumented
   213  	Operations []ManagedAppOperation `json:"operations,omitempty"`
   214  }
   215  
   216  // ManagedAppStatus Represents app protection and configuration status for the organization.
   217  type ManagedAppStatus struct {
   218  	// Entity is the base model of ManagedAppStatus
   219  	Entity
   220  	// DisplayName Friendly name of the status report.
   221  	DisplayName *string `json:"displayName,omitempty"`
   222  	// Version Version of the entity.
   223  	Version *string `json:"version,omitempty"`
   224  }
   225  
   226  // ManagedAppStatusRaw Represents an un-typed status report about organizations app protection and configuration.
   227  type ManagedAppStatusRaw struct {
   228  	// ManagedAppStatus is the base model of ManagedAppStatusRaw
   229  	ManagedAppStatus
   230  	// Content Status report content.
   231  	Content json.RawMessage `json:"content,omitempty"`
   232  }
   233  
   234  // ManagedDevice Devices that are managed or pre-enrolled through Intune
   235  type ManagedDevice struct {
   236  	// Entity is the base model of ManagedDevice
   237  	Entity
   238  	// UserID Unique Identifier for the user associated with the device
   239  	UserID *string `json:"userId,omitempty"`
   240  	// DeviceName Name of the device
   241  	DeviceName *string `json:"deviceName,omitempty"`
   242  	// ManagedDeviceOwnerType Ownership of the device. Can be 'company' or 'personal'
   243  	ManagedDeviceOwnerType *ManagedDeviceOwnerType `json:"managedDeviceOwnerType,omitempty"`
   244  	// DeviceActionResults List of ComplexType deviceActionResult objects.
   245  	DeviceActionResults []DeviceActionResult `json:"deviceActionResults,omitempty"`
   246  	// EnrolledDateTime Enrollment time of the device.
   247  	EnrolledDateTime *time.Time `json:"enrolledDateTime,omitempty"`
   248  	// LastSyncDateTime The date and time that the device last completed a successful sync with Intune.
   249  	LastSyncDateTime *time.Time `json:"lastSyncDateTime,omitempty"`
   250  	// OperatingSystem Operating system of the device. Windows, iOS, etc.
   251  	OperatingSystem *string `json:"operatingSystem,omitempty"`
   252  	// ComplianceState Compliance state of the device.
   253  	ComplianceState *ComplianceState `json:"complianceState,omitempty"`
   254  	// JailBroken whether the device is jail broken or rooted.
   255  	JailBroken *string `json:"jailBroken,omitempty"`
   256  	// ManagementAgent Management channel of the device. Intune, EAS, etc.
   257  	ManagementAgent *ManagementAgentType `json:"managementAgent,omitempty"`
   258  	// OsVersion Operating system version of the device.
   259  	OsVersion *string `json:"osVersion,omitempty"`
   260  	// EasActivated Whether the device is Exchange ActiveSync activated.
   261  	EasActivated *bool `json:"easActivated,omitempty"`
   262  	// EasDeviceID Exchange ActiveSync Id of the device.
   263  	EasDeviceID *string `json:"easDeviceId,omitempty"`
   264  	// EasActivationDateTime Exchange ActivationSync activation time of the device.
   265  	EasActivationDateTime *time.Time `json:"easActivationDateTime,omitempty"`
   266  	// AzureADRegistered Whether the device is Azure Active Directory registered.
   267  	AzureADRegistered *bool `json:"azureADRegistered,omitempty"`
   268  	// DeviceEnrollmentType Enrollment type of the device.
   269  	DeviceEnrollmentType *DeviceEnrollmentType `json:"deviceEnrollmentType,omitempty"`
   270  	// ActivationLockBypassCode Code that allows the Activation Lock on a device to be bypassed.
   271  	ActivationLockBypassCode *string `json:"activationLockBypassCode,omitempty"`
   272  	// EmailAddress Email(s) for the user associated with the device
   273  	EmailAddress *string `json:"emailAddress,omitempty"`
   274  	// AzureADDeviceID The unique identifier for the Azure Active Directory device. Read only.
   275  	AzureADDeviceID *string `json:"azureADDeviceId,omitempty"`
   276  	// DeviceRegistrationState Device registration state.
   277  	DeviceRegistrationState *DeviceRegistrationState `json:"deviceRegistrationState,omitempty"`
   278  	// DeviceCategoryDisplayName Device category display name
   279  	DeviceCategoryDisplayName *string `json:"deviceCategoryDisplayName,omitempty"`
   280  	// IsSupervised Device supervised status
   281  	IsSupervised *bool `json:"isSupervised,omitempty"`
   282  	// ExchangeLastSuccessfulSyncDateTime Last time the device contacted Exchange.
   283  	ExchangeLastSuccessfulSyncDateTime *time.Time `json:"exchangeLastSuccessfulSyncDateTime,omitempty"`
   284  	// ExchangeAccessState The Access State of the device in Exchange.
   285  	ExchangeAccessState *DeviceManagementExchangeAccessState `json:"exchangeAccessState,omitempty"`
   286  	// ExchangeAccessStateReason The reason for the device's access state in Exchange.
   287  	ExchangeAccessStateReason *DeviceManagementExchangeAccessStateReason `json:"exchangeAccessStateReason,omitempty"`
   288  	// RemoteAssistanceSessionURL Url that allows a Remote Assistance session to be established with the device.
   289  	RemoteAssistanceSessionURL *string `json:"remoteAssistanceSessionUrl,omitempty"`
   290  	// RemoteAssistanceSessionErrorDetails An error string that identifies issues when creating Remote Assistance session objects.
   291  	RemoteAssistanceSessionErrorDetails *string `json:"remoteAssistanceSessionErrorDetails,omitempty"`
   292  	// IsEncrypted Device encryption status
   293  	IsEncrypted *bool `json:"isEncrypted,omitempty"`
   294  	// UserPrincipalName Device user principal name
   295  	UserPrincipalName *string `json:"userPrincipalName,omitempty"`
   296  	// Model Model of the device
   297  	Model *string `json:"model,omitempty"`
   298  	// Manufacturer Manufacturer of the device
   299  	Manufacturer *string `json:"manufacturer,omitempty"`
   300  	// Imei IMEI
   301  	Imei *string `json:"imei,omitempty"`
   302  	// ComplianceGracePeriodExpirationDateTime The DateTime when device compliance grace period expires
   303  	ComplianceGracePeriodExpirationDateTime *time.Time `json:"complianceGracePeriodExpirationDateTime,omitempty"`
   304  	// SerialNumber SerialNumber
   305  	SerialNumber *string `json:"serialNumber,omitempty"`
   306  	// PhoneNumber Phone number of the device
   307  	PhoneNumber *string `json:"phoneNumber,omitempty"`
   308  	// AndroidSecurityPatchLevel Android security patch level
   309  	AndroidSecurityPatchLevel *string `json:"androidSecurityPatchLevel,omitempty"`
   310  	// UserDisplayName User display name
   311  	UserDisplayName *string `json:"userDisplayName,omitempty"`
   312  	// ConfigurationManagerClientEnabledFeatures ConfigrMgr client enabled features
   313  	ConfigurationManagerClientEnabledFeatures *ConfigurationManagerClientEnabledFeatures `json:"configurationManagerClientEnabledFeatures,omitempty"`
   314  	// WiFiMacAddress Wi-Fi MAC
   315  	WiFiMacAddress *string `json:"wiFiMacAddress,omitempty"`
   316  	// DeviceHealthAttestationState The device health attestation state.
   317  	DeviceHealthAttestationState *DeviceHealthAttestationState `json:"deviceHealthAttestationState,omitempty"`
   318  	// SubscriberCarrier Subscriber Carrier
   319  	SubscriberCarrier *string `json:"subscriberCarrier,omitempty"`
   320  	// Meid MEID
   321  	Meid *string `json:"meid,omitempty"`
   322  	// TotalStorageSpaceInBytes Total Storage in Bytes
   323  	TotalStorageSpaceInBytes *int `json:"totalStorageSpaceInBytes,omitempty"`
   324  	// FreeStorageSpaceInBytes Free Storage in Bytes
   325  	FreeStorageSpaceInBytes *int `json:"freeStorageSpaceInBytes,omitempty"`
   326  	// ManagedDeviceName Automatically generated name to identify a device. Can be overwritten to a user friendly name.
   327  	ManagedDeviceName *string `json:"managedDeviceName,omitempty"`
   328  	// PartnerReportedThreatState Indicates the threat state of a device when a Mobile Threat Defense partner is in use by the account and device. Read Only.
   329  	PartnerReportedThreatState *ManagedDevicePartnerReportedHealthState `json:"partnerReportedThreatState,omitempty"`
   330  	// DeviceConfigurationStates undocumented
   331  	DeviceConfigurationStates []DeviceConfigurationState `json:"deviceConfigurationStates,omitempty"`
   332  	// DeviceCompliancePolicyStates undocumented
   333  	DeviceCompliancePolicyStates []DeviceCompliancePolicyState `json:"deviceCompliancePolicyStates,omitempty"`
   334  	// DeviceCategory undocumented
   335  	DeviceCategory *DeviceCategory `json:"deviceCategory,omitempty"`
   336  }
   337  
   338  // ManagedDeviceMobileAppConfiguration An abstract class for Mobile app configuration for enrolled devices.
   339  type ManagedDeviceMobileAppConfiguration struct {
   340  	// Entity is the base model of ManagedDeviceMobileAppConfiguration
   341  	Entity
   342  	// TargetedMobileApps the associated app.
   343  	TargetedMobileApps []string `json:"targetedMobileApps,omitempty"`
   344  	// CreatedDateTime DateTime the object was created.
   345  	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
   346  	// Description Admin provided description of the Device Configuration.
   347  	Description *string `json:"description,omitempty"`
   348  	// LastModifiedDateTime DateTime the object was last modified.
   349  	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
   350  	// DisplayName Admin provided name of the device configuration.
   351  	DisplayName *string `json:"displayName,omitempty"`
   352  	// Version Version of the device configuration.
   353  	Version *int `json:"version,omitempty"`
   354  	// Assignments undocumented
   355  	Assignments []ManagedDeviceMobileAppConfigurationAssignment `json:"assignments,omitempty"`
   356  	// DeviceStatuses undocumented
   357  	DeviceStatuses []ManagedDeviceMobileAppConfigurationDeviceStatus `json:"deviceStatuses,omitempty"`
   358  	// UserStatuses undocumented
   359  	UserStatuses []ManagedDeviceMobileAppConfigurationUserStatus `json:"userStatuses,omitempty"`
   360  	// DeviceStatusSummary undocumented
   361  	DeviceStatusSummary *ManagedDeviceMobileAppConfigurationDeviceSummary `json:"deviceStatusSummary,omitempty"`
   362  	// UserStatusSummary undocumented
   363  	UserStatusSummary *ManagedDeviceMobileAppConfigurationUserSummary `json:"userStatusSummary,omitempty"`
   364  }
   365  
   366  // ManagedDeviceMobileAppConfigurationAssignment Contains the properties used to assign an MDM app configuration to a group.
   367  type ManagedDeviceMobileAppConfigurationAssignment struct {
   368  	// Entity is the base model of ManagedDeviceMobileAppConfigurationAssignment
   369  	Entity
   370  	// Target Assignment target that the T&C policy is assigned to.
   371  	Target *DeviceAndAppManagementAssignmentTarget `json:"target,omitempty"`
   372  }
   373  
   374  // ManagedDeviceMobileAppConfigurationDeviceStatus Contains properties, inherited properties and actions for an MDM mobile app configuration status for a device.
   375  type ManagedDeviceMobileAppConfigurationDeviceStatus struct {
   376  	// Entity is the base model of ManagedDeviceMobileAppConfigurationDeviceStatus
   377  	Entity
   378  	// DeviceDisplayName Device name of the DevicePolicyStatus.
   379  	DeviceDisplayName *string `json:"deviceDisplayName,omitempty"`
   380  	// UserName The User Name that is being reported
   381  	UserName *string `json:"userName,omitempty"`
   382  	// DeviceModel The device model that is being reported
   383  	DeviceModel *string `json:"deviceModel,omitempty"`
   384  	// ComplianceGracePeriodExpirationDateTime The DateTime when device compliance grace period expires
   385  	ComplianceGracePeriodExpirationDateTime *time.Time `json:"complianceGracePeriodExpirationDateTime,omitempty"`
   386  	// Status Compliance status of the policy report.
   387  	Status *ComplianceStatus `json:"status,omitempty"`
   388  	// LastReportedDateTime Last modified date time of the policy report.
   389  	LastReportedDateTime *time.Time `json:"lastReportedDateTime,omitempty"`
   390  	// UserPrincipalName UserPrincipalName.
   391  	UserPrincipalName *string `json:"userPrincipalName,omitempty"`
   392  }
   393  
   394  // ManagedDeviceMobileAppConfigurationDeviceSummary Contains properties, inherited properties and actions for an MDM mobile app configuration device status summary.
   395  type ManagedDeviceMobileAppConfigurationDeviceSummary struct {
   396  	// Entity is the base model of ManagedDeviceMobileAppConfigurationDeviceSummary
   397  	Entity
   398  	// PendingCount Number of pending devices
   399  	PendingCount *int `json:"pendingCount,omitempty"`
   400  	// NotApplicableCount Number of not applicable devices
   401  	NotApplicableCount *int `json:"notApplicableCount,omitempty"`
   402  	// SuccessCount Number of succeeded devices
   403  	SuccessCount *int `json:"successCount,omitempty"`
   404  	// ErrorCount Number of error devices
   405  	ErrorCount *int `json:"errorCount,omitempty"`
   406  	// FailedCount Number of failed devices
   407  	FailedCount *int `json:"failedCount,omitempty"`
   408  	// LastUpdateDateTime Last update time
   409  	LastUpdateDateTime *time.Time `json:"lastUpdateDateTime,omitempty"`
   410  	// ConfigurationVersion Version of the policy for that overview
   411  	ConfigurationVersion *int `json:"configurationVersion,omitempty"`
   412  }
   413  
   414  // ManagedDeviceMobileAppConfigurationUserStatus Contains properties, inherited properties and actions for an MDM mobile app configuration status for a user.
   415  type ManagedDeviceMobileAppConfigurationUserStatus struct {
   416  	// Entity is the base model of ManagedDeviceMobileAppConfigurationUserStatus
   417  	Entity
   418  	// UserDisplayName User name of the DevicePolicyStatus.
   419  	UserDisplayName *string `json:"userDisplayName,omitempty"`
   420  	// DevicesCount Devices count for that user.
   421  	DevicesCount *int `json:"devicesCount,omitempty"`
   422  	// Status Compliance status of the policy report.
   423  	Status *ComplianceStatus `json:"status,omitempty"`
   424  	// LastReportedDateTime Last modified date time of the policy report.
   425  	LastReportedDateTime *time.Time `json:"lastReportedDateTime,omitempty"`
   426  	// UserPrincipalName UserPrincipalName.
   427  	UserPrincipalName *string `json:"userPrincipalName,omitempty"`
   428  }
   429  
   430  // ManagedDeviceMobileAppConfigurationUserSummary Contains properties, inherited properties and actions for an MDM mobile app configuration user status summary.
   431  type ManagedDeviceMobileAppConfigurationUserSummary struct {
   432  	// Entity is the base model of ManagedDeviceMobileAppConfigurationUserSummary
   433  	Entity
   434  	// PendingCount Number of pending Users
   435  	PendingCount *int `json:"pendingCount,omitempty"`
   436  	// NotApplicableCount Number of not applicable users
   437  	NotApplicableCount *int `json:"notApplicableCount,omitempty"`
   438  	// SuccessCount Number of succeeded Users
   439  	SuccessCount *int `json:"successCount,omitempty"`
   440  	// ErrorCount Number of error Users
   441  	ErrorCount *int `json:"errorCount,omitempty"`
   442  	// FailedCount Number of failed Users
   443  	FailedCount *int `json:"failedCount,omitempty"`
   444  	// LastUpdateDateTime Last update time
   445  	LastUpdateDateTime *time.Time `json:"lastUpdateDateTime,omitempty"`
   446  	// ConfigurationVersion Version of the policy for that overview
   447  	ConfigurationVersion *int `json:"configurationVersion,omitempty"`
   448  }
   449  
   450  // ManagedDeviceOverview Summary data for managed devices
   451  type ManagedDeviceOverview struct {
   452  	// Entity is the base model of ManagedDeviceOverview
   453  	Entity
   454  	// EnrolledDeviceCount Total enrolled device count. Does not include PC devices managed via Intune PC Agent
   455  	EnrolledDeviceCount *int `json:"enrolledDeviceCount,omitempty"`
   456  	// MDMEnrolledCount The number of devices enrolled in MDM
   457  	MDMEnrolledCount *int `json:"mdmEnrolledCount,omitempty"`
   458  	// DualEnrolledDeviceCount The number of devices enrolled in both MDM and EAS
   459  	DualEnrolledDeviceCount *int `json:"dualEnrolledDeviceCount,omitempty"`
   460  	// DeviceOperatingSystemSummary Device operating system summary.
   461  	DeviceOperatingSystemSummary *DeviceOperatingSystemSummary `json:"deviceOperatingSystemSummary,omitempty"`
   462  	// DeviceExchangeAccessStateSummary Distribution of Exchange Access State in Intune
   463  	DeviceExchangeAccessStateSummary *DeviceExchangeAccessStateSummary `json:"deviceExchangeAccessStateSummary,omitempty"`
   464  }
   465  
   466  // ManagedEBook An abstract class containing the base properties for Managed eBook.
   467  type ManagedEBook struct {
   468  	// Entity is the base model of ManagedEBook
   469  	Entity
   470  	// DisplayName Name of the eBook.
   471  	DisplayName *string `json:"displayName,omitempty"`
   472  	// Description Description.
   473  	Description *string `json:"description,omitempty"`
   474  	// Publisher Publisher.
   475  	Publisher *string `json:"publisher,omitempty"`
   476  	// PublishedDateTime The date and time when the eBook was published.
   477  	PublishedDateTime *time.Time `json:"publishedDateTime,omitempty"`
   478  	// LargeCover Book cover.
   479  	LargeCover *MimeContent `json:"largeCover,omitempty"`
   480  	// CreatedDateTime The date and time when the eBook file was created.
   481  	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
   482  	// LastModifiedDateTime The date and time when the eBook was last modified.
   483  	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
   484  	// InformationURL The more information Url.
   485  	InformationURL *string `json:"informationUrl,omitempty"`
   486  	// PrivacyInformationURL The privacy statement Url.
   487  	PrivacyInformationURL *string `json:"privacyInformationUrl,omitempty"`
   488  	// Assignments undocumented
   489  	Assignments []ManagedEBookAssignment `json:"assignments,omitempty"`
   490  	// InstallSummary undocumented
   491  	InstallSummary *EBookInstallSummary `json:"installSummary,omitempty"`
   492  	// DeviceStates undocumented
   493  	DeviceStates []DeviceInstallState `json:"deviceStates,omitempty"`
   494  	// UserStateSummary undocumented
   495  	UserStateSummary []UserInstallStateSummary `json:"userStateSummary,omitempty"`
   496  }
   497  
   498  // ManagedEBookAssignment Contains properties used to assign a eBook to a group.
   499  type ManagedEBookAssignment struct {
   500  	// Entity is the base model of ManagedEBookAssignment
   501  	Entity
   502  	// Target The assignment target for eBook.
   503  	Target *DeviceAndAppManagementAssignmentTarget `json:"target,omitempty"`
   504  	// InstallIntent The install intent for eBook.
   505  	InstallIntent *InstallIntent `json:"installIntent,omitempty"`
   506  }
   507  
   508  // ManagedIOSLobApp Contains properties and inherited properties for Managed iOS Line Of Business apps.
   509  type ManagedIOSLobApp struct {
   510  	// ManagedMobileLobApp is the base model of ManagedIOSLobApp
   511  	ManagedMobileLobApp
   512  	// BundleID The Identity Name.
   513  	BundleID *string `json:"bundleId,omitempty"`
   514  	// ApplicableDeviceType The iOS architecture for which this app can run on.
   515  	ApplicableDeviceType *IOSDeviceType `json:"applicableDeviceType,omitempty"`
   516  	// MinimumSupportedOperatingSystem The value for the minimum applicable operating system.
   517  	MinimumSupportedOperatingSystem *IOSMinimumOperatingSystem `json:"minimumSupportedOperatingSystem,omitempty"`
   518  	// ExpirationDateTime The expiration time.
   519  	ExpirationDateTime *time.Time `json:"expirationDateTime,omitempty"`
   520  	// VersionNumber The version number of managed iOS Line of Business (LoB) app.
   521  	VersionNumber *string `json:"versionNumber,omitempty"`
   522  	// BuildNumber The build number of managed iOS Line of Business (LoB) app.
   523  	BuildNumber *string `json:"buildNumber,omitempty"`
   524  }
   525  
   526  // ManagedIOSStoreApp Contains properties and inherited properties for an iOS store app that you can manage with an Intune app protection policy.
   527  type ManagedIOSStoreApp struct {
   528  	// ManagedApp is the base model of ManagedIOSStoreApp
   529  	ManagedApp
   530  	// BundleID The app's Bundle ID.
   531  	BundleID *string `json:"bundleId,omitempty"`
   532  	// AppStoreURL The Apple AppStoreUrl.
   533  	AppStoreURL *string `json:"appStoreUrl,omitempty"`
   534  	// ApplicableDeviceType The iOS architecture for which this app can run on.
   535  	ApplicableDeviceType *IOSDeviceType `json:"applicableDeviceType,omitempty"`
   536  	// MinimumSupportedOperatingSystem The value for the minimum supported operating system.
   537  	MinimumSupportedOperatingSystem *IOSMinimumOperatingSystem `json:"minimumSupportedOperatingSystem,omitempty"`
   538  }
   539  
   540  // ManagedMobileApp The identifier for the deployment an app.
   541  type ManagedMobileApp struct {
   542  	// Entity is the base model of ManagedMobileApp
   543  	Entity
   544  	// MobileAppIdentifier The identifier for an app with it's operating system type.
   545  	MobileAppIdentifier *MobileAppIdentifier `json:"mobileAppIdentifier,omitempty"`
   546  	// Version Version of the entity.
   547  	Version *string `json:"version,omitempty"`
   548  }
   549  
   550  // ManagedMobileLobApp An abstract base class containing properties for all managed mobile line of business apps.
   551  type ManagedMobileLobApp struct {
   552  	// ManagedApp is the base model of ManagedMobileLobApp
   553  	ManagedApp
   554  	// CommittedContentVersion The internal committed content version.
   555  	CommittedContentVersion *string `json:"committedContentVersion,omitempty"`
   556  	// FileName The name of the main Lob application file.
   557  	FileName *string `json:"fileName,omitempty"`
   558  	// Size The total size, including all uploaded files.
   559  	Size *int `json:"size,omitempty"`
   560  	// ContentVersions undocumented
   561  	ContentVersions []MobileAppContent `json:"contentVersions,omitempty"`
   562  }