// Code generated by msgraph-generate.go DO NOT EDIT. package msgraph import "time" // VppToken You purchase multiple licenses for iOS apps through the Apple Volume Purchase Program for Business or Education. This involves setting up an Apple VPP account from the Apple website and uploading the Apple VPP Business or Education token to Intune. You can then synchronize your volume purchase information with Intune and track your volume-purchased app use. You can upload multiple Apple VPP Business or Education tokens. type VppToken struct { // Entity is the base model of VppToken Entity // OrganizationName The organization associated with the Apple Volume Purchase Program Token OrganizationName *string `json:"organizationName,omitempty"` // VppTokenAccountType The type of volume purchase program which the given Apple Volume Purchase Program Token is associated with. Possible values are: `business`, `education`. VppTokenAccountType *VppTokenAccountType `json:"vppTokenAccountType,omitempty"` // AppleID The apple Id associated with the given Apple Volume Purchase Program Token. AppleID *string `json:"appleId,omitempty"` // ExpirationDateTime The expiration date time of the Apple Volume Purchase Program Token. ExpirationDateTime *time.Time `json:"expirationDateTime,omitempty"` // LastSyncDateTime The last time when an application sync was done with the Apple volume purchase program service using the the Apple Volume Purchase Program Token. LastSyncDateTime *time.Time `json:"lastSyncDateTime,omitempty"` // Token The Apple Volume Purchase Program Token string downloaded from the Apple Volume Purchase Program. Token *string `json:"token,omitempty"` // LastModifiedDateTime Last modification date time associated with the Apple Volume Purchase Program Token. LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"` // State Current state of the Apple Volume Purchase Program Token. Possible values are: `unknown`, `valid`, `expired`, `invalid`, `assignedToExternalMDM`. State *VppTokenState `json:"state,omitempty"` // TokenActionResults The collection of statuses of the actions performed on the Apple Volume Purchase Program Token. TokenActionResults []VppTokenActionResult `json:"tokenActionResults,omitempty"` // LastSyncStatus Current sync status of the last application sync which was triggered using the Apple Volume Purchase Program Token. Possible values are: `none`, `inProgress`, `completed`, `failed`. LastSyncStatus *VppTokenSyncStatus `json:"lastSyncStatus,omitempty"` // AutomaticallyUpdateApps Whether or not apps for the VPP token will be automatically updated. AutomaticallyUpdateApps *bool `json:"automaticallyUpdateApps,omitempty"` // CountryOrRegion Whether or not apps for the VPP token will be automatically updated. CountryOrRegion *string `json:"countryOrRegion,omitempty"` // DataSharingConsentGranted Consent granted for data sharing with the Apple Volume Purchase Program. DataSharingConsentGranted *bool `json:"dataSharingConsentGranted,omitempty"` // DisplayName An admin specified token friendly name. DisplayName *string `json:"displayName,omitempty"` // LocationName Token location returned from Apple VPP. LocationName *string `json:"locationName,omitempty"` // ClaimTokenManagementFromExternalMdm Admin consent to allow claiming token management from external MDM. ClaimTokenManagementFromExternalMdm *bool `json:"claimTokenManagementFromExternalMdm,omitempty"` // RoleScopeTagIDs Role Scope Tags IDs assigned to this entity. RoleScopeTagIDs []string `json:"roleScopeTagIds,omitempty"` }