MsixPackageApplications Class
- java.
lang. Object - com.
azure. resourcemanager. desktopvirtualization. models. MsixPackageApplications
- com.
Implements
public final class MsixPackageApplications
implements JsonSerializable<MsixPackageApplications>
Schema for MSIX Package Application properties.
Constructor Summary
| Constructor | Description |
|---|---|
| MsixPackageApplications() |
Creates an instance of Msix |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
appId()
Get the app |
| String |
appUserModelId()
Get the app |
| String |
description()
Get the description property: Description of Package Application. |
| String |
friendlyName()
Get the friendly |
|
static
Msix |
fromJson(JsonReader jsonReader)
Reads an instance of Msix |
| String |
iconImageName()
Get the icon |
| byte[] |
rawIcon()
Get the raw |
| byte[] |
rawPng()
Get the raw |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Msix |
withAppId(String appId)
Set the app |
|
Msix |
withAppUserModelId(String appUserModelId)
Set the app |
|
Msix |
withDescription(String description)
Set the description property: Description of Package Application. |
|
Msix |
withFriendlyName(String friendlyName)
Set the friendly |
|
Msix |
withIconImageName(String iconImageName)
Set the icon |
|
Msix |
withRawIcon(byte[] rawIcon)
Set the raw |
|
Msix |
withRawPng(byte[] rawPng)
Set the raw |
Methods inherited from java.lang.Object
Constructor Details
MsixPackageApplications
public MsixPackageApplications()
Creates an instance of MsixPackageApplications class.
Method Details
appId
public String appId()
Get the appId property: Package Application Id, found in appxmanifest.xml.
Returns:
appUserModelId
public String appUserModelId()
Get the appUserModelId property: Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.
Returns:
description
public String description()
Get the description property: Description of Package Application.
Returns:
friendlyName
public String friendlyName()
Get the friendlyName property: User friendly name.
Returns:
fromJson
public static MsixPackageApplications fromJson(JsonReader jsonReader)
Reads an instance of MsixPackageApplications from the JsonReader.
Parameters:
Returns:
Throws:
iconImageName
public String iconImageName()
Get the iconImageName property: User friendly name.
Returns:
rawIcon
public byte[] rawIcon()
Get the rawIcon property: the icon a 64 bit string as a byte array.
Returns:
rawPng
public byte[] rawPng()
Get the rawPng property: the icon a 64 bit string as a byte array.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAppId
public MsixPackageApplications withAppId(String appId)
Set the appId property: Package Application Id, found in appxmanifest.xml.
Parameters:
Returns:
withAppUserModelId
public MsixPackageApplications withAppUserModelId(String appUserModelId)
Set the appUserModelId property: Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.
Parameters:
Returns:
withDescription
public MsixPackageApplications withDescription(String description)
Set the description property: Description of Package Application.
Parameters:
Returns:
withFriendlyName
public MsixPackageApplications withFriendlyName(String friendlyName)
Set the friendlyName property: User friendly name.
Parameters:
Returns:
withIconImageName
public MsixPackageApplications withIconImageName(String iconImageName)
Set the iconImageName property: User friendly name.
Parameters:
Returns:
withRawIcon
public MsixPackageApplications withRawIcon(byte[] rawIcon)
Set the rawIcon property: the icon a 64 bit string as a byte array.
Parameters:
Returns:
withRawPng
public MsixPackageApplications withRawPng(byte[] rawPng)
Set the rawPng property: the icon a 64 bit string as a byte array.
Parameters:
Returns: