Partilhar via


MicrosoftGraphThumbnailSet Class

public final class MicrosoftGraphThumbnailSet
extends MicrosoftGraphEntity

thumbnailSet.

Constructor Summary

Constructor Description
MicrosoftGraphThumbnailSet()

Creates an instance of MicrosoftGraphThumbnailSet class.

Method Summary

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

Get the additionalProperties property: thumbnailSet.

static MicrosoftGraphThumbnailSet fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphThumbnailSet from the JsonReader.

MicrosoftGraphThumbnail large()

Get the large property: thumbnail.

MicrosoftGraphThumbnail medium()

Get the medium property: thumbnail.

MicrosoftGraphThumbnail small()

Get the small property: thumbnail.

MicrosoftGraphThumbnail source()

Get the source property: thumbnail.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphThumbnailSet withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: thumbnailSet.

MicrosoftGraphThumbnailSet withId(String id)

Set the id property: Read-only.

MicrosoftGraphThumbnailSet withLarge(MicrosoftGraphThumbnail large)

Set the large property: thumbnail.

MicrosoftGraphThumbnailSet withMedium(MicrosoftGraphThumbnail medium)

Set the medium property: thumbnail.

MicrosoftGraphThumbnailSet withSmall(MicrosoftGraphThumbnail small)

Set the small property: thumbnail.

MicrosoftGraphThumbnailSet withSource(MicrosoftGraphThumbnail source)

Set the source property: thumbnail.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphThumbnailSet

public MicrosoftGraphThumbnailSet()

Creates an instance of MicrosoftGraphThumbnailSet class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: thumbnailSet.

Overrides:

MicrosoftGraphThumbnailSet.additionalProperties()

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphThumbnailSet fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphThumbnailSet from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

large

public MicrosoftGraphThumbnail large()

Get the large property: thumbnail.

Returns:

the large value.

medium

public MicrosoftGraphThumbnail medium()

Get the medium property: thumbnail.

Returns:

the medium value.

small

public MicrosoftGraphThumbnail small()

Get the small property: thumbnail.

Returns:

the small value.

source

public MicrosoftGraphThumbnail source()

Get the source property: thumbnail.

Returns:

the source value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphThumbnailSet.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphThumbnailSet.validate()

withAdditionalProperties

public MicrosoftGraphThumbnailSet withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: thumbnailSet.

Overrides:

MicrosoftGraphThumbnailSet.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphThumbnailSet object itself.

withId

public MicrosoftGraphThumbnailSet withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphThumbnailSet.withId(String id)

Parameters:

id

withLarge

public MicrosoftGraphThumbnailSet withLarge(MicrosoftGraphThumbnail large)

Set the large property: thumbnail.

Parameters:

large - the large value to set.

Returns:

the MicrosoftGraphThumbnailSet object itself.

withMedium

public MicrosoftGraphThumbnailSet withMedium(MicrosoftGraphThumbnail medium)

Set the medium property: thumbnail.

Parameters:

medium - the medium value to set.

Returns:

the MicrosoftGraphThumbnailSet object itself.

withSmall

public MicrosoftGraphThumbnailSet withSmall(MicrosoftGraphThumbnail small)

Set the small property: thumbnail.

Parameters:

small - the small value to set.

Returns:

the MicrosoftGraphThumbnailSet object itself.

withSource

public MicrosoftGraphThumbnailSet withSource(MicrosoftGraphThumbnail source)

Set the source property: thumbnail.

Parameters:

source - the source value to set.

Returns:

the MicrosoftGraphThumbnailSet object itself.

Applies to