Package odata.msgraph.client.beta.entity
Class CloudPcGalleryImage
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.CloudPcGalleryImage
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class CloudPcGalleryImage extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCloudPcGalleryImage.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringdisplayNameprotected LocalDateendDateprotected LocalDateexpirationDateprotected Stringofferprotected StringofferDisplayNameprotected Stringpublisherprotected StringrecommendedSkuprotected IntegersizeInGBprotected Stringskuprotected StringskuDisplayNameprotected LocalDatestartDateprotected CloudPcGalleryImageStatusstatus-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCloudPcGalleryImage()
-
Method Summary
-
-
-
Field Detail
-
displayName
protected String displayName
-
endDate
protected LocalDate endDate
-
expirationDate
protected LocalDate expirationDate
-
offer
protected String offer
-
offerDisplayName
protected String offerDisplayName
-
publisher
protected String publisher
-
recommendedSku
protected String recommendedSku
-
sizeInGB
protected Integer sizeInGB
-
sku
protected String sku
-
skuDisplayName
protected String skuDisplayName
-
startDate
protected LocalDate startDate
-
status
protected CloudPcGalleryImageStatus status
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderCloudPcGalleryImage
public static CloudPcGalleryImage.Builder builderCloudPcGalleryImage()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
withDisplayName
public CloudPcGalleryImage withDisplayName(String displayName)
-
withEndDate
public CloudPcGalleryImage withEndDate(LocalDate endDate)
-
withExpirationDate
public CloudPcGalleryImage withExpirationDate(LocalDate expirationDate)
-
withOffer
public CloudPcGalleryImage withOffer(String offer)
-
withOfferDisplayName
public CloudPcGalleryImage withOfferDisplayName(String offerDisplayName)
-
withPublisher
public CloudPcGalleryImage withPublisher(String publisher)
-
withRecommendedSku
public CloudPcGalleryImage withRecommendedSku(String recommendedSku)
-
withSizeInGB
public CloudPcGalleryImage withSizeInGB(Integer sizeInGB)
-
withSku
public CloudPcGalleryImage withSku(String sku)
-
withSkuDisplayName
public CloudPcGalleryImage withSkuDisplayName(String skuDisplayName)
-
withStartDate
public CloudPcGalleryImage withStartDate(LocalDate startDate)
-
getStatus
public Optional<CloudPcGalleryImageStatus> getStatus()
-
withStatus
public CloudPcGalleryImage withStatus(CloudPcGalleryImageStatus status)
-
withUnmappedField
public CloudPcGalleryImage withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public CloudPcGalleryImage patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public CloudPcGalleryImage put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-