Package odata.msgraph.client.beta.entity
Class WindowsFeatureUpdateProfile
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.WindowsFeatureUpdateProfile
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class WindowsFeatureUpdateProfile extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Windows Feature Update Profile”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsFeatureUpdateProfile.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecreatedDateTimeprotected StringdeployableContentDisplayNameprotected Stringdescriptionprotected StringdisplayNameprotected OffsetDateTimeendOfSupportDateprotected StringfeatureUpdateVersionprotected OffsetDateTimelastModifiedDateTimeprotected List<String>roleScopeTagIdsprotected StringroleScopeTagIdsNextLinkprotected WindowsUpdateRolloutSettingsrolloutSettings-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsFeatureUpdateProfile()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.ActionRequestNoReturnassign(List<WindowsFeatureUpdateProfileAssignment> assignments)static WindowsFeatureUpdateProfile.BuilderbuilderWindowsFeatureUpdateProfile()Returns a builder which is used to create a new instance of this class (given that this class is immutable).WindowsFeatureUpdateProfileAssignmentCollectionRequestgetAssignments()“The list of group assignments of the profile.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getCreatedDateTime()“The date time that the profile was created.”Optional<String>getDeployableContentDisplayName()“Friendly display name of the quality update profile deployable content”Optional<String>getDescription()“The description of the profile which is specified by the user.”Optional<String>getDisplayName()“The display name of the profile.”Optional<OffsetDateTime>getEndOfSupportDate()“The last supported date for a feature update”Optional<String>getFeatureUpdateVersion()“The feature update version that will be deployed to the devices targeted by this profile.Optional<OffsetDateTime>getLastModifiedDateTime()“The date time that the profile was last modified.”com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTagIds()“List of Scope Tags for this Feature Update entity.”com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)“List of Scope Tags for this Feature Update entity.”Optional<WindowsUpdateRolloutSettings>getRolloutSettings()“The windows update rollout settings, including offer start date time, offer end date time, and days between each set of offers.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()WindowsFeatureUpdateProfilepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsFeatureUpdateProfileput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsFeatureUpdateProfilewithCreatedDateTime(OffsetDateTime createdDateTime)Returns an immutable copy ofthiswith just thecreatedDateTimefield changed.WindowsFeatureUpdateProfilewithDeployableContentDisplayName(String deployableContentDisplayName)Returns an immutable copy ofthiswith just thedeployableContentDisplayNamefield changed.WindowsFeatureUpdateProfilewithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.WindowsFeatureUpdateProfilewithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.WindowsFeatureUpdateProfilewithEndOfSupportDate(OffsetDateTime endOfSupportDate)Returns an immutable copy ofthiswith just theendOfSupportDatefield changed.WindowsFeatureUpdateProfilewithFeatureUpdateVersion(String featureUpdateVersion)Returns an immutable copy ofthiswith just thefeatureUpdateVersionfield changed.WindowsFeatureUpdateProfilewithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed.WindowsFeatureUpdateProfilewithRoleScopeTagIds(List<String> roleScopeTagIds)Returns an immutable copy ofthiswith just theroleScopeTagIdsfield changed.WindowsFeatureUpdateProfilewithRolloutSettings(WindowsUpdateRolloutSettings rolloutSettings)Returns an immutable copy ofthiswith just therolloutSettingsfield changed.WindowsFeatureUpdateProfilewithUnmappedField(String name, String value)
-
-
-
Field Detail
-
createdDateTime
protected OffsetDateTime createdDateTime
-
deployableContentDisplayName
protected String deployableContentDisplayName
-
description
protected String description
-
displayName
protected String displayName
-
endOfSupportDate
protected OffsetDateTime endOfSupportDate
-
featureUpdateVersion
protected String featureUpdateVersion
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
roleScopeTagIdsNextLink
protected String roleScopeTagIdsNextLink
-
rolloutSettings
protected WindowsUpdateRolloutSettings rolloutSettings
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderWindowsFeatureUpdateProfile
public static WindowsFeatureUpdateProfile.Builder builderWindowsFeatureUpdateProfile()
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
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
“The date time that the profile was created.”- Returns:
- property createdDateTime
-
withCreatedDateTime
public WindowsFeatureUpdateProfile withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy ofthiswith just thecreatedDateTimefield 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 time that the profile was created.”
- Parameters:
createdDateTime- new value ofcreatedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecreatedDateTimefield changed
-
getDeployableContentDisplayName
public Optional<String> getDeployableContentDisplayName()
“Friendly display name of the quality update profile deployable content”- Returns:
- property deployableContentDisplayName
-
withDeployableContentDisplayName
public WindowsFeatureUpdateProfile withDeployableContentDisplayName(String deployableContentDisplayName)
Returns an immutable copy ofthiswith just thedeployableContentDisplayNamefield 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.“Friendly display name of the quality update profile deployable content”
- Parameters:
deployableContentDisplayName- new value ofdeployableContentDisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeployableContentDisplayNamefield changed
-
getDescription
public Optional<String> getDescription()
“The description of the profile which is specified by the user.”- Returns:
- property description
-
withDescription
public WindowsFeatureUpdateProfile withDescription(String description)
Returns an immutable copy ofthiswith just thedescriptionfield 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 description of the profile which is specified by the user.”
- Parameters:
description- new value ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“The display name of the profile.”- Returns:
- property displayName
-
withDisplayName
public WindowsFeatureUpdateProfile 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 of the profile.”
- 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 feature update”- Returns:
- property endOfSupportDate
-
withEndOfSupportDate
public WindowsFeatureUpdateProfile 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 feature update”
- Parameters:
endOfSupportDate- new value ofendOfSupportDatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theendOfSupportDatefield changed
-
getFeatureUpdateVersion
public Optional<String> getFeatureUpdateVersion()
“The feature update version that will be deployed to the devices targeted by this profile. The version could be any supported version for example 1709, 1803 or 1809 and so on.”- Returns:
- property featureUpdateVersion
-
withFeatureUpdateVersion
public WindowsFeatureUpdateProfile withFeatureUpdateVersion(String featureUpdateVersion)
Returns an immutable copy ofthiswith just thefeatureUpdateVersionfield 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 feature update version that will be deployed to the devices targeted by this profile. The version could be any supported version for example 1709, 1803 or 1809 and so on.”
- Parameters:
featureUpdateVersion- new value offeatureUpdateVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefeatureUpdateVersionfield changed
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
“The date time that the profile was last modified.”- Returns:
- property lastModifiedDateTime
-
withLastModifiedDateTime
public WindowsFeatureUpdateProfile withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy ofthiswith just thelastModifiedDateTimefield 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 time that the profile was last modified.”
- Parameters:
lastModifiedDateTime- new value oflastModifiedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedDateTimefield changed
-
getRoleScopeTagIds
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
“List of Scope Tags for this Feature Update entity.”- Returns:
- property roleScopeTagIds
-
withRoleScopeTagIds
public WindowsFeatureUpdateProfile withRoleScopeTagIds(List<String> roleScopeTagIds)
Returns an immutable copy ofthiswith just theroleScopeTagIdsfield 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.“List of Scope Tags for this Feature Update entity.”
- Parameters:
roleScopeTagIds- new value ofroleScopeTagIdsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theroleScopeTagIdsfield changed
-
getRoleScopeTagIds
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of Scope Tags for this Feature Update entity.”- Parameters:
options- specify connect and read timeouts- Returns:
- property roleScopeTagIds
-
getRolloutSettings
public Optional<WindowsUpdateRolloutSettings> getRolloutSettings()
“The windows update rollout settings, including offer start date time, offer end date time, and days between each set of offers.”- Returns:
- property rolloutSettings
-
withRolloutSettings
public WindowsFeatureUpdateProfile withRolloutSettings(WindowsUpdateRolloutSettings rolloutSettings)
Returns an immutable copy ofthiswith just therolloutSettingsfield 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 windows update rollout settings, including offer start date time, offer end date time, and days between each set of offers.”
- Parameters:
rolloutSettings- new value ofrolloutSettingsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therolloutSettingsfield changed
-
withUnmappedField
public WindowsFeatureUpdateProfile withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getAssignments
public WindowsFeatureUpdateProfileAssignmentCollectionRequest getAssignments()
“The list of group assignments of the profile.”- Returns:
- navigational property assignments
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public WindowsFeatureUpdateProfile patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public WindowsFeatureUpdateProfile put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
assign
public com.github.davidmoten.odata.client.ActionRequestNoReturn assign(List<WindowsFeatureUpdateProfileAssignment> assignments)
-
-