Partager via


AliasPathMetadata Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.models.AliasPathMetadata

Implements

public final class AliasPathMetadata
implements JsonSerializable<AliasPathMetadata>

The AliasPathMetadata model.

Constructor Summary

Constructor Description
AliasPathMetadata()

Creates an instance of AliasPathMetadata class.

Method Summary

Modifier and Type Method and Description
AliasPathAttributes attributes()

Get the attributes property: The attributes of the token that the alias path is referring to.

static AliasPathMetadata fromJson(JsonReader jsonReader)

Reads an instance of AliasPathMetadata from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
AliasPathTokenType type()

Get the type property: The type of the token that the alias path is referring to.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

AliasPathMetadata

public AliasPathMetadata()

Creates an instance of AliasPathMetadata class.

Method Details

attributes

public AliasPathAttributes attributes()

Get the attributes property: The attributes of the token that the alias path is referring to.

Returns:

the attributes value.

fromJson

public static AliasPathMetadata fromJson(JsonReader jsonReader)

Reads an instance of AliasPathMetadata from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public AliasPathTokenType type()

Get the type property: The type of the token that the alias path is referring to.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to