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.
  • Constructor Details

    • VppToken

      public VppToken()
      Instantiates a new VppToken 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

      @Nullable public String getAppleId()
      Gets the appleId property value. The apple Id associated with the given Apple Volume Purchase Program Token.
      Returns:
      a String
    • getAutomaticallyUpdateApps

      @Nullable public Boolean getAutomaticallyUpdateApps()
      Gets the automaticallyUpdateApps property value. Whether or not apps for the VPP token will be automatically updated.
      Returns:
      a Boolean
    • getCountryOrRegion

      @Nullable public String getCountryOrRegion()
      Gets the countryOrRegion property value. Whether or not apps for the VPP token will be automatically updated.
      Returns:
      a String
    • getExpirationDateTime

      @Nullable public OffsetDateTime 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getLastModifiedDateTime

      @Nullable public OffsetDateTime getLastModifiedDateTime()
      Gets the lastModifiedDateTime property value. Last modification date time associated with the Apple Volume Purchase Program Token.
      Returns:
      a OffsetDateTime
    • getLastSyncDateTime

      @Nullable public 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

      @Nullable public VppTokenSyncStatus getLastSyncStatus()
      Gets the lastSyncStatus property value. Possible sync statuses associated with an Apple Volume Purchase Program token.
      Returns:
      a VppTokenSyncStatus
    • getOrganizationName

      @Nullable public String getOrganizationName()
      Gets the organizationName property value. The organization associated with the Apple Volume Purchase Program Token
      Returns:
      a String
    • getState

      @Nullable public VppTokenState getState()
      Gets the state property value. Possible states associated with an Apple Volume Purchase Program token.
      Returns:
      a VppTokenState
    • getToken

      @Nullable public String getToken()
      Gets the token property value. The Apple Volume Purchase Program Token string downloaded from the Apple Volume Purchase Program.
      Returns:
      a String
    • getVppTokenAccountType

      @Nullable public VppTokenAccountType 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAppleId

      public void setAppleId(@Nullable String value)
      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

      public void setAutomaticallyUpdateApps(@Nullable Boolean value)
      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

      public void setCountryOrRegion(@Nullable String value)
      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

      public void setExpirationDateTime(@Nullable OffsetDateTime value)
      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

      public void setLastModifiedDateTime(@Nullable OffsetDateTime value)
      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

      public void setLastSyncDateTime(@Nullable OffsetDateTime value)
      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

      public void setLastSyncStatus(@Nullable VppTokenSyncStatus value)
      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

      public void setOrganizationName(@Nullable String value)
      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

      public void setState(@Nullable VppTokenState value)
      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

      public void setToken(@Nullable String value)
      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

      public void setVppTokenAccountType(@Nullable VppTokenAccountType value)
      Sets the vppTokenAccountType property value. Possible types of an Apple Volume Purchase Program token.
      Parameters:
      value - Value to set for the vppTokenAccountType property.