DesktopInner Class

public final class DesktopInner
extends ProxyResource

Schema for Desktop properties.

Constructor Summary

Constructor Description
DesktopInner()

Creates an instance of DesktopInner class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: Description of Desktop.

String friendlyName()

Get the friendlyName property: Friendly name of Desktop.

static DesktopInner fromJson(JsonReader jsonReader)

Reads an instance of DesktopInner from the JsonReader.

byte[] iconContent()

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

String iconHash()

Get the iconHash property: Hash of the icon.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

String objectId()

Get the objectId property: ObjectId of Desktop.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

DesktopInner withDescription(String description)

Set the description property: Description of Desktop.

DesktopInner withFriendlyName(String friendlyName)

Set the friendlyName property: Friendly name of Desktop.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

DesktopInner

public DesktopInner()

Creates an instance of DesktopInner class.

Method Details

description

public String description()

Get the description property: Description of Desktop.

Returns:

the description value.

friendlyName

public String friendlyName()

Get the friendlyName property: Friendly name of Desktop.

Returns:

the friendlyName value.

fromJson

public static DesktopInner fromJson(JsonReader jsonReader)

Reads an instance of DesktopInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

iconContent

public byte[] iconContent()

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

Returns:

the iconContent value.

iconHash

public String iconHash()

Get the iconHash property: Hash of the icon.

Returns:

the iconHash value.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

DesktopInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DesktopInner.name()

Returns:

the name value.

objectId

public String objectId()

Get the objectId property: ObjectId of Desktop. (internal use).

Returns:

the objectId value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DesktopInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DesktopInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDescription

public DesktopInner withDescription(String description)

Set the description property: Description of Desktop.

Parameters:

description - the description value to set.

Returns:

the DesktopInner object itself.

withFriendlyName

public DesktopInner withFriendlyName(String friendlyName)

Set the friendlyName property: Friendly name of Desktop.

Parameters:

friendlyName - the friendlyName value to set.

Returns:

the DesktopInner object itself.

Applies to