Package com.microsoft.graph.models
Class CloudPcGalleryImage
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.CloudPcGalleryImage
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class CloudPcGalleryImage
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 CloudPcGalleryImage
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the displayName property value.Gets the endDate property value.Gets the expirationDate property value.The deserialization information for the current modelGets the offerName property value.Gets the publisherName property value.Gets the sizeInGB property value.Gets the skuName property value.Gets the startDate property value.Gets the status property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setDisplayName
(String value) Sets the displayName property value.void
setEndDate
(LocalDate value) Sets the endDate property value.void
setExpirationDate
(LocalDate value) Sets the expirationDate property value.void
setOfferName
(String value) Sets the offerName property value.void
setPublisherName
(String value) Sets the publisherName property value.void
setSizeInGB
(Integer value) Sets the sizeInGB property value.void
setSkuName
(String value) Sets the skuName property value.void
setStartDate
(LocalDate value) Sets the startDate property value.void
Sets the status property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
CloudPcGalleryImage
public CloudPcGalleryImage()Instantiates a newCloudPcGalleryImage
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static CloudPcGalleryImage 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
CloudPcGalleryImage
-
getDisplayName
Gets the displayName property value. The display name of this gallery image. For example, Windows 11 Enterprise + Microsoft 365 Apps 22H2. Read-only.- Returns:
- a
String
-
getEndDate
Gets the endDate property value. The date when the status of the image becomes supportedWithWarning. Users can still provision new Cloud PCs if the current time is later than endDate and earlier than expirationDate. For example, assume the endDate of a gallery image is 2023-9-14 and expirationDate is 2024-3-14, users are able to provision new Cloud PCs if today is 2023-10-01. Read-only.- Returns:
- a
LocalDate
-
getExpirationDate
Gets the expirationDate property value. The date when the image is no longer available. Users are unable to provision new Cloud PCs if the current time is later than expirationDate. The value is usually endDate plus six months. For example, if the startDate is 2025-10-14, the expirationDate is usually 2026-04-14. Read-only.- Returns:
- a
LocalDate
-
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>>
-
getOfferName
Gets the offerName property value. The offer name of this gallery image that is passed to Azure Resource Manager (ARM) to retrieve the image resource. Read-only.- Returns:
- a
String
-
getPublisherName
Gets the publisherName property value. The publisher name of this gallery image that is passed to Azure Resource Manager (ARM) to retrieve the image resource. Read-only.- Returns:
- a
String
-
getSizeInGB
Gets the sizeInGB property value. Indicates the size of this image in gigabytes. For example, 64. Read-only.- Returns:
- a
Integer
-
getSkuName
Gets the skuName property value. The SKU name of this image that is passed to Azure Resource Manager (ARM) to retrieve the image resource. Read-only.- Returns:
- a
String
-
getStartDate
Gets the startDate property value. The date when the Cloud PC image is available for provisioning new Cloud PCs. For example, 2022-09-20. Read-only.- Returns:
- a
LocalDate
-
getStatus
Gets the status property value. The status of the gallery image on the Cloud PC. Possible values are: supported, supportedWithWarning, notSupported, unknownFutureValue. The default value is supported. Read-only.- Returns:
- a
CloudPcGalleryImageStatus
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setDisplayName
Sets the displayName property value. The display name of this gallery image. For example, Windows 11 Enterprise + Microsoft 365 Apps 22H2. Read-only.- Parameters:
value
- Value to set for the displayName property.
-
setEndDate
Sets the endDate property value. The date when the status of the image becomes supportedWithWarning. Users can still provision new Cloud PCs if the current time is later than endDate and earlier than expirationDate. For example, assume the endDate of a gallery image is 2023-9-14 and expirationDate is 2024-3-14, users are able to provision new Cloud PCs if today is 2023-10-01. Read-only.- Parameters:
value
- Value to set for the endDate property.
-
setExpirationDate
Sets the expirationDate property value. The date when the image is no longer available. Users are unable to provision new Cloud PCs if the current time is later than expirationDate. The value is usually endDate plus six months. For example, if the startDate is 2025-10-14, the expirationDate is usually 2026-04-14. Read-only.- Parameters:
value
- Value to set for the expirationDate property.
-
setOfferName
Sets the offerName property value. The offer name of this gallery image that is passed to Azure Resource Manager (ARM) to retrieve the image resource. Read-only.- Parameters:
value
- Value to set for the offerName property.
-
setPublisherName
Sets the publisherName property value. The publisher name of this gallery image that is passed to Azure Resource Manager (ARM) to retrieve the image resource. Read-only.- Parameters:
value
- Value to set for the publisherName property.
-
setSizeInGB
Sets the sizeInGB property value. Indicates the size of this image in gigabytes. For example, 64. Read-only.- Parameters:
value
- Value to set for the sizeInGB property.
-
setSkuName
Sets the skuName property value. The SKU name of this image that is passed to Azure Resource Manager (ARM) to retrieve the image resource. Read-only.- Parameters:
value
- Value to set for the skuName property.
-
setStartDate
Sets the startDate property value. The date when the Cloud PC image is available for provisioning new Cloud PCs. For example, 2022-09-20. Read-only.- Parameters:
value
- Value to set for the startDate property.
-
setStatus
Sets the status property value. The status of the gallery image on the Cloud PC. Possible values are: supported, supportedWithWarning, notSupported, unknownFutureValue. The default value is supported. Read-only.- Parameters:
value
- Value to set for the status property.
-