CommandOutputInner Class

  • java.lang.Object
    • com.azure.resourcemanager.cosmos.fluent.models.CommandOutputInner

Implements

public final class CommandOutputInner
implements JsonSerializable<CommandOutputInner>

Response of /command api.

Method Summary

Modifier and Type Method and Description
String commandOutput()

Get the commandOutput property: Output of the command.

static CommandOutputInner fromJson(JsonReader jsonReader)

Reads an instance of CommandOutputInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

commandOutput

public String commandOutput()

Get the commandOutput property: Output of the command.

Returns:

the commandOutput value.

fromJson

public static CommandOutputInner fromJson(JsonReader jsonReader)

Reads an instance of CommandOutputInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to