github.com/yaegashi/msgraph.go@v0.1.4/beta/ModelDep.go (about)

     1  // Code generated by msgraph.go/gen DO NOT EDIT.
     2  
     3  package msgraph
     4  
     5  import "time"
     6  
     7  // DepEnrollmentBaseProfile The DepEnrollmentBaseProfile resource represents an Apple Device Enrollment Program (DEP) enrollment profile. This type of profile must be assigned to Apple DEP serial numbers before the corresponding devices can enroll via DEP.
     8  type DepEnrollmentBaseProfile struct {
     9  	// EnrollmentProfile is the base model of DepEnrollmentBaseProfile
    10  	EnrollmentProfile
    11  	// IsDefault Indicates if this is the default profile
    12  	IsDefault *bool `json:"isDefault,omitempty"`
    13  	// SupervisedModeEnabled Supervised mode, True to enable, false otherwise. See https://docs.microsoft.com/en-us/intune/deploy-use/enroll-devices-in-microsoft-intune for additional information.
    14  	SupervisedModeEnabled *bool `json:"supervisedModeEnabled,omitempty"`
    15  	// SupportDepartment Support department information
    16  	SupportDepartment *string `json:"supportDepartment,omitempty"`
    17  	// PassCodeDisabled Indicates if Passcode setup pane is disabled
    18  	PassCodeDisabled *bool `json:"passCodeDisabled,omitempty"`
    19  	// IsMandatory Indicates if the profile is mandatory
    20  	IsMandatory *bool `json:"isMandatory,omitempty"`
    21  	// LocationDisabled Indicates if Location service setup pane is disabled
    22  	LocationDisabled *bool `json:"locationDisabled,omitempty"`
    23  	// SupportPhoneNumber Support phone number
    24  	SupportPhoneNumber *string `json:"supportPhoneNumber,omitempty"`
    25  	// ProfileRemovalDisabled Indicates if the profile removal option is disabled
    26  	ProfileRemovalDisabled *bool `json:"profileRemovalDisabled,omitempty"`
    27  	// RestoreBlocked Indicates if Restore setup pane is blocked
    28  	RestoreBlocked *bool `json:"restoreBlocked,omitempty"`
    29  	// AppleIDDisabled Indicates if Apple id setup pane is disabled
    30  	AppleIDDisabled *bool `json:"appleIdDisabled,omitempty"`
    31  	// TermsAndConditionsDisabled Indicates if 'Terms and Conditions' setup pane is disabled
    32  	TermsAndConditionsDisabled *bool `json:"termsAndConditionsDisabled,omitempty"`
    33  	// TouchIDDisabled Indicates if touch id setup pane is disabled
    34  	TouchIDDisabled *bool `json:"touchIdDisabled,omitempty"`
    35  	// ApplePayDisabled Indicates if Apple pay setup pane is disabled
    36  	ApplePayDisabled *bool `json:"applePayDisabled,omitempty"`
    37  	// ZoomDisabled Indicates if zoom setup pane is disabled
    38  	ZoomDisabled *bool `json:"zoomDisabled,omitempty"`
    39  	// SiriDisabled Indicates if siri setup pane is disabled
    40  	SiriDisabled *bool `json:"siriDisabled,omitempty"`
    41  	// DiagnosticsDisabled Indicates if diagnostics setup pane is disabled
    42  	DiagnosticsDisabled *bool `json:"diagnosticsDisabled,omitempty"`
    43  	// DisplayToneSetupDisabled Indicates if displaytone setup screen is disabled
    44  	DisplayToneSetupDisabled *bool `json:"displayToneSetupDisabled,omitempty"`
    45  	// PrivacyPaneDisabled Indicates if privacy screen is disabled
    46  	PrivacyPaneDisabled *bool `json:"privacyPaneDisabled,omitempty"`
    47  	// ScreenTimeScreenDisabled Indicates if screen timeout setup is disabled
    48  	ScreenTimeScreenDisabled *bool `json:"screenTimeScreenDisabled,omitempty"`
    49  	// DeviceNameTemplate Sets a literal or name pattern.
    50  	DeviceNameTemplate *string `json:"deviceNameTemplate,omitempty"`
    51  	// ConfigurationWebURL URL for setup assistant login
    52  	ConfigurationWebURL *bool `json:"configurationWebUrl,omitempty"`
    53  }
    54  
    55  // DepEnrollmentProfile The depEnrollmentProfile resource represents an Apple Device Enrollment Program (DEP) enrollment profile. This type of profile must be assigned to Apple DEP serial numbers before the corresponding devices can enroll via DEP.
    56  type DepEnrollmentProfile struct {
    57  	// EnrollmentProfile is the base model of DepEnrollmentProfile
    58  	EnrollmentProfile
    59  	// IsDefault Indicates if this is the default profile
    60  	IsDefault *bool `json:"isDefault,omitempty"`
    61  	// SupervisedModeEnabled Supervised mode, True to enable, false otherwise. See https://docs.microsoft.com/en-us/intune/deploy-use/enroll-devices-in-microsoft-intune for additional information.
    62  	SupervisedModeEnabled *bool `json:"supervisedModeEnabled,omitempty"`
    63  	// SupportDepartment Support department information
    64  	SupportDepartment *string `json:"supportDepartment,omitempty"`
    65  	// PassCodeDisabled Indicates if Passcode setup pane is disabled
    66  	PassCodeDisabled *bool `json:"passCodeDisabled,omitempty"`
    67  	// IsMandatory Indicates if the profile is mandatory
    68  	IsMandatory *bool `json:"isMandatory,omitempty"`
    69  	// LocationDisabled Indicates if Location service setup pane is disabled
    70  	LocationDisabled *bool `json:"locationDisabled,omitempty"`
    71  	// SupportPhoneNumber Support phone number
    72  	SupportPhoneNumber *string `json:"supportPhoneNumber,omitempty"`
    73  	// ITunesPairingMode Indicates the iTunes pairing mode
    74  	ITunesPairingMode *ITunesPairingMode `json:"iTunesPairingMode,omitempty"`
    75  	// ProfileRemovalDisabled Indicates if the profile removal option is disabled
    76  	ProfileRemovalDisabled *bool `json:"profileRemovalDisabled,omitempty"`
    77  	// ManagementCertificates Management certificates for Apple Configurator
    78  	ManagementCertificates []ManagementCertificateWithThumbprint `json:"managementCertificates,omitempty"`
    79  	// RestoreBlocked Indicates if Restore setup pane is blocked
    80  	RestoreBlocked *bool `json:"restoreBlocked,omitempty"`
    81  	// RestoreFromAndroidDisabled Indicates if Restore from Android is disabled
    82  	RestoreFromAndroidDisabled *bool `json:"restoreFromAndroidDisabled,omitempty"`
    83  	// AppleIDDisabled Indicates if Apple id setup pane is disabled
    84  	AppleIDDisabled *bool `json:"appleIdDisabled,omitempty"`
    85  	// TermsAndConditionsDisabled Indicates if 'Terms and Conditions' setup pane is disabled
    86  	TermsAndConditionsDisabled *bool `json:"termsAndConditionsDisabled,omitempty"`
    87  	// TouchIDDisabled Indicates if touch id setup pane is disabled
    88  	TouchIDDisabled *bool `json:"touchIdDisabled,omitempty"`
    89  	// ApplePayDisabled Indicates if Apple pay setup pane is disabled
    90  	ApplePayDisabled *bool `json:"applePayDisabled,omitempty"`
    91  	// ZoomDisabled Indicates if zoom setup pane is disabled
    92  	ZoomDisabled *bool `json:"zoomDisabled,omitempty"`
    93  	// SiriDisabled Indicates if siri setup pane is disabled
    94  	SiriDisabled *bool `json:"siriDisabled,omitempty"`
    95  	// DiagnosticsDisabled Indicates if diagnostics setup pane is disabled
    96  	DiagnosticsDisabled *bool `json:"diagnosticsDisabled,omitempty"`
    97  	// MacOSRegistrationDisabled Indicates if Mac OS registration is disabled
    98  	MacOSRegistrationDisabled *bool `json:"macOSRegistrationDisabled,omitempty"`
    99  	// MacOSFileVaultDisabled Indicates if Mac OS file vault is disabled
   100  	MacOSFileVaultDisabled *bool `json:"macOSFileVaultDisabled,omitempty"`
   101  	// AwaitDeviceConfiguredConfirmation Indicates if the device will need to wait for configured confirmation
   102  	AwaitDeviceConfiguredConfirmation *bool `json:"awaitDeviceConfiguredConfirmation,omitempty"`
   103  	// SharedIPadMaximumUserCount This specifies the maximum number of users that can use a shared iPad. Only applicable in shared iPad mode.
   104  	SharedIPadMaximumUserCount *int `json:"sharedIPadMaximumUserCount,omitempty"`
   105  	// EnableSharedIPad This indicates whether the device is to be enrolled in a mode which enables multi user scenarios. Only applicable in shared iPads.
   106  	EnableSharedIPad *bool `json:"enableSharedIPad,omitempty"`
   107  }
   108  
   109  // DepIOSEnrollmentProfile The DepIOSEnrollmentProfile resource represents an Apple Device Enrollment Program (DEP) enrollment profile specific to iOS configuration. This type of profile must be assigned to Apple DEP serial numbers before the corresponding devices can enroll via DEP.
   110  type DepIOSEnrollmentProfile struct {
   111  	// DepEnrollmentBaseProfile is the base model of DepIOSEnrollmentProfile
   112  	DepEnrollmentBaseProfile
   113  	// ITunesPairingMode Indicates the iTunes pairing mode
   114  	ITunesPairingMode *ITunesPairingMode `json:"iTunesPairingMode,omitempty"`
   115  	// ManagementCertificates Management certificates for Apple Configurator
   116  	ManagementCertificates []ManagementCertificateWithThumbprint `json:"managementCertificates,omitempty"`
   117  	// RestoreFromAndroidDisabled Indicates if Restore from Android is disabled
   118  	RestoreFromAndroidDisabled *bool `json:"restoreFromAndroidDisabled,omitempty"`
   119  	// AwaitDeviceConfiguredConfirmation Indicates if the device will need to wait for configured confirmation
   120  	AwaitDeviceConfiguredConfirmation *bool `json:"awaitDeviceConfiguredConfirmation,omitempty"`
   121  	// SharedIPadMaximumUserCount This specifies the maximum number of users that can use a shared iPad. Only applicable in shared iPad mode.
   122  	SharedIPadMaximumUserCount *int `json:"sharedIPadMaximumUserCount,omitempty"`
   123  	// EnableSharedIPad This indicates whether the device is to be enrolled in a mode which enables multi user scenarios. Only applicable in shared iPads.
   124  	EnableSharedIPad *bool `json:"enableSharedIPad,omitempty"`
   125  	// CompanyPortalVPPTokenID If set, indicates which Vpp token should be used to deploy the Company Portal w/ device licensing. 'enableAuthenticationViaCompanyPortal' must be set in order for this property to be set.
   126  	CompanyPortalVPPTokenID *string `json:"companyPortalVppTokenId,omitempty"`
   127  	// EnableSingleAppEnrollmentMode Tells the device to enable single app mode and apply app-lock during enrollment. Default is false. 'enableAuthenticationViaCompanyPortal' and 'companyPortalVppTokenId' must be set for this property to be set.
   128  	EnableSingleAppEnrollmentMode *bool `json:"enableSingleAppEnrollmentMode,omitempty"`
   129  	// HomeButtonScreenDisabled Indicates if home button sensitivity screen is disabled
   130  	HomeButtonScreenDisabled *bool `json:"homeButtonScreenDisabled,omitempty"`
   131  	// IMessageAndFaceTimeScreenDisabled Indicates if iMessage and FaceTime screen is disabled
   132  	IMessageAndFaceTimeScreenDisabled *bool `json:"iMessageAndFaceTimeScreenDisabled,omitempty"`
   133  	// OnBoardingScreenDisabled Indicates if onboarding setup screen is disabled
   134  	OnBoardingScreenDisabled *bool `json:"onBoardingScreenDisabled,omitempty"`
   135  	// SimSetupScreenDisabled Indicates if the SIMSetup screen is disabled
   136  	SimSetupScreenDisabled *bool `json:"simSetupScreenDisabled,omitempty"`
   137  	// SoftwareUpdateScreenDisabled Indicates if the mandatory sofware update screen is disabled
   138  	SoftwareUpdateScreenDisabled *bool `json:"softwareUpdateScreenDisabled,omitempty"`
   139  	// WatchMigrationScreenDisabled Indicates if the watch migration screen is disabled
   140  	WatchMigrationScreenDisabled *bool `json:"watchMigrationScreenDisabled,omitempty"`
   141  	// AppearanceScreenDisabled Indicates if Apperance screen is disabled
   142  	AppearanceScreenDisabled *bool `json:"appearanceScreenDisabled,omitempty"`
   143  	// ExpressLanguageScreenDisabled Indicates if Express Language screen is disabled
   144  	ExpressLanguageScreenDisabled *bool `json:"expressLanguageScreenDisabled,omitempty"`
   145  	// PreferredLanguageScreenDisabled Indicates if Preferred language screen is disabled
   146  	PreferredLanguageScreenDisabled *bool `json:"preferredLanguageScreenDisabled,omitempty"`
   147  	// DeviceToDeviceMigrationDisabled Indicates if Device To Device Migration is disabled
   148  	DeviceToDeviceMigrationDisabled *bool `json:"deviceToDeviceMigrationDisabled,omitempty"`
   149  	// WelcomeScreenDisabled Indicates if Weclome screen is disabled
   150  	WelcomeScreenDisabled *bool `json:"welcomeScreenDisabled,omitempty"`
   151  }
   152  
   153  // DepMacOSEnrollmentProfile The DepMacOSEnrollmentProfile resource represents an Apple Device Enrollment Program (DEP) enrollment profile specific to macOS configuration. This type of profile must be assigned to Apple DEP serial numbers before the corresponding devices can enroll via DEP.
   154  type DepMacOSEnrollmentProfile struct {
   155  	// DepEnrollmentBaseProfile is the base model of DepMacOSEnrollmentProfile
   156  	DepEnrollmentBaseProfile
   157  	// RegistrationDisabled Indicates if registration is disabled
   158  	RegistrationDisabled *bool `json:"registrationDisabled,omitempty"`
   159  	// FileVaultDisabled Indicates if file vault is disabled
   160  	FileVaultDisabled *bool `json:"fileVaultDisabled,omitempty"`
   161  	// ICloudDiagnosticsDisabled Indicates if iCloud Analytics screen is disabled
   162  	ICloudDiagnosticsDisabled *bool `json:"iCloudDiagnosticsDisabled,omitempty"`
   163  	// ICloudStorageDisabled Indicates if iCloud Documents and Desktop screen is disabled
   164  	ICloudStorageDisabled *bool `json:"iCloudStorageDisabled,omitempty"`
   165  	// ChooseYourLockScreenDisabled Indicates if iCloud Documents and Desktop screen is disabled
   166  	ChooseYourLockScreenDisabled *bool `json:"chooseYourLockScreenDisabled,omitempty"`
   167  }
   168  
   169  // DepOnboardingSetting The depOnboardingSetting represents an instance of the Apple DEP service being onboarded to Intune. The onboarded service instance manages an Apple Token used to synchronize data between Apple and Intune.
   170  type DepOnboardingSetting struct {
   171  	// Entity is the base model of DepOnboardingSetting
   172  	Entity
   173  	// AppleIdentifier The Apple ID used to obtain the current token.
   174  	AppleIdentifier *string `json:"appleIdentifier,omitempty"`
   175  	// TokenExpirationDateTime When the token will expire.
   176  	TokenExpirationDateTime *time.Time `json:"tokenExpirationDateTime,omitempty"`
   177  	// LastModifiedDateTime When the service was onboarded.
   178  	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
   179  	// LastSuccessfulSyncDateTime When the service last syned with Intune
   180  	LastSuccessfulSyncDateTime *time.Time `json:"lastSuccessfulSyncDateTime,omitempty"`
   181  	// LastSyncTriggeredDateTime When Intune last requested a sync.
   182  	LastSyncTriggeredDateTime *time.Time `json:"lastSyncTriggeredDateTime,omitempty"`
   183  	// ShareTokenWithSchoolDataSyncService Whether or not the Dep token sharing is enabled with the School Data Sync service.
   184  	ShareTokenWithSchoolDataSyncService *bool `json:"shareTokenWithSchoolDataSyncService,omitempty"`
   185  	// LastSyncErrorCode Error code reported by Apple during last dep sync.
   186  	LastSyncErrorCode *int `json:"lastSyncErrorCode,omitempty"`
   187  	// TokenType Gets or sets the Dep Token Type.
   188  	TokenType *DepTokenType `json:"tokenType,omitempty"`
   189  	// TokenName Friendly Name for Dep Token
   190  	TokenName *string `json:"tokenName,omitempty"`
   191  	// SyncedDeviceCount Gets synced device count
   192  	SyncedDeviceCount *int `json:"syncedDeviceCount,omitempty"`
   193  	// DataSharingConsentGranted Consent granted for data sharing with Apple Dep Service
   194  	DataSharingConsentGranted *bool `json:"dataSharingConsentGranted,omitempty"`
   195  	// RoleScopeTagIDs List of Scope Tags for this Entity instance.
   196  	RoleScopeTagIDs []string `json:"roleScopeTagIds,omitempty"`
   197  	// DefaultIOSEnrollmentProfile undocumented
   198  	DefaultIOSEnrollmentProfile *DepIOSEnrollmentProfile `json:"defaultIosEnrollmentProfile,omitempty"`
   199  	// DefaultMacOsEnrollmentProfile undocumented
   200  	DefaultMacOsEnrollmentProfile *DepMacOSEnrollmentProfile `json:"defaultMacOsEnrollmentProfile,omitempty"`
   201  	// EnrollmentProfiles undocumented
   202  	EnrollmentProfiles []EnrollmentProfile `json:"enrollmentProfiles,omitempty"`
   203  	// ImportedAppleDeviceIdentities undocumented
   204  	ImportedAppleDeviceIdentities []ImportedAppleDeviceIdentity `json:"importedAppleDeviceIdentities,omitempty"`
   205  }