Package com.microsoft.graph.models
Class MicrosoftStoreForBusinessApp
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.MobileApp
com.microsoft.graph.models.MicrosoftStoreForBusinessApp
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class MicrosoftStoreForBusinessApp
extends MobileApp
implements com.microsoft.kiota.serialization.Parsable
Microsoft Store for Business Apps. This class does not support Create, Delete, or Update.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newMicrosoftStoreForBusinessAppand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionstatic MicrosoftStoreForBusinessAppcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueThe deserialization information for the current modelGets the licenseType property value.Gets the packageIdentityName property value.Gets the productKey property value.Gets the totalLicenseCount property value.Gets the usedLicenseCount property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the licenseType property value.voidsetPackageIdentityName(String value) Sets the packageIdentityName property value.voidsetProductKey(String value) Sets the productKey property value.voidsetTotalLicenseCount(Integer value) Sets the totalLicenseCount property value.voidsetUsedLicenseCount(Integer value) Sets the usedLicenseCount property value.Methods inherited from class com.microsoft.graph.models.MobileApp
getAssignments, getCategories, getCreatedDateTime, getDescription, getDeveloper, getDisplayName, getInformationUrl, getIsFeatured, getLargeIcon, getLastModifiedDateTime, getNotes, getOwner, getPrivacyInformationUrl, getPublisher, getPublishingState, setAssignments, setCategories, setCreatedDateTime, setDescription, setDeveloper, setDisplayName, setInformationUrl, setIsFeatured, setLargeIcon, setLastModifiedDateTime, setNotes, setOwner, setPrivacyInformationUrl, setPublisher, setPublishingStateMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
MicrosoftStoreForBusinessApp
public MicrosoftStoreForBusinessApp()Instantiates a newMicrosoftStoreForBusinessAppand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static MicrosoftStoreForBusinessApp 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
MicrosoftStoreForBusinessApp
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classMobileApp- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getLicenseType
Gets the licenseType property value. The licenseType property- Returns:
- a
MicrosoftStoreForBusinessLicenseType
-
getPackageIdentityName
Gets the packageIdentityName property value. The app package identifier- Returns:
- a
String
-
getProductKey
Gets the productKey property value. The app product key- Returns:
- a
String
-
getTotalLicenseCount
Gets the totalLicenseCount property value. The total number of Microsoft Store for Business licenses.- Returns:
- a
Integer
-
getUsedLicenseCount
Gets the usedLicenseCount property value. The number of Microsoft Store for Business licenses in use.- Returns:
- a
Integer
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setLicenseType
Sets the licenseType property value. The licenseType property- Parameters:
value- Value to set for the licenseType property.
-
setPackageIdentityName
Sets the packageIdentityName property value. The app package identifier- Parameters:
value- Value to set for the packageIdentityName property.
-
setProductKey
Sets the productKey property value. The app product key- Parameters:
value- Value to set for the productKey property.
-
setTotalLicenseCount
Sets the totalLicenseCount property value. The total number of Microsoft Store for Business licenses.- Parameters:
value- Value to set for the totalLicenseCount property.
-
setUsedLicenseCount
Sets the usedLicenseCount property value. The number of Microsoft Store for Business licenses in use.- Parameters:
value- Value to set for the usedLicenseCount property.
-