public class WindowsFeatureUpdateProfile extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
WindowsFeatureUpdateProfile.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
createdDateTime |
protected String |
description |
protected String |
displayName |
protected String |
featureUpdateVersion |
protected OffsetDateTime |
lastModifiedDateTime |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
WindowsFeatureUpdateProfile() |
| Modifier and Type | Method and Description |
|---|---|
com.github.davidmoten.odata.client.ActionRequestNoReturn |
assign(List<WindowsFeatureUpdateProfileAssignment> assignments) |
static WindowsFeatureUpdateProfile.Builder |
builderWindowsFeatureUpdateProfile()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
WindowsFeatureUpdateProfileAssignmentCollectionRequest |
getAssignments()
“The list of group assignments of the profile.”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<OffsetDateTime> |
getCreatedDateTime()
“The date time that the profile was created.”
|
Optional<String> |
getDescription()
“The description of the profile which is specified by the user.”
|
WindowsUpdateStateCollectionRequest |
getDeviceUpdateStates()
“The list of device states this profile targeted to”
|
Optional<String> |
getDisplayName()
“The display name of the profile.”
|
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.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
WindowsFeatureUpdateProfile |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
WindowsFeatureUpdateProfile |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
WindowsFeatureUpdateProfile |
withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy of
this with just the createdDateTime
field changed. |
WindowsFeatureUpdateProfile |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
WindowsFeatureUpdateProfile |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
WindowsFeatureUpdateProfile |
withFeatureUpdateVersion(String featureUpdateVersion)
Returns an immutable copy of
this with just the featureUpdateVersion field changed. |
WindowsFeatureUpdateProfile |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
protected String displayName
protected String description
protected String featureUpdateVersion
protected OffsetDateTime createdDateTime
protected OffsetDateTime lastModifiedDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static WindowsFeatureUpdateProfile.Builder builderWindowsFeatureUpdateProfile()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<String> getDisplayName()
public WindowsFeatureUpdateProfile withDisplayName(String displayName)
this with just the displayName
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The display name of the profile.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getDescription()
public WindowsFeatureUpdateProfile withDescription(String description)
this with just the description
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
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.”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic Optional<String> getFeatureUpdateVersion()
public WindowsFeatureUpdateProfile withFeatureUpdateVersion(String featureUpdateVersion)
this with just the featureUpdateVersion field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.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.”
featureUpdateVersion - new value of featureUpdateVersion field (as defined in service metadata)this with just the featureUpdateVersion field changedpublic Optional<OffsetDateTime> getCreatedDateTime()
public WindowsFeatureUpdateProfile withCreatedDateTime(OffsetDateTime createdDateTime)
this with just the createdDateTime
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The date time that the profile was created.”
createdDateTime - new value of createdDateTime field (as defined in service metadata)this with just the createdDateTime field changedpublic Optional<OffsetDateTime> getLastModifiedDateTime()
public WindowsFeatureUpdateProfile withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
this with just the lastModifiedDateTime field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“The date time that the profile was last modified.”
lastModifiedDateTime - new value of lastModifiedDateTime field (as defined in service metadata)this with just the lastModifiedDateTime field changedpublic WindowsFeatureUpdateProfileAssignmentCollectionRequest getAssignments()
public WindowsUpdateStateCollectionRequest getDeviceUpdateStates()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic WindowsFeatureUpdateProfile patch()
this with changed fields reset.public WindowsFeatureUpdateProfile put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestNoReturn assign(List<WindowsFeatureUpdateProfileAssignment> assignments)
Copyright © 2018–2020. All rights reserved.