FeatureValidationRequest Class

public final class FeatureValidationRequest
extends FeatureValidationRequestBase

Base class for feature object.

Constructor Summary

Constructor Description
FeatureValidationRequest()

Creates an instance of FeatureValidationRequest class.

Method Summary

Modifier and Type Method and Description
String featureName()

Get the featureName property: backup support feature name.

FeatureType featureType()

Get the featureType property: backup support feature type.

static FeatureValidationRequest fromJson(JsonReader jsonReader)

Reads an instance of FeatureValidationRequest from the JsonReader.

String objectType()

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

JsonWriter toJson(JsonWriter jsonWriter)
FeatureValidationRequest withFeatureName(String featureName)

Set the featureName property: backup support feature name.

FeatureValidationRequest withFeatureType(FeatureType featureType)

Set the featureType property: backup support feature type.

Methods inherited from FeatureValidationRequestBase

Methods inherited from java.lang.Object

Constructor Details

FeatureValidationRequest

public FeatureValidationRequest()

Creates an instance of FeatureValidationRequest class.

Method Details

featureName

public String featureName()

Get the featureName property: backup support feature name.

Returns:

the featureName value.

featureType

public FeatureType featureType()

Get the featureType property: backup support feature type.

Returns:

the featureType value.

fromJson

public static FeatureValidationRequest fromJson(JsonReader jsonReader)

Reads an instance of FeatureValidationRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

objectType

public String objectType()

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

Overrides:

FeatureValidationRequest.objectType()

Returns:

the objectType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

FeatureValidationRequest.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withFeatureName

public FeatureValidationRequest withFeatureName(String featureName)

Set the featureName property: backup support feature name.

Parameters:

featureName - the featureName value to set.

Returns:

the FeatureValidationRequest object itself.

withFeatureType

public FeatureValidationRequest withFeatureType(FeatureType featureType)

Set the featureType property: backup support feature type.

Parameters:

featureType - the featureType value to set.

Returns:

the FeatureValidationRequest object itself.

Applies to