你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphWebsite Class

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

Implements

public final class MicrosoftGraphWebsite
implements JsonSerializable<MicrosoftGraphWebsite>

website.

Constructor Summary

Constructor Description
MicrosoftGraphWebsite()

Creates an instance of MicrosoftGraphWebsite class.

Method Summary

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

Get the additionalProperties property: website.

String address()

Get the address property: The URL of the website.

String displayName()

Get the displayName property: The display name of the web site.

static MicrosoftGraphWebsite fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWebsite from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
MicrosoftGraphWebsiteType type()

Get the type property: websiteType.

void validate()

Validates the instance.

MicrosoftGraphWebsite withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: website.

MicrosoftGraphWebsite withAddress(String address)

Set the address property: The URL of the website.

MicrosoftGraphWebsite withDisplayName(String displayName)

Set the displayName property: The display name of the web site.

MicrosoftGraphWebsite withType(MicrosoftGraphWebsiteType type)

Set the type property: websiteType.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphWebsite

public MicrosoftGraphWebsite()

Creates an instance of MicrosoftGraphWebsite class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: website.

Returns:

the additionalProperties value.

address

public String address()

Get the address property: The URL of the website.

Returns:

the address value.

displayName

public String displayName()

Get the displayName property: The display name of the web site.

Returns:

the displayName value.

fromJson

public static MicrosoftGraphWebsite fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWebsite from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public MicrosoftGraphWebsiteType type()

Get the type property: websiteType.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphWebsite withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: website.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphWebsite object itself.

withAddress

public MicrosoftGraphWebsite withAddress(String address)

Set the address property: The URL of the website.

Parameters:

address - the address value to set.

Returns:

the MicrosoftGraphWebsite object itself.

withDisplayName

public MicrosoftGraphWebsite withDisplayName(String displayName)

Set the displayName property: The display name of the web site.

Parameters:

displayName - the displayName value to set.

Returns:

the MicrosoftGraphWebsite object itself.

withType

public MicrosoftGraphWebsite withType(MicrosoftGraphWebsiteType type)

Set the type property: websiteType.

Parameters:

type - the type value to set.

Returns:

the MicrosoftGraphWebsite object itself.

Applies to