Compartilhar via


SubscriptionFeatureRegistrationInner Class

public final class SubscriptionFeatureRegistrationInner
extends ProxyResource

Subscription feature registration details.

Constructor Summary

Constructor Description
SubscriptionFeatureRegistrationInner()

Creates an instance of SubscriptionFeatureRegistrationInner class.

Method Summary

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

Reads an instance of SubscriptionFeatureRegistrationInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

SubscriptionFeatureRegistrationProperties properties()

Get the properties property: The properties property.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

SubscriptionFeatureRegistrationInner withProperties(SubscriptionFeatureRegistrationProperties properties)

Set the properties property: The properties property.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

SubscriptionFeatureRegistrationInner

public SubscriptionFeatureRegistrationInner()

Creates an instance of SubscriptionFeatureRegistrationInner class.

Method Details

fromJson

public static SubscriptionFeatureRegistrationInner fromJson(JsonReader jsonReader)

Reads an instance of SubscriptionFeatureRegistrationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SubscriptionFeatureRegistrationInner 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: Fully qualified resource Id for the resource.

Overrides:

SubscriptionFeatureRegistrationInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SubscriptionFeatureRegistrationInner.name()

Returns:

the name value.

properties

public SubscriptionFeatureRegistrationProperties properties()

Get the properties property: The properties property.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SubscriptionFeatureRegistrationInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SubscriptionFeatureRegistrationInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withProperties

public SubscriptionFeatureRegistrationInner withProperties(SubscriptionFeatureRegistrationProperties properties)

Set the properties property: The properties property.

Parameters:

properties - the properties value to set.

Returns:

the SubscriptionFeatureRegistrationInner object itself.

Applies to