OperationExtendedInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.dataprotection.models.OperationExtendedInfo

Implements

public class OperationExtendedInfo
implements JsonSerializable<OperationExtendedInfo>

Operation Extended Info.

Constructor Summary

Modifier Constructor Description
protected OperationExtendedInfo()

Creates an instance of OperationExtendedInfo class.

Method Summary

Modifier and Type Method and Description
static OperationExtendedInfo fromJson(JsonReader jsonReader)

Reads an instance of OperationExtendedInfo from the JsonReader.

String objectType()

Get the objectType property: This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

OperationExtendedInfo

protected OperationExtendedInfo()

Creates an instance of OperationExtendedInfo class.

Method Details

fromJson

public static OperationExtendedInfo fromJson(JsonReader jsonReader)

Reads an instance of OperationExtendedInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

objectType

public String objectType()

Get the objectType property: This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.

Returns:

the objectType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to