MsixPackageApplications Class

  • java.lang.Object
    • com.azure.resourcemanager.desktopvirtualization.models.MsixPackageApplications

Implements

public final class MsixPackageApplications
implements JsonSerializable<MsixPackageApplications>

Schema for MSIX Package Application properties.

Constructor Summary

Constructor Description
MsixPackageApplications()

Creates an instance of MsixPackageApplications class.

Method Summary

Modifier and Type Method and Description
String appId()

Get the appId property: Package Application Id, found in appxmanifest.xml.

String appUserModelId()

Get the appUserModelId property: Used to activate Package Application.

String description()

Get the description property: Description of Package Application.

String friendlyName()

Get the friendlyName property: User friendly name.

static MsixPackageApplications fromJson(JsonReader jsonReader)

Reads an instance of MsixPackageApplications from the JsonReader.

String iconImageName()

Get the iconImageName property: User friendly name.

byte[] rawIcon()

Get the rawIcon property: the icon a 64 bit string as a byte array.

byte[] rawPng()

Get the rawPng property: the icon a 64 bit string as a byte array.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MsixPackageApplications withAppId(String appId)

Set the appId property: Package Application Id, found in appxmanifest.xml.

MsixPackageApplications withAppUserModelId(String appUserModelId)

Set the appUserModelId property: Used to activate Package Application.

MsixPackageApplications withDescription(String description)

Set the description property: Description of Package Application.

MsixPackageApplications withFriendlyName(String friendlyName)

Set the friendlyName property: User friendly name.

MsixPackageApplications withIconImageName(String iconImageName)

Set the iconImageName property: User friendly name.

MsixPackageApplications withRawIcon(byte[] rawIcon)

Set the rawIcon property: the icon a 64 bit string as a byte array.

MsixPackageApplications withRawPng(byte[] rawPng)

Set the rawPng property: the icon a 64 bit string as a byte array.

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:

the appId value.

appUserModelId

public String appUserModelId()

Get the appUserModelId property: Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.

Returns:

the appUserModelId value.

description

public String description()

Get the description property: Description of Package Application.

Returns:

the description value.

friendlyName

public String friendlyName()

Get the friendlyName property: User friendly name.

Returns:

the friendlyName value.

fromJson

public static MsixPackageApplications fromJson(JsonReader jsonReader)

Reads an instance of MsixPackageApplications from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MsixPackageApplications if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MsixPackageApplications.

iconImageName

public String iconImageName()

Get the iconImageName property: User friendly name.

Returns:

the iconImageName value.

rawIcon

public byte[] rawIcon()

Get the rawIcon property: the icon a 64 bit string as a byte array.

Returns:

the rawIcon value.

rawPng

public byte[] rawPng()

Get the rawPng property: the icon a 64 bit string as a byte array.

Returns:

the rawPng value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

appId - the appId value to set.

Returns:

the MsixPackageApplications object itself.

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:

appUserModelId - the appUserModelId value to set.

Returns:

the MsixPackageApplications object itself.

withDescription

public MsixPackageApplications withDescription(String description)

Set the description property: Description of Package Application.

Parameters:

description - the description value to set.

Returns:

the MsixPackageApplications object itself.

withFriendlyName

public MsixPackageApplications withFriendlyName(String friendlyName)

Set the friendlyName property: User friendly name.

Parameters:

friendlyName - the friendlyName value to set.

Returns:

the MsixPackageApplications object itself.

withIconImageName

public MsixPackageApplications withIconImageName(String iconImageName)

Set the iconImageName property: User friendly name.

Parameters:

iconImageName - the iconImageName value to set.

Returns:

the MsixPackageApplications object itself.

withRawIcon

public MsixPackageApplications withRawIcon(byte[] rawIcon)

Set the rawIcon property: the icon a 64 bit string as a byte array.

Parameters:

rawIcon - the rawIcon value to set.

Returns:

the MsixPackageApplications object itself.

withRawPng

public MsixPackageApplications withRawPng(byte[] rawPng)

Set the rawPng property: the icon a 64 bit string as a byte array.

Parameters:

rawPng - the rawPng value to set.

Returns:

the MsixPackageApplications object itself.

Applies to