Compartilhar via


MicrosoftGraphExternalLink Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphExternalLink

Implements

public final class MicrosoftGraphExternalLink
implements JsonSerializable<MicrosoftGraphExternalLink>

externalLink.

Constructor Summary

Constructor Description
MicrosoftGraphExternalLink()

Creates an instance of MicrosoftGraphExternalLink class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: externalLink.

static MicrosoftGraphExternalLink fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphExternalLink from the JsonReader.

String href()

Get the href property: The url of the link.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphExternalLink withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: externalLink.

MicrosoftGraphExternalLink withHref(String href)

Set the href property: The url of the link.

Methods inherited from java.lang.Object

Constructor Details

public MicrosoftGraphExternalLink()

Creates an instance of MicrosoftGraphExternalLink class.

Method Details

public Map additionalProperties()

Get the additionalProperties property: externalLink.

Returns:

the additionalProperties value.

public static MicrosoftGraphExternalLink fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphExternalLink from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

public String href()

Get the href property: The url of the link.

Returns:

the href value.

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

public void validate()

Validates the instance.

public MicrosoftGraphExternalLink withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: externalLink.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphExternalLink object itself.

public MicrosoftGraphExternalLink withHref(String href)

Set the href property: The url of the link.

Parameters:

href - the href value to set.

Returns:

the MicrosoftGraphExternalLink object itself.

Applies to