Package com.microsoft.graph.models
Class VppToken
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.VppToken
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class VppToken
extends Entity
implements com.microsoft.kiota.serialization.Parsable
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.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VppToken
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the appleId property value.Gets the automaticallyUpdateApps property value.Gets the countryOrRegion property value.Gets the expirationDateTime property value.The deserialization information for the current modelGets the lastModifiedDateTime property value.Gets the lastSyncDateTime property value.Gets the lastSyncStatus property value.Gets the organizationName property value.getState()
Gets the state property value.getToken()
Gets the token property value.Gets the vppTokenAccountType property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAppleId
(String value) Sets the appleId property value.void
Sets the automaticallyUpdateApps property value.void
setCountryOrRegion
(String value) Sets the countryOrRegion property value.void
Sets the expirationDateTime property value.void
Sets the lastModifiedDateTime property value.void
Sets the lastSyncDateTime property value.void
Sets the lastSyncStatus property value.void
setOrganizationName
(String value) Sets the organizationName property value.void
setState
(VppTokenState value) Sets the state property value.void
Sets the token property value.void
Sets the vppTokenAccountType property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
VppToken
public VppToken()Instantiates a newVppToken
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static VppToken createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
VppToken
-
getAppleId
Gets the appleId property value. The apple Id associated with the given Apple Volume Purchase Program Token.- Returns:
- a
String
-
getAutomaticallyUpdateApps
Gets the automaticallyUpdateApps property value. Whether or not apps for the VPP token will be automatically updated.- Returns:
- a
Boolean
-
getCountryOrRegion
Gets the countryOrRegion property value. Whether or not apps for the VPP token will be automatically updated.- Returns:
- a
String
-
getExpirationDateTime
Gets the expirationDateTime property value. The expiration date time of the Apple Volume Purchase Program Token.- Returns:
- a
OffsetDateTime
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getLastModifiedDateTime
Gets the lastModifiedDateTime property value. Last modification date time associated with the Apple Volume Purchase Program Token.- Returns:
- a
OffsetDateTime
-
getLastSyncDateTime
Gets the lastSyncDateTime property value. The last time when an application sync was done with the Apple volume purchase program service using the the Apple Volume Purchase Program Token.- Returns:
- a
OffsetDateTime
-
getLastSyncStatus
Gets the lastSyncStatus property value. Possible sync statuses associated with an Apple Volume Purchase Program token.- Returns:
- a
VppTokenSyncStatus
-
getOrganizationName
Gets the organizationName property value. The organization associated with the Apple Volume Purchase Program Token- Returns:
- a
String
-
getState
Gets the state property value. Possible states associated with an Apple Volume Purchase Program token.- Returns:
- a
VppTokenState
-
getToken
Gets the token property value. The Apple Volume Purchase Program Token string downloaded from the Apple Volume Purchase Program.- Returns:
- a
String
-
getVppTokenAccountType
Gets the vppTokenAccountType property value. Possible types of an Apple Volume Purchase Program token.- Returns:
- a
VppTokenAccountType
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAppleId
Sets the appleId property value. The apple Id associated with the given Apple Volume Purchase Program Token.- Parameters:
value
- Value to set for the appleId property.
-
setAutomaticallyUpdateApps
Sets the automaticallyUpdateApps property value. Whether or not apps for the VPP token will be automatically updated.- Parameters:
value
- Value to set for the automaticallyUpdateApps property.
-
setCountryOrRegion
Sets the countryOrRegion property value. Whether or not apps for the VPP token will be automatically updated.- Parameters:
value
- Value to set for the countryOrRegion property.
-
setExpirationDateTime
Sets the expirationDateTime property value. The expiration date time of the Apple Volume Purchase Program Token.- Parameters:
value
- Value to set for the expirationDateTime property.
-
setLastModifiedDateTime
Sets the lastModifiedDateTime property value. Last modification date time associated with the Apple Volume Purchase Program Token.- Parameters:
value
- Value to set for the lastModifiedDateTime property.
-
setLastSyncDateTime
Sets the lastSyncDateTime property value. The last time when an application sync was done with the Apple volume purchase program service using the the Apple Volume Purchase Program Token.- Parameters:
value
- Value to set for the lastSyncDateTime property.
-
setLastSyncStatus
Sets the lastSyncStatus property value. Possible sync statuses associated with an Apple Volume Purchase Program token.- Parameters:
value
- Value to set for the lastSyncStatus property.
-
setOrganizationName
Sets the organizationName property value. The organization associated with the Apple Volume Purchase Program Token- Parameters:
value
- Value to set for the organizationName property.
-
setState
Sets the state property value. Possible states associated with an Apple Volume Purchase Program token.- Parameters:
value
- Value to set for the state property.
-
setToken
Sets the token property value. The Apple Volume Purchase Program Token string downloaded from the Apple Volume Purchase Program.- Parameters:
value
- Value to set for the token property.
-
setVppTokenAccountType
Sets the vppTokenAccountType property value. Possible types of an Apple Volume Purchase Program token.- Parameters:
value
- Value to set for the vppTokenAccountType property.
-