Package com.microsoft.graph.models
Class ThumbnailSet
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ThumbnailSet
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class ThumbnailSet
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ThumbnailSet
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueThe deserialization information for the current modelgetLarge()
Gets the large property value.Gets the medium property value.getSmall()
Gets the small property value.Gets the source property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the large property value.void
Sets the medium property value.void
Sets the small property value.void
Sets the source property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ThumbnailSet
public ThumbnailSet()Instantiates a newThumbnailSet
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static ThumbnailSet createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
ThumbnailSet
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getLarge
Gets the large property value. A 1920x1920 scaled thumbnail.- Returns:
- a
Thumbnail
-
getMedium
Gets the medium property value. A 176x176 scaled thumbnail.- Returns:
- a
Thumbnail
-
getSmall
Gets the small property value. A 48x48 cropped thumbnail.- Returns:
- a
Thumbnail
-
getSource
Gets the source property value. A custom thumbnail image or the original image used to generate other thumbnails.- Returns:
- a
Thumbnail
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setLarge
Sets the large property value. A 1920x1920 scaled thumbnail.- Parameters:
value
- Value to set for the large property.
-
setMedium
Sets the medium property value. A 176x176 scaled thumbnail.- Parameters:
value
- Value to set for the medium property.
-
setSmall
Sets the small property value. A 48x48 cropped thumbnail.- Parameters:
value
- Value to set for the small property.
-
setSource
Sets the source property value. A custom thumbnail image or the original image used to generate other thumbnails.- Parameters:
value
- Value to set for the source property.
-