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

MicrosoftGraphInternetMessageHeader Class

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

Implements

public final class MicrosoftGraphInternetMessageHeader
implements JsonSerializable<MicrosoftGraphInternetMessageHeader>

internetMessageHeader.

Constructor Summary

Constructor Description
MicrosoftGraphInternetMessageHeader()

Creates an instance of MicrosoftGraphInternetMessageHeader class.

Method Summary

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

Get the additionalProperties property: internetMessageHeader.

static MicrosoftGraphInternetMessageHeader fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphInternetMessageHeader from the JsonReader.

String name()

Get the name property: Represents the key in a key-value pair.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String value()

Get the value property: The value in a key-value pair.

MicrosoftGraphInternetMessageHeader withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: internetMessageHeader.

MicrosoftGraphInternetMessageHeader withName(String name)

Set the name property: Represents the key in a key-value pair.

MicrosoftGraphInternetMessageHeader withValue(String value)

Set the value property: The value in a key-value pair.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphInternetMessageHeader

public MicrosoftGraphInternetMessageHeader()

Creates an instance of MicrosoftGraphInternetMessageHeader class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: internetMessageHeader.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphInternetMessageHeader fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphInternetMessageHeader from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Represents the key in a key-value pair.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: The value in a key-value pair.

Returns:

the value value.

withAdditionalProperties

public MicrosoftGraphInternetMessageHeader withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: internetMessageHeader.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphInternetMessageHeader object itself.

withName

public MicrosoftGraphInternetMessageHeader withName(String name)

Set the name property: Represents the key in a key-value pair.

Parameters:

name - the name value to set.

Returns:

the MicrosoftGraphInternetMessageHeader object itself.

withValue

public MicrosoftGraphInternetMessageHeader withValue(String value)

Set the value property: The value in a key-value pair.

Parameters:

value - the value value to set.

Returns:

the MicrosoftGraphInternetMessageHeader object itself.

Applies to