RunCommandDocumentBaseInner Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.fluent.models.RunCommandDocumentBaseInner

Implements

public class RunCommandDocumentBaseInner
implements JsonSerializable<RunCommandDocumentBaseInner>

Describes the properties of a Run Command metadata.

Constructor Summary

Modifier Constructor Description
protected RunCommandDocumentBaseInner()

Creates an instance of RunCommandDocumentBaseInner class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The VM run command description.

static RunCommandDocumentBaseInner fromJson(JsonReader jsonReader)

Reads an instance of RunCommandDocumentBaseInner from the JsonReader.

String id()

Get the id property: The VM run command id.

String label()

Get the label property: The VM run command label.

OperatingSystemTypes osType()

Get the osType property: The Operating System type.

String schema()

Get the schema property: The VM run command schema.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

RunCommandDocumentBaseInner

protected RunCommandDocumentBaseInner()

Creates an instance of RunCommandDocumentBaseInner class.

Method Details

description

public String description()

Get the description property: The VM run command description.

Returns:

the description value.

fromJson

public static RunCommandDocumentBaseInner fromJson(JsonReader jsonReader)

Reads an instance of RunCommandDocumentBaseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RunCommandDocumentBaseInner 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.

id

public String id()

Get the id property: The VM run command id.

Returns:

the id value.

label

public String label()

Get the label property: The VM run command label.

Returns:

the label value.

osType

public OperatingSystemTypes osType()

Get the osType property: The Operating System type.

Returns:

the osType value.

schema

public String schema()

Get the schema property: The VM run command schema.

Returns:

the schema value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to