BaseResourceProperties Class

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

Implements

public class BaseResourceProperties
implements JsonSerializable<BaseResourceProperties>

Properties which are specific to datasource/datasourceSets.

Constructor Summary

Constructor Description
BaseResourceProperties()

Creates an instance of BaseResourceProperties class.

Method Summary

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

Reads an instance of BaseResourceProperties from the JsonReader.

ResourcePropertiesObjectType objectType()

Get the objectType property: Type of the specific object - used for deserializing.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

BaseResourceProperties

public BaseResourceProperties()

Creates an instance of BaseResourceProperties class.

Method Details

fromJson

public static BaseResourceProperties fromJson(JsonReader jsonReader)

Reads an instance of BaseResourceProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

objectType

public ResourcePropertiesObjectType objectType()

Get the objectType property: Type of the specific object - used for deserializing.

Returns:

the objectType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to