Package odata.msgraph.client.beta.entity
Class WindowsUpdateCatalogItem
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.WindowsUpdateCatalogItem
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
WindowsFeatureUpdateCatalogItem,WindowsQualityUpdateCatalogItem
public class WindowsUpdateCatalogItem extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Windows update catalog item entity”
-
-
Field Summary
Fields Modifier and Type Field Description protected StringdisplayNameprotected OffsetDateTimeendOfSupportDateprotected OffsetDateTimereleaseDateTime-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsUpdateCatalogItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getDisplayName()“The display name for the catalog item.”Optional<OffsetDateTime>getEndOfSupportDate()“The last supported date for a catalog item”Optional<OffsetDateTime>getReleaseDateTime()“The date the catalog item was released”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()WindowsUpdateCatalogItempatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsUpdateCatalogItemput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsUpdateCatalogItemwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.WindowsUpdateCatalogItemwithEndOfSupportDate(OffsetDateTime endOfSupportDate)Returns an immutable copy ofthiswith just theendOfSupportDatefield changed.WindowsUpdateCatalogItemwithReleaseDateTime(OffsetDateTime releaseDateTime)Returns an immutable copy ofthiswith just thereleaseDateTimefield changed.WindowsUpdateCatalogItemwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
displayName
protected String displayName
-
endOfSupportDate
protected OffsetDateTime endOfSupportDate
-
releaseDateTime
protected OffsetDateTime releaseDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
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
-
getDisplayName
public Optional<String> getDisplayName()
“The display name for the catalog item.”- Returns:
- property displayName
-
withDisplayName
public WindowsUpdateCatalogItem withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The display name for the catalog item.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getEndOfSupportDate
public Optional<OffsetDateTime> getEndOfSupportDate()
“The last supported date for a catalog item”- Returns:
- property endOfSupportDate
-
withEndOfSupportDate
public WindowsUpdateCatalogItem withEndOfSupportDate(OffsetDateTime endOfSupportDate)
Returns an immutable copy ofthiswith just theendOfSupportDatefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The last supported date for a catalog item”
- Parameters:
endOfSupportDate- new value ofendOfSupportDatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theendOfSupportDatefield changed
-
getReleaseDateTime
public Optional<OffsetDateTime> getReleaseDateTime()
“The date the catalog item was released”- Returns:
- property releaseDateTime
-
withReleaseDateTime
public WindowsUpdateCatalogItem withReleaseDateTime(OffsetDateTime releaseDateTime)
Returns an immutable copy ofthiswith just thereleaseDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The date the catalog item was released”
- Parameters:
releaseDateTime- new value ofreleaseDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thereleaseDateTimefield changed
-
withUnmappedField
public WindowsUpdateCatalogItem 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 WindowsUpdateCatalogItem patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public WindowsUpdateCatalogItem put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-