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

MicrosoftGraphImage Class

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

Implements

public final class MicrosoftGraphImage
implements JsonSerializable<MicrosoftGraphImage>

image.

Constructor Summary

Constructor Description
MicrosoftGraphImage()

Creates an instance of MicrosoftGraphImage class.

Method Summary

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

Get the additionalProperties property: image.

static MicrosoftGraphImage fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphImage from the JsonReader.

Integer height()

Get the height property: Optional.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Integer width()

Get the width property: Optional.

MicrosoftGraphImage withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: image.

MicrosoftGraphImage withHeight(Integer height)

Set the height property: Optional.

MicrosoftGraphImage withWidth(Integer width)

Set the width property: Optional.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphImage

public MicrosoftGraphImage()

Creates an instance of MicrosoftGraphImage class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: image.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphImage fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphImage from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

height

public Integer height()

Get the height property: Optional. Height of the image, in pixels. Read-only.

Returns:

the height value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

width

public Integer width()

Get the width property: Optional. Width of the image, in pixels. Read-only.

Returns:

the width value.

withAdditionalProperties

public MicrosoftGraphImage withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: image.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphImage object itself.

withHeight

public MicrosoftGraphImage withHeight(Integer height)

Set the height property: Optional. Height of the image, in pixels. Read-only.

Parameters:

height - the height value to set.

Returns:

the MicrosoftGraphImage object itself.

withWidth

public MicrosoftGraphImage withWidth(Integer width)

Set the width property: Optional. Width of the image, in pixels. Read-only.

Parameters:

width - the width value to set.

Returns:

the MicrosoftGraphImage object itself.

Applies to