github.com/yaegashi/msgraph.go@v0.1.4/beta/ModelUser.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  // User Represents an Azure Active Directory user object.
    11  type User struct {
    12  	// DirectoryObject is the base model of User
    13  	DirectoryObject
    14  	// SignInActivity undocumented
    15  	SignInActivity *SignInActivity `json:"signInActivity,omitempty"`
    16  	// AccountEnabled undocumented
    17  	AccountEnabled *bool `json:"accountEnabled,omitempty"`
    18  	// AgeGroup undocumented
    19  	AgeGroup *string `json:"ageGroup,omitempty"`
    20  	// AssignedLicenses undocumented
    21  	AssignedLicenses []AssignedLicense `json:"assignedLicenses,omitempty"`
    22  	// AssignedPlans undocumented
    23  	AssignedPlans []AssignedPlan `json:"assignedPlans,omitempty"`
    24  	// BusinessPhones undocumented
    25  	BusinessPhones []string `json:"businessPhones,omitempty"`
    26  	// City undocumented
    27  	City *string `json:"city,omitempty"`
    28  	// CompanyName undocumented
    29  	CompanyName *string `json:"companyName,omitempty"`
    30  	// ConsentProvidedForMinor undocumented
    31  	ConsentProvidedForMinor *string `json:"consentProvidedForMinor,omitempty"`
    32  	// Country undocumented
    33  	Country *string `json:"country,omitempty"`
    34  	// CreatedDateTime undocumented
    35  	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
    36  	// CreationType undocumented
    37  	CreationType *string `json:"creationType,omitempty"`
    38  	// Department undocumented
    39  	Department *string `json:"department,omitempty"`
    40  	// DeviceKeys undocumented
    41  	DeviceKeys []DeviceKey `json:"deviceKeys,omitempty"`
    42  	// DisplayName undocumented
    43  	DisplayName *string `json:"displayName,omitempty"`
    44  	// EmployeeID undocumented
    45  	EmployeeID *string `json:"employeeId,omitempty"`
    46  	// FaxNumber undocumented
    47  	FaxNumber *string `json:"faxNumber,omitempty"`
    48  	// GivenName undocumented
    49  	GivenName *string `json:"givenName,omitempty"`
    50  	// Identities undocumented
    51  	Identities []ObjectIdentity `json:"identities,omitempty"`
    52  	// ImAddresses undocumented
    53  	ImAddresses []string `json:"imAddresses,omitempty"`
    54  	// IsResourceAccount undocumented
    55  	IsResourceAccount *bool `json:"isResourceAccount,omitempty"`
    56  	// JobTitle undocumented
    57  	JobTitle *string `json:"jobTitle,omitempty"`
    58  	// LastPasswordChangeDateTime undocumented
    59  	LastPasswordChangeDateTime *time.Time `json:"lastPasswordChangeDateTime,omitempty"`
    60  	// LegalAgeGroupClassification undocumented
    61  	LegalAgeGroupClassification *string `json:"legalAgeGroupClassification,omitempty"`
    62  	// LicenseAssignmentStates undocumented
    63  	LicenseAssignmentStates []LicenseAssignmentState `json:"licenseAssignmentStates,omitempty"`
    64  	// Mail undocumented
    65  	Mail *string `json:"mail,omitempty"`
    66  	// MailNickname undocumented
    67  	MailNickname *string `json:"mailNickname,omitempty"`
    68  	// MobilePhone undocumented
    69  	MobilePhone *string `json:"mobilePhone,omitempty"`
    70  	// OnPremisesDistinguishedName undocumented
    71  	OnPremisesDistinguishedName *string `json:"onPremisesDistinguishedName,omitempty"`
    72  	// OnPremisesExtensionAttributes undocumented
    73  	OnPremisesExtensionAttributes *OnPremisesExtensionAttributes `json:"onPremisesExtensionAttributes,omitempty"`
    74  	// OnPremisesImmutableID undocumented
    75  	OnPremisesImmutableID *string `json:"onPremisesImmutableId,omitempty"`
    76  	// OnPremisesLastSyncDateTime undocumented
    77  	OnPremisesLastSyncDateTime *time.Time `json:"onPremisesLastSyncDateTime,omitempty"`
    78  	// OnPremisesProvisioningErrors undocumented
    79  	OnPremisesProvisioningErrors []OnPremisesProvisioningError `json:"onPremisesProvisioningErrors,omitempty"`
    80  	// OnPremisesSecurityIdentifier undocumented
    81  	OnPremisesSecurityIdentifier *string `json:"onPremisesSecurityIdentifier,omitempty"`
    82  	// OnPremisesSyncEnabled undocumented
    83  	OnPremisesSyncEnabled *bool `json:"onPremisesSyncEnabled,omitempty"`
    84  	// OnPremisesDomainName undocumented
    85  	OnPremisesDomainName *string `json:"onPremisesDomainName,omitempty"`
    86  	// OnPremisesSamAccountName undocumented
    87  	OnPremisesSamAccountName *string `json:"onPremisesSamAccountName,omitempty"`
    88  	// OnPremisesUserPrincipalName undocumented
    89  	OnPremisesUserPrincipalName *string `json:"onPremisesUserPrincipalName,omitempty"`
    90  	// OtherMails undocumented
    91  	OtherMails []string `json:"otherMails,omitempty"`
    92  	// PasswordPolicies undocumented
    93  	PasswordPolicies *string `json:"passwordPolicies,omitempty"`
    94  	// PasswordProfile undocumented
    95  	PasswordProfile *PasswordProfile `json:"passwordProfile,omitempty"`
    96  	// OfficeLocation undocumented
    97  	OfficeLocation *string `json:"officeLocation,omitempty"`
    98  	// PostalCode undocumented
    99  	PostalCode *string `json:"postalCode,omitempty"`
   100  	// PreferredDataLocation undocumented
   101  	PreferredDataLocation *string `json:"preferredDataLocation,omitempty"`
   102  	// PreferredLanguage undocumented
   103  	PreferredLanguage *string `json:"preferredLanguage,omitempty"`
   104  	// ProvisionedPlans undocumented
   105  	ProvisionedPlans []ProvisionedPlan `json:"provisionedPlans,omitempty"`
   106  	// ProxyAddresses undocumented
   107  	ProxyAddresses []string `json:"proxyAddresses,omitempty"`
   108  	// RefreshTokensValidFromDateTime undocumented
   109  	RefreshTokensValidFromDateTime *time.Time `json:"refreshTokensValidFromDateTime,omitempty"`
   110  	// ShowInAddressList undocumented
   111  	ShowInAddressList *bool `json:"showInAddressList,omitempty"`
   112  	// SignInSessionsValidFromDateTime undocumented
   113  	SignInSessionsValidFromDateTime *time.Time `json:"signInSessionsValidFromDateTime,omitempty"`
   114  	// State undocumented
   115  	State *string `json:"state,omitempty"`
   116  	// StreetAddress undocumented
   117  	StreetAddress *string `json:"streetAddress,omitempty"`
   118  	// Surname undocumented
   119  	Surname *string `json:"surname,omitempty"`
   120  	// UsageLocation undocumented
   121  	UsageLocation *string `json:"usageLocation,omitempty"`
   122  	// UserPrincipalName undocumented
   123  	UserPrincipalName *string `json:"userPrincipalName,omitempty"`
   124  	// ExternalUserState undocumented
   125  	ExternalUserState *string `json:"externalUserState,omitempty"`
   126  	// ExternalUserStateChangeDateTime undocumented
   127  	ExternalUserStateChangeDateTime *string `json:"externalUserStateChangeDateTime,omitempty"`
   128  	// UserType undocumented
   129  	UserType *string `json:"userType,omitempty"`
   130  	// MailboxSettings undocumented
   131  	MailboxSettings *MailboxSettings `json:"mailboxSettings,omitempty"`
   132  	// IdentityUserRisk undocumented
   133  	IdentityUserRisk *IdentityUserRisk `json:"identityUserRisk,omitempty"`
   134  	// DeviceEnrollmentLimit The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000.
   135  	DeviceEnrollmentLimit *int `json:"deviceEnrollmentLimit,omitempty"`
   136  	// AboutMe undocumented
   137  	AboutMe *string `json:"aboutMe,omitempty"`
   138  	// Birthday undocumented
   139  	Birthday *time.Time `json:"birthday,omitempty"`
   140  	// HireDate undocumented
   141  	HireDate *time.Time `json:"hireDate,omitempty"`
   142  	// Interests undocumented
   143  	Interests []string `json:"interests,omitempty"`
   144  	// MySite undocumented
   145  	MySite *string `json:"mySite,omitempty"`
   146  	// PastProjects undocumented
   147  	PastProjects []string `json:"pastProjects,omitempty"`
   148  	// PreferredName undocumented
   149  	PreferredName *string `json:"preferredName,omitempty"`
   150  	// Responsibilities undocumented
   151  	Responsibilities []string `json:"responsibilities,omitempty"`
   152  	// Schools undocumented
   153  	Schools []string `json:"schools,omitempty"`
   154  	// Skills undocumented
   155  	Skills []string `json:"skills,omitempty"`
   156  	// Analytics undocumented
   157  	Analytics *UserAnalytics `json:"analytics,omitempty"`
   158  	// InformationProtection undocumented
   159  	InformationProtection *InformationProtection `json:"informationProtection,omitempty"`
   160  	// AppRoleAssignments undocumented
   161  	AppRoleAssignments []AppRoleAssignment `json:"appRoleAssignments,omitempty"`
   162  	// CreatedObjects undocumented
   163  	CreatedObjects []DirectoryObject `json:"createdObjects,omitempty"`
   164  	// DirectReports undocumented
   165  	DirectReports []DirectoryObject `json:"directReports,omitempty"`
   166  	// LicenseDetails undocumented
   167  	LicenseDetails []LicenseDetails `json:"licenseDetails,omitempty"`
   168  	// Manager undocumented
   169  	Manager *DirectoryObject `json:"manager,omitempty"`
   170  	// MemberOf undocumented
   171  	MemberOf []DirectoryObject `json:"memberOf,omitempty"`
   172  	// OwnedDevices undocumented
   173  	OwnedDevices []DirectoryObject `json:"ownedDevices,omitempty"`
   174  	// OwnedObjects undocumented
   175  	OwnedObjects []DirectoryObject `json:"ownedObjects,omitempty"`
   176  	// RegisteredDevices undocumented
   177  	RegisteredDevices []DirectoryObject `json:"registeredDevices,omitempty"`
   178  	// ScopedRoleMemberOf undocumented
   179  	ScopedRoleMemberOf []ScopedRoleMembership `json:"scopedRoleMemberOf,omitempty"`
   180  	// TransitiveMemberOf undocumented
   181  	TransitiveMemberOf []DirectoryObject `json:"transitiveMemberOf,omitempty"`
   182  	// Outlook undocumented
   183  	Outlook *OutlookUser `json:"outlook,omitempty"`
   184  	// Messages undocumented
   185  	Messages []Message `json:"messages,omitempty"`
   186  	// JoinedGroups undocumented
   187  	JoinedGroups []Group `json:"joinedGroups,omitempty"`
   188  	// MailFolders undocumented
   189  	MailFolders []MailFolder `json:"mailFolders,omitempty"`
   190  	// Calendar undocumented
   191  	Calendar *Calendar `json:"calendar,omitempty"`
   192  	// Calendars undocumented
   193  	Calendars []Calendar `json:"calendars,omitempty"`
   194  	// CalendarGroups undocumented
   195  	CalendarGroups []CalendarGroup `json:"calendarGroups,omitempty"`
   196  	// CalendarView undocumented
   197  	CalendarView []Event `json:"calendarView,omitempty"`
   198  	// Events undocumented
   199  	Events []Event `json:"events,omitempty"`
   200  	// People undocumented
   201  	People []Person `json:"people,omitempty"`
   202  	// Contacts undocumented
   203  	Contacts []Contact `json:"contacts,omitempty"`
   204  	// ContactFolders undocumented
   205  	ContactFolders []ContactFolder `json:"contactFolders,omitempty"`
   206  	// InferenceClassification undocumented
   207  	InferenceClassification *InferenceClassification `json:"inferenceClassification,omitempty"`
   208  	// Photo undocumented
   209  	Photo *ProfilePhoto `json:"photo,omitempty"`
   210  	// Photos undocumented
   211  	Photos []ProfilePhoto `json:"photos,omitempty"`
   212  	// Drive undocumented
   213  	Drive *Drive `json:"drive,omitempty"`
   214  	// Drives undocumented
   215  	Drives []Drive `json:"drives,omitempty"`
   216  	// FollowedSites undocumented
   217  	FollowedSites []Site `json:"followedSites,omitempty"`
   218  	// Extensions undocumented
   219  	Extensions []Extension `json:"extensions,omitempty"`
   220  	// AgreementAcceptances undocumented
   221  	AgreementAcceptances []AgreementAcceptance `json:"agreementAcceptances,omitempty"`
   222  	// DeviceEnrollmentConfigurations undocumented
   223  	DeviceEnrollmentConfigurations []DeviceEnrollmentConfiguration `json:"deviceEnrollmentConfigurations,omitempty"`
   224  	// ManagedDevices undocumented
   225  	ManagedDevices []ManagedDevice `json:"managedDevices,omitempty"`
   226  	// ManagedAppRegistrations undocumented
   227  	ManagedAppRegistrations []ManagedAppRegistration `json:"managedAppRegistrations,omitempty"`
   228  	// WindowsInformationProtectionDeviceRegistrations undocumented
   229  	WindowsInformationProtectionDeviceRegistrations []WindowsInformationProtectionDeviceRegistration `json:"windowsInformationProtectionDeviceRegistrations,omitempty"`
   230  	// DeviceManagementTroubleshootingEvents undocumented
   231  	DeviceManagementTroubleshootingEvents []DeviceManagementTroubleshootingEvent `json:"deviceManagementTroubleshootingEvents,omitempty"`
   232  	// MobileAppIntentAndStates undocumented
   233  	MobileAppIntentAndStates []MobileAppIntentAndState `json:"mobileAppIntentAndStates,omitempty"`
   234  	// MobileAppTroubleshootingEvents undocumented
   235  	MobileAppTroubleshootingEvents []MobileAppTroubleshootingEvent `json:"mobileAppTroubleshootingEvents,omitempty"`
   236  	// Notifications undocumented
   237  	Notifications []Notification `json:"notifications,omitempty"`
   238  	// Planner undocumented
   239  	Planner *PlannerUser `json:"planner,omitempty"`
   240  	// Insights undocumented
   241  	Insights *OfficeGraphInsights `json:"insights,omitempty"`
   242  	// Settings undocumented
   243  	Settings *UserSettings `json:"settings,omitempty"`
   244  	// Onenote undocumented
   245  	Onenote *Onenote `json:"onenote,omitempty"`
   246  	// Profile undocumented
   247  	Profile *Profile `json:"profile,omitempty"`
   248  	// Activities undocumented
   249  	Activities []UserActivity `json:"activities,omitempty"`
   250  	// Devices undocumented
   251  	Devices []Device `json:"devices,omitempty"`
   252  	// OnlineMeetings undocumented
   253  	OnlineMeetings []OnlineMeeting `json:"onlineMeetings,omitempty"`
   254  	// Presence undocumented
   255  	Presence *Presence `json:"presence,omitempty"`
   256  	// Chats undocumented
   257  	Chats []Chat `json:"chats,omitempty"`
   258  	// JoinedTeams undocumented
   259  	JoinedTeams []Team `json:"joinedTeams,omitempty"`
   260  	// Teamwork undocumented
   261  	Teamwork *UserTeamwork `json:"teamwork,omitempty"`
   262  }
   263  
   264  // UserAccount undocumented
   265  type UserAccount struct {
   266  	// Object is the base model of UserAccount
   267  	Object
   268  	// DisplayName undocumented
   269  	DisplayName *string `json:"displayName,omitempty"`
   270  	// LastSeenDateTime undocumented
   271  	LastSeenDateTime *time.Time `json:"lastSeenDateTime,omitempty"`
   272  	// RiskScore undocumented
   273  	RiskScore *string `json:"riskScore,omitempty"`
   274  	// Service undocumented
   275  	Service *string `json:"service,omitempty"`
   276  	// SigninName undocumented
   277  	SigninName *string `json:"signinName,omitempty"`
   278  	// Status undocumented
   279  	Status *AccountStatus `json:"status,omitempty"`
   280  }
   281  
   282  // UserAccountInformation undocumented
   283  type UserAccountInformation struct {
   284  	// ItemFacet is the base model of UserAccountInformation
   285  	ItemFacet
   286  	// AgeGroup undocumented
   287  	AgeGroup *string `json:"ageGroup,omitempty"`
   288  	// CountryCode undocumented
   289  	CountryCode *string `json:"countryCode,omitempty"`
   290  	// PreferredLanguageTag undocumented
   291  	PreferredLanguageTag *LocaleInfo `json:"preferredLanguageTag,omitempty"`
   292  	// UserPrincipalName undocumented
   293  	UserPrincipalName *string `json:"userPrincipalName,omitempty"`
   294  }
   295  
   296  // UserActivationCounts undocumented
   297  type UserActivationCounts struct {
   298  	// Object is the base model of UserActivationCounts
   299  	Object
   300  	// ProductType undocumented
   301  	ProductType *string `json:"productType,omitempty"`
   302  	// LastActivatedDate undocumented
   303  	LastActivatedDate *Date `json:"lastActivatedDate,omitempty"`
   304  	// Windows undocumented
   305  	Windows *int `json:"windows,omitempty"`
   306  	// Mac undocumented
   307  	Mac *int `json:"mac,omitempty"`
   308  	// Windows10Mobile undocumented
   309  	Windows10Mobile *int `json:"windows10Mobile,omitempty"`
   310  	// IOS undocumented
   311  	IOS *int `json:"ios,omitempty"`
   312  	// Android undocumented
   313  	Android *int `json:"android,omitempty"`
   314  	// ActivatedOnSharedComputer undocumented
   315  	ActivatedOnSharedComputer *bool `json:"activatedOnSharedComputer,omitempty"`
   316  }
   317  
   318  // UserActivity undocumented
   319  type UserActivity struct {
   320  	// Entity is the base model of UserActivity
   321  	Entity
   322  	// VisualElements undocumented
   323  	VisualElements *VisualInfo `json:"visualElements,omitempty"`
   324  	// ActivitySourceHost undocumented
   325  	ActivitySourceHost *string `json:"activitySourceHost,omitempty"`
   326  	// ActivationURL undocumented
   327  	ActivationURL *string `json:"activationUrl,omitempty"`
   328  	// AppActivityID undocumented
   329  	AppActivityID *string `json:"appActivityId,omitempty"`
   330  	// AppDisplayName undocumented
   331  	AppDisplayName *string `json:"appDisplayName,omitempty"`
   332  	// ContentURL undocumented
   333  	ContentURL *string `json:"contentUrl,omitempty"`
   334  	// CreatedDateTime undocumented
   335  	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
   336  	// ExpirationDateTime undocumented
   337  	ExpirationDateTime *time.Time `json:"expirationDateTime,omitempty"`
   338  	// FallbackURL undocumented
   339  	FallbackURL *string `json:"fallbackUrl,omitempty"`
   340  	// LastModifiedDateTime undocumented
   341  	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
   342  	// UserTimezone undocumented
   343  	UserTimezone *string `json:"userTimezone,omitempty"`
   344  	// ContentInfo undocumented
   345  	ContentInfo json.RawMessage `json:"contentInfo,omitempty"`
   346  	// Status undocumented
   347  	Status *Status `json:"status,omitempty"`
   348  	// HistoryItems undocumented
   349  	HistoryItems []ActivityHistoryItem `json:"historyItems,omitempty"`
   350  }
   351  
   352  // UserAnalytics undocumented
   353  type UserAnalytics struct {
   354  	// Entity is the base model of UserAnalytics
   355  	Entity
   356  	// Settings undocumented
   357  	Settings *Settings `json:"settings,omitempty"`
   358  	// ActivityStatistics undocumented
   359  	ActivityStatistics []ActivityStatistics `json:"activityStatistics,omitempty"`
   360  }
   361  
   362  // UserAppInstallStatus Contains properties for the installation status for a user.
   363  type UserAppInstallStatus struct {
   364  	// Entity is the base model of UserAppInstallStatus
   365  	Entity
   366  	// UserName User name.
   367  	UserName *string `json:"userName,omitempty"`
   368  	// UserPrincipalName User Principal Name.
   369  	UserPrincipalName *string `json:"userPrincipalName,omitempty"`
   370  	// InstalledDeviceCount Installed Device Count.
   371  	InstalledDeviceCount *int `json:"installedDeviceCount,omitempty"`
   372  	// FailedDeviceCount Failed Device Count.
   373  	FailedDeviceCount *int `json:"failedDeviceCount,omitempty"`
   374  	// NotInstalledDeviceCount Not installed device count.
   375  	NotInstalledDeviceCount *int `json:"notInstalledDeviceCount,omitempty"`
   376  	// App undocumented
   377  	App *MobileApp `json:"app,omitempty"`
   378  	// DeviceStatuses undocumented
   379  	DeviceStatuses []MobileAppInstallStatus `json:"deviceStatuses,omitempty"`
   380  }
   381  
   382  // UserConfiguration undocumented
   383  type UserConfiguration struct {
   384  	// Entity is the base model of UserConfiguration
   385  	Entity
   386  	// BinaryData undocumented
   387  	BinaryData *Binary `json:"binaryData,omitempty"`
   388  }
   389  
   390  // UserCredentialUsageDetails undocumented
   391  type UserCredentialUsageDetails struct {
   392  	// Entity is the base model of UserCredentialUsageDetails
   393  	Entity
   394  	// Feature undocumented
   395  	Feature *FeatureType `json:"feature,omitempty"`
   396  	// UserPrincipalName undocumented
   397  	UserPrincipalName *string `json:"userPrincipalName,omitempty"`
   398  	// UserDisplayName undocumented
   399  	UserDisplayName *string `json:"userDisplayName,omitempty"`
   400  	// IsSuccess undocumented
   401  	IsSuccess *bool `json:"isSuccess,omitempty"`
   402  	// AuthMethod undocumented
   403  	AuthMethod *UsageAuthMethod `json:"authMethod,omitempty"`
   404  	// FailureReason undocumented
   405  	FailureReason *string `json:"failureReason,omitempty"`
   406  	// EventDateTime undocumented
   407  	EventDateTime *time.Time `json:"eventDateTime,omitempty"`
   408  }
   409  
   410  // UserExperienceAnalyticsBaseline The user experience analytics baseline entity contains baseline values against which to compare the user experience analytics scores.
   411  type UserExperienceAnalyticsBaseline struct {
   412  	// Entity is the base model of UserExperienceAnalyticsBaseline
   413  	Entity
   414  	// DisplayName The name of the user experience analytics baseline.
   415  	DisplayName *string `json:"displayName,omitempty"`
   416  	// IsBuiltIn Signifies if the current baseline is the commercial median baseline or a custom baseline.
   417  	IsBuiltIn *bool `json:"isBuiltIn,omitempty"`
   418  	// CreatedDateTime The date the custom baseline was created.
   419  	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
   420  	// DeviceBootPerformanceMetrics undocumented
   421  	DeviceBootPerformanceMetrics *UserExperienceAnalyticsCategory `json:"deviceBootPerformanceMetrics,omitempty"`
   422  	// BestPracticesMetrics undocumented
   423  	BestPracticesMetrics *UserExperienceAnalyticsCategory `json:"bestPracticesMetrics,omitempty"`
   424  }
   425  
   426  // UserExperienceAnalyticsCategory The user experience analytics category entity contains the scores and insights for the various metrics of a category.
   427  type UserExperienceAnalyticsCategory struct {
   428  	// Entity is the base model of UserExperienceAnalyticsCategory
   429  	Entity
   430  	// Insights The insights for the user experience analytics category.
   431  	Insights []UserExperienceAnalyticsInsight `json:"insights,omitempty"`
   432  	// MetricValues undocumented
   433  	MetricValues []UserExperienceAnalyticsMetric `json:"metricValues,omitempty"`
   434  }
   435  
   436  // UserExperienceAnalyticsDevicePerformance The user experience analytics device performance entity contains device boot performance details.
   437  type UserExperienceAnalyticsDevicePerformance struct {
   438  	// Entity is the base model of UserExperienceAnalyticsDevicePerformance
   439  	Entity
   440  	// DeviceName The user experience analytics device name.
   441  	DeviceName *string `json:"deviceName,omitempty"`
   442  	// Model The user experience analytics device model.
   443  	Model *string `json:"model,omitempty"`
   444  	// Manufacturer The user experience analytics device manufacturer.
   445  	Manufacturer *string `json:"manufacturer,omitempty"`
   446  	// DiskType The user experience analytics device disk type.
   447  	DiskType *DiskType `json:"diskType,omitempty"`
   448  	// OperatingSystemVersion The user experience analytics device Operating System version.
   449  	OperatingSystemVersion *string `json:"operatingSystemVersion,omitempty"`
   450  	// BootScore The user experience analytics device boot score.
   451  	BootScore *int `json:"bootScore,omitempty"`
   452  	// CoreBootTimeInMs The user experience analytics device core boot time in milliseconds.
   453  	CoreBootTimeInMs *int `json:"coreBootTimeInMs,omitempty"`
   454  	// GroupPolicyBootTimeInMs The user experience analytics device group policy boot time in milliseconds.
   455  	GroupPolicyBootTimeInMs *int `json:"groupPolicyBootTimeInMs,omitempty"`
   456  	// HealthStatus The health state of the user experience analytics device.
   457  	HealthStatus *UserExperienceAnalyticsHealthState `json:"healthStatus,omitempty"`
   458  	// LoginScore The user experience analytics device login score.
   459  	LoginScore *int `json:"loginScore,omitempty"`
   460  	// CoreLoginTimeInMs The user experience analytics device core login time in milliseconds.
   461  	CoreLoginTimeInMs *int `json:"coreLoginTimeInMs,omitempty"`
   462  	// GroupPolicyLoginTimeInMs The user experience analytics device group policy login time in milliseconds.
   463  	GroupPolicyLoginTimeInMs *int `json:"groupPolicyLoginTimeInMs,omitempty"`
   464  	// DeviceCount User experience analytics summarized device count.
   465  	DeviceCount *int `json:"deviceCount,omitempty"`
   466  }
   467  
   468  // UserExperienceAnalyticsDeviceStartupHistory The user experience analytics device startup history entity contains device boot performance history details.
   469  type UserExperienceAnalyticsDeviceStartupHistory struct {
   470  	// Entity is the base model of UserExperienceAnalyticsDeviceStartupHistory
   471  	Entity
   472  	// DeviceID The user experience analytics device id.
   473  	DeviceID *string `json:"deviceId,omitempty"`
   474  	// StartTime The user experience analytics device boot start time.
   475  	StartTime *time.Time `json:"startTime,omitempty"`
   476  	// CoreBootTimeInMs The user experience analytics device core boot time in milliseconds.
   477  	CoreBootTimeInMs *int `json:"coreBootTimeInMs,omitempty"`
   478  	// GroupPolicyBootTimeInMs The User experience analytics Device group policy boot time in milliseconds.
   479  	GroupPolicyBootTimeInMs *int `json:"groupPolicyBootTimeInMs,omitempty"`
   480  	// FeatureUpdateBootTimeInMs The user experience analytics device feature update time in milliseconds.
   481  	FeatureUpdateBootTimeInMs *int `json:"featureUpdateBootTimeInMs,omitempty"`
   482  	// TotalBootTimeInMs The user experience analytics device total boot time in milliseconds.
   483  	TotalBootTimeInMs *int `json:"totalBootTimeInMs,omitempty"`
   484  	// GroupPolicyLoginTimeInMs The User experience analytics Device group policy login time in milliseconds.
   485  	GroupPolicyLoginTimeInMs *int `json:"groupPolicyLoginTimeInMs,omitempty"`
   486  	// CoreLoginTimeInMs The user experience analytics device core login time in milliseconds.
   487  	CoreLoginTimeInMs *int `json:"coreLoginTimeInMs,omitempty"`
   488  	// TotalLoginTimeInMs The user experience analytics device total login time in milliseconds.
   489  	TotalLoginTimeInMs *int `json:"totalLoginTimeInMs,omitempty"`
   490  	// IsFirstLogin The user experience analytics device first login.
   491  	IsFirstLogin *bool `json:"isFirstLogin,omitempty"`
   492  }
   493  
   494  // UserExperienceAnalyticsInsight undocumented
   495  type UserExperienceAnalyticsInsight struct {
   496  	// Object is the base model of UserExperienceAnalyticsInsight
   497  	Object
   498  	// UserExperienceAnalyticsMetricID The unique identifier of the user experience analytics insight.
   499  	UserExperienceAnalyticsMetricID *string `json:"userExperienceAnalyticsMetricId,omitempty"`
   500  	// InsightID The unique identifier of the user experience analytics insight.
   501  	InsightID *string `json:"insightId,omitempty"`
   502  	// Values The value of the user experience analytics insight.
   503  	Values []UserExperienceAnalyticsInsightValue `json:"values,omitempty"`
   504  	// Severity The value of the user experience analytics insight.
   505  	Severity *UserExperienceAnalyticsInsightSeverity `json:"severity,omitempty"`
   506  }
   507  
   508  // UserExperienceAnalyticsInsightValue undocumented
   509  type UserExperienceAnalyticsInsightValue struct {
   510  	// Object is the base model of UserExperienceAnalyticsInsightValue
   511  	Object
   512  }
   513  
   514  // UserExperienceAnalyticsMetric The user experience analytics metric contains the score and units of a metric of a user experience anlaytics category.
   515  type UserExperienceAnalyticsMetric struct {
   516  	// Entity is the base model of UserExperienceAnalyticsMetric
   517  	Entity
   518  	// Value The value of the user experience analytics metric.
   519  	Value *float64 `json:"value,omitempty"`
   520  	// Unit The unit of the user experience analytics metric.
   521  	Unit *string `json:"unit,omitempty"`
   522  }
   523  
   524  // UserExperienceAnalyticsOverview The user experience analytics overview entity contains the overall score and the scores and insights of every metric of all categories.
   525  type UserExperienceAnalyticsOverview struct {
   526  	// Entity is the base model of UserExperienceAnalyticsOverview
   527  	Entity
   528  	// Insights The user experience analytics insights.
   529  	Insights []UserExperienceAnalyticsInsight `json:"insights,omitempty"`
   530  }
   531  
   532  // UserExperienceAnalyticsRegressionSummary The user experience analytics Regression Summary.
   533  type UserExperienceAnalyticsRegressionSummary struct {
   534  	// Entity is the base model of UserExperienceAnalyticsRegressionSummary
   535  	Entity
   536  	// ModelRegression undocumented
   537  	ModelRegression []UserExperienceAnalyticsMetric `json:"modelRegression,omitempty"`
   538  	// ManufacturerRegression undocumented
   539  	ManufacturerRegression []UserExperienceAnalyticsMetric `json:"manufacturerRegression,omitempty"`
   540  	// OperatingSystemRegression undocumented
   541  	OperatingSystemRegression []UserExperienceAnalyticsMetric `json:"operatingSystemRegression,omitempty"`
   542  }
   543  
   544  // UserGovernanceCriteria undocumented
   545  type UserGovernanceCriteria struct {
   546  	// GovernanceCriteria is the base model of UserGovernanceCriteria
   547  	GovernanceCriteria
   548  	// UserID undocumented
   549  	UserID *string `json:"userId,omitempty"`
   550  }
   551  
   552  // UserIdentity undocumented
   553  type UserIdentity struct {
   554  	// Object is the base model of UserIdentity
   555  	Object
   556  	// ID undocumented
   557  	ID *string `json:"id,omitempty"`
   558  	// DisplayName undocumented
   559  	DisplayName *string `json:"displayName,omitempty"`
   560  	// IPAddress undocumented
   561  	IPAddress *string `json:"ipAddress,omitempty"`
   562  	// UserPrincipalName undocumented
   563  	UserPrincipalName *string `json:"userPrincipalName,omitempty"`
   564  }
   565  
   566  // UserInstallStateSummary Contains properties for the installation state summary for a user.
   567  type UserInstallStateSummary struct {
   568  	// Entity is the base model of UserInstallStateSummary
   569  	Entity
   570  	// UserName User name.
   571  	UserName *string `json:"userName,omitempty"`
   572  	// InstalledDeviceCount Installed Device Count.
   573  	InstalledDeviceCount *int `json:"installedDeviceCount,omitempty"`
   574  	// FailedDeviceCount Failed Device Count.
   575  	FailedDeviceCount *int `json:"failedDeviceCount,omitempty"`
   576  	// NotInstalledDeviceCount Not installed device count.
   577  	NotInstalledDeviceCount *int `json:"notInstalledDeviceCount,omitempty"`
   578  	// DeviceStates undocumented
   579  	DeviceStates []DeviceInstallState `json:"deviceStates,omitempty"`
   580  }
   581  
   582  // UserPFXCertificate Entity that encapsulates all information required for a user's PFX certificates.
   583  type UserPFXCertificate struct {
   584  	// Entity is the base model of UserPFXCertificate
   585  	Entity
   586  	// Thumbprint SHA-1 thumbprint of the PFX certificate.
   587  	Thumbprint *string `json:"thumbprint,omitempty"`
   588  	// IntendedPurpose Certificate's intended purpose from the point-of-view of deployment.
   589  	IntendedPurpose *UserPfxIntendedPurpose `json:"intendedPurpose,omitempty"`
   590  	// UserPrincipalName User Principal Name of the PFX certificate.
   591  	UserPrincipalName *string `json:"userPrincipalName,omitempty"`
   592  	// StartDateTime Certificate's validity start date/time.
   593  	StartDateTime *time.Time `json:"startDateTime,omitempty"`
   594  	// ExpirationDateTime Certificate's validity expiration date/time.
   595  	ExpirationDateTime *time.Time `json:"expirationDateTime,omitempty"`
   596  	// ProviderName Crypto provider used to encrypt this blob.
   597  	ProviderName *string `json:"providerName,omitempty"`
   598  	// KeyName Name of the key (within the provider) used to encrypt the blob.
   599  	KeyName *string `json:"keyName,omitempty"`
   600  	// PaddingScheme Padding scheme used by the provider during encryption/decryption.
   601  	PaddingScheme *UserPfxPaddingScheme `json:"paddingScheme,omitempty"`
   602  	// EncryptedPfxBlob Encrypted PFX blob.
   603  	EncryptedPfxBlob *Binary `json:"encryptedPfxBlob,omitempty"`
   604  	// EncryptedPfxPassword Encrypted PFX password.
   605  	EncryptedPfxPassword *string `json:"encryptedPfxPassword,omitempty"`
   606  	// CreatedDateTime Date/time when this PFX certificate was imported.
   607  	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
   608  	// LastModifiedDateTime Date/time when this PFX certificate was last modified.
   609  	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
   610  }
   611  
   612  // UserRegistrationCount undocumented
   613  type UserRegistrationCount struct {
   614  	// Object is the base model of UserRegistrationCount
   615  	Object
   616  	// RegistrationStatus undocumented
   617  	RegistrationStatus *RegistrationStatusType `json:"registrationStatus,omitempty"`
   618  	// RegistrationCount undocumented
   619  	RegistrationCount *int `json:"registrationCount,omitempty"`
   620  }
   621  
   622  // UserSecurityProfile undocumented
   623  type UserSecurityProfile struct {
   624  	// Entity is the base model of UserSecurityProfile
   625  	Entity
   626  	// Accounts undocumented
   627  	Accounts []UserAccount `json:"accounts,omitempty"`
   628  	// AzureSubscriptionID undocumented
   629  	AzureSubscriptionID *string `json:"azureSubscriptionId,omitempty"`
   630  	// AzureTenantID undocumented
   631  	AzureTenantID *string `json:"azureTenantId,omitempty"`
   632  	// CreatedDateTime undocumented
   633  	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
   634  	// DisplayName undocumented
   635  	DisplayName *string `json:"displayName,omitempty"`
   636  	// LastModifiedDateTime undocumented
   637  	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
   638  	// RiskScore undocumented
   639  	RiskScore *string `json:"riskScore,omitempty"`
   640  	// Tags undocumented
   641  	Tags []string `json:"tags,omitempty"`
   642  	// UserPrincipalName undocumented
   643  	UserPrincipalName *string `json:"userPrincipalName,omitempty"`
   644  	// VendorInformation undocumented
   645  	VendorInformation *SecurityVendorInformation `json:"vendorInformation,omitempty"`
   646  }
   647  
   648  // UserSecurityState undocumented
   649  type UserSecurityState struct {
   650  	// Object is the base model of UserSecurityState
   651  	Object
   652  	// AadUserID undocumented
   653  	AadUserID *string `json:"aadUserId,omitempty"`
   654  	// AccountName undocumented
   655  	AccountName *string `json:"accountName,omitempty"`
   656  	// DomainName undocumented
   657  	DomainName *string `json:"domainName,omitempty"`
   658  	// EmailRole undocumented
   659  	EmailRole *EmailRole `json:"emailRole,omitempty"`
   660  	// IsVPN undocumented
   661  	IsVPN *bool `json:"isVpn,omitempty"`
   662  	// LogonDateTime undocumented
   663  	LogonDateTime *time.Time `json:"logonDateTime,omitempty"`
   664  	// LogonID undocumented
   665  	LogonID *string `json:"logonId,omitempty"`
   666  	// LogonIP undocumented
   667  	LogonIP *string `json:"logonIp,omitempty"`
   668  	// LogonLocation undocumented
   669  	LogonLocation *string `json:"logonLocation,omitempty"`
   670  	// LogonType undocumented
   671  	LogonType *LogonType `json:"logonType,omitempty"`
   672  	// OnPremisesSecurityIdentifier undocumented
   673  	OnPremisesSecurityIdentifier *string `json:"onPremisesSecurityIdentifier,omitempty"`
   674  	// RiskScore undocumented
   675  	RiskScore *string `json:"riskScore,omitempty"`
   676  	// UserAccountType undocumented
   677  	UserAccountType *UserAccountSecurityType `json:"userAccountType,omitempty"`
   678  	// UserPrincipalName undocumented
   679  	UserPrincipalName *string `json:"userPrincipalName,omitempty"`
   680  }
   681  
   682  // UserSettings undocumented
   683  type UserSettings struct {
   684  	// Entity is the base model of UserSettings
   685  	Entity
   686  	// ContributionToContentDiscoveryDisabled undocumented
   687  	ContributionToContentDiscoveryDisabled *bool `json:"contributionToContentDiscoveryDisabled,omitempty"`
   688  	// ContributionToContentDiscoveryAsOrganizationDisabled undocumented
   689  	ContributionToContentDiscoveryAsOrganizationDisabled *bool `json:"contributionToContentDiscoveryAsOrganizationDisabled,omitempty"`
   690  }
   691  
   692  // UserTeamwork undocumented
   693  type UserTeamwork struct {
   694  	// Entity is the base model of UserTeamwork
   695  	Entity
   696  	// InstalledApps undocumented
   697  	InstalledApps []TeamsAppInstallation `json:"installedApps,omitempty"`
   698  }