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

     1  // Code generated by msgraph.go/gen DO NOT EDIT.
     2  
     3  package msgraph
     4  
     5  import "time"
     6  
     7  // VPPLicensingType undocumented
     8  type VPPLicensingType struct {
     9  	// Object is the base model of VPPLicensingType
    10  	Object
    11  	// SupportUserLicensing Whether the program supports the user licensing type.
    12  	SupportUserLicensing *bool `json:"supportUserLicensing,omitempty"`
    13  	// SupportDeviceLicensing Whether the program supports the device licensing type.
    14  	SupportDeviceLicensing *bool `json:"supportDeviceLicensing,omitempty"`
    15  	// SupportsUserLicensing Whether the program supports the user licensing type.
    16  	SupportsUserLicensing *bool `json:"supportsUserLicensing,omitempty"`
    17  	// SupportsDeviceLicensing Whether the program supports the device licensing type.
    18  	SupportsDeviceLicensing *bool `json:"supportsDeviceLicensing,omitempty"`
    19  }
    20  
    21  // 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.
    22  type VPPToken struct {
    23  	// Entity is the base model of VPPToken
    24  	Entity
    25  	// OrganizationName The organization associated with the Apple Volume Purchase Program Token
    26  	OrganizationName *string `json:"organizationName,omitempty"`
    27  	// VPPTokenAccountType The type of volume purchase program which the given Apple Volume Purchase Program Token is associated with. Possible values are: `business`, `education`.
    28  	VPPTokenAccountType *VPPTokenAccountType `json:"vppTokenAccountType,omitempty"`
    29  	// AppleID The apple Id associated with the given Apple Volume Purchase Program Token.
    30  	AppleID *string `json:"appleId,omitempty"`
    31  	// ExpirationDateTime The expiration date time of the Apple Volume Purchase Program Token.
    32  	ExpirationDateTime *time.Time `json:"expirationDateTime,omitempty"`
    33  	// 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.
    34  	LastSyncDateTime *time.Time `json:"lastSyncDateTime,omitempty"`
    35  	// Token The Apple Volume Purchase Program Token string downloaded from the Apple Volume Purchase Program.
    36  	Token *string `json:"token,omitempty"`
    37  	// LastModifiedDateTime Last modification date time associated with the Apple Volume Purchase Program Token.
    38  	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
    39  	// State Current state of the Apple Volume Purchase Program Token. Possible values are: `unknown`, `valid`, `expired`, `invalid`, `assignedToExternalMDM`.
    40  	State *VPPTokenState `json:"state,omitempty"`
    41  	// TokenActionResults The collection of statuses of the actions performed on the Apple Volume Purchase Program Token.
    42  	TokenActionResults []VPPTokenActionResult `json:"tokenActionResults,omitempty"`
    43  	// 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`.
    44  	LastSyncStatus *VPPTokenSyncStatus `json:"lastSyncStatus,omitempty"`
    45  	// AutomaticallyUpdateApps Whether or not apps for the VPP token will be automatically updated.
    46  	AutomaticallyUpdateApps *bool `json:"automaticallyUpdateApps,omitempty"`
    47  	// CountryOrRegion Whether or not apps for the VPP token will be automatically updated.
    48  	CountryOrRegion *string `json:"countryOrRegion,omitempty"`
    49  	// DataSharingConsentGranted Consent granted for data sharing with the Apple Volume Purchase Program.
    50  	DataSharingConsentGranted *bool `json:"dataSharingConsentGranted,omitempty"`
    51  	// DisplayName An admin specified token friendly name.
    52  	DisplayName *string `json:"displayName,omitempty"`
    53  	// LocationName Token location returned from Apple VPP.
    54  	LocationName *string `json:"locationName,omitempty"`
    55  	// ClaimTokenManagementFromExternalMDM Admin consent to allow claiming token management from external MDM.
    56  	ClaimTokenManagementFromExternalMDM *bool `json:"claimTokenManagementFromExternalMdm,omitempty"`
    57  	// RoleScopeTagIDs Role Scope Tags IDs assigned to this entity.
    58  	RoleScopeTagIDs []string `json:"roleScopeTagIds,omitempty"`
    59  }
    60  
    61  // VPPTokenActionResult undocumented
    62  type VPPTokenActionResult struct {
    63  	// Object is the base model of VPPTokenActionResult
    64  	Object
    65  	// ActionName Action name
    66  	ActionName *string `json:"actionName,omitempty"`
    67  	// ActionState State of the action
    68  	ActionState *ActionState `json:"actionState,omitempty"`
    69  	// StartDateTime Time the action was initiated
    70  	StartDateTime *time.Time `json:"startDateTime,omitempty"`
    71  	// LastUpdatedDateTime Time the action state was last updated
    72  	LastUpdatedDateTime *time.Time `json:"lastUpdatedDateTime,omitempty"`
    73  }
    74  
    75  // VPPTokenLicenseSummary undocumented
    76  type VPPTokenLicenseSummary struct {
    77  	// Object is the base model of VPPTokenLicenseSummary
    78  	Object
    79  	// VPPTokenID Identifier of the VPP token.
    80  	VPPTokenID *string `json:"vppTokenId,omitempty"`
    81  	// AppleID The Apple Id associated with the given Apple Volume Purchase Program Token.
    82  	AppleID *string `json:"appleId,omitempty"`
    83  	// OrganizationName The organization associated with the Apple Volume Purchase Program Token.
    84  	OrganizationName *string `json:"organizationName,omitempty"`
    85  	// AvailableLicenseCount The number of VPP licenses available.
    86  	AvailableLicenseCount *int `json:"availableLicenseCount,omitempty"`
    87  	// UsedLicenseCount The number of VPP licenses in use.
    88  	UsedLicenseCount *int `json:"usedLicenseCount,omitempty"`
    89  }
    90  
    91  // VPPTokenRevokeLicensesActionResult undocumented
    92  type VPPTokenRevokeLicensesActionResult struct {
    93  	// VPPTokenActionResult is the base model of VPPTokenRevokeLicensesActionResult
    94  	VPPTokenActionResult
    95  	// TotalLicensesCount A count of the number of licenses that were attempted to revoke.
    96  	TotalLicensesCount *int `json:"totalLicensesCount,omitempty"`
    97  	// FailedLicensesCount A count of the number of licenses that failed to revoke.
    98  	FailedLicensesCount *int `json:"failedLicensesCount,omitempty"`
    99  	// ActionFailureReason The reason for the revoke licenses action failure.
   100  	ActionFailureReason *VPPTokenActionFailureReason `json:"actionFailureReason,omitempty"`
   101  }