Package odata.msgraph.client.beta.entity
Class WindowsDriverUpdateProfile
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.WindowsDriverUpdateProfile
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class WindowsDriverUpdateProfile extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Windows Driver Update Profile”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsDriverUpdateProfile.Builder
-
Field Summary
Fields Modifier and Type Field Description protected DriverUpdateProfileApprovalTypeapprovalTypeprotected OffsetDateTimecreatedDateTimeprotected IntegerdeploymentDeferralInDaysprotected Stringdescriptionprotected IntegerdeviceReportingprotected StringdisplayNameprotected OffsetDateTimelastModifiedDateTimeprotected IntegernewUpdatesprotected List<String>roleScopeTagIdsprotected StringroleScopeTagIdsNextLink-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsDriverUpdateProfile()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.ActionRequestNoReturnassign(List<WindowsDriverUpdateProfileAssignment> assignments)static WindowsDriverUpdateProfile.BuilderbuilderWindowsDriverUpdateProfile()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<BulkDriverActionResult>executeAction(DriverApprovalAction actionName, List<String> driverIds, OffsetDateTime deploymentDate)Optional<DriverUpdateProfileApprovalType>getApprovalType()“Driver update profile approval type.WindowsDriverUpdateProfileAssignmentCollectionRequestgetAssignments()“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<Integer>getDeploymentDeferralInDays()“Deployment deferral settings in days, only applicable when ApprovalType is set to automatic approval.”Optional<String>getDescription()“The description of the profile which is specified by the user.”Optional<Integer>getDeviceReporting()“Number of devices reporting for this profile”Optional<String>getDisplayName()“The display name for the profile.”WindowsDriverUpdateInventoryCollectionRequestgetDriverInventories()“Driver inventories for this profile.”Optional<OffsetDateTime>getLastModifiedDateTime()“The date time that the profile was last modified.”Optional<Integer>getNewUpdates()“Number of new driver updates available for this profile.”com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTagIds()“List of Scope Tags for this Driver Update entity.”com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)“List of Scope Tags for this Driver Update entity.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()WindowsDriverUpdateProfilepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsDriverUpdateProfileput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.ActionRequestNoReturnsyncInventory()StringtoString()WindowsDriverUpdateProfilewithApprovalType(DriverUpdateProfileApprovalType approvalType)Returns an immutable copy ofthiswith just theapprovalTypefield changed.WindowsDriverUpdateProfilewithCreatedDateTime(OffsetDateTime createdDateTime)Returns an immutable copy ofthiswith just thecreatedDateTimefield changed.WindowsDriverUpdateProfilewithDeploymentDeferralInDays(Integer deploymentDeferralInDays)Returns an immutable copy ofthiswith just thedeploymentDeferralInDaysfield changed.WindowsDriverUpdateProfilewithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.WindowsDriverUpdateProfilewithDeviceReporting(Integer deviceReporting)Returns an immutable copy ofthiswith just thedeviceReportingfield changed.WindowsDriverUpdateProfilewithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.WindowsDriverUpdateProfilewithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed.WindowsDriverUpdateProfilewithNewUpdates(Integer newUpdates)Returns an immutable copy ofthiswith just thenewUpdatesfield changed.WindowsDriverUpdateProfilewithRoleScopeTagIds(List<String> roleScopeTagIds)Returns an immutable copy ofthiswith just theroleScopeTagIdsfield changed.WindowsDriverUpdateProfilewithUnmappedField(String name, String value)
-
-
-
Field Detail
-
approvalType
protected DriverUpdateProfileApprovalType approvalType
-
createdDateTime
protected OffsetDateTime createdDateTime
-
deploymentDeferralInDays
protected Integer deploymentDeferralInDays
-
description
protected String description
-
deviceReporting
protected Integer deviceReporting
-
displayName
protected String displayName
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
newUpdates
protected Integer newUpdates
-
roleScopeTagIdsNextLink
protected String roleScopeTagIdsNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderWindowsDriverUpdateProfile
public static WindowsDriverUpdateProfile.Builder builderWindowsDriverUpdateProfile()
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
-
getApprovalType
public Optional<DriverUpdateProfileApprovalType> getApprovalType()
“Driver update profile approval type. For example, manual or automatic approval.”- Returns:
- property approvalType
-
withApprovalType
public WindowsDriverUpdateProfile withApprovalType(DriverUpdateProfileApprovalType approvalType)
Returns an immutable copy ofthiswith just theapprovalTypefield 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.“Driver update profile approval type. For example, manual or automatic approval.”
- Parameters:
approvalType- new value ofapprovalTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theapprovalTypefield changed
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
“The date time that the profile was created.”- Returns:
- property createdDateTime
-
withCreatedDateTime
public WindowsDriverUpdateProfile 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
-
getDeploymentDeferralInDays
public Optional<Integer> getDeploymentDeferralInDays()
“Deployment deferral settings in days, only applicable when ApprovalType is set to automatic approval.”- Returns:
- property deploymentDeferralInDays
-
withDeploymentDeferralInDays
public WindowsDriverUpdateProfile withDeploymentDeferralInDays(Integer deploymentDeferralInDays)
Returns an immutable copy ofthiswith just thedeploymentDeferralInDaysfield 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.“Deployment deferral settings in days, only applicable when ApprovalType is set to automatic approval.”
- Parameters:
deploymentDeferralInDays- new value ofdeploymentDeferralInDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeploymentDeferralInDaysfield changed
-
getDescription
public Optional<String> getDescription()
“The description of the profile which is specified by the user.”- Returns:
- property description
-
withDescription
public WindowsDriverUpdateProfile 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
-
getDeviceReporting
public Optional<Integer> getDeviceReporting()
“Number of devices reporting for this profile”- Returns:
- property deviceReporting
-
withDeviceReporting
public WindowsDriverUpdateProfile withDeviceReporting(Integer deviceReporting)
Returns an immutable copy ofthiswith just thedeviceReportingfield 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.“Number of devices reporting for this profile”
- Parameters:
deviceReporting- new value ofdeviceReportingfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceReportingfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“The display name for the profile.”- Returns:
- property displayName
-
withDisplayName
public WindowsDriverUpdateProfile 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 profile.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
“The date time that the profile was last modified.”- Returns:
- property lastModifiedDateTime
-
withLastModifiedDateTime
public WindowsDriverUpdateProfile 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
-
getNewUpdates
public Optional<Integer> getNewUpdates()
“Number of new driver updates available for this profile.”- Returns:
- property newUpdates
-
withNewUpdates
public WindowsDriverUpdateProfile withNewUpdates(Integer newUpdates)
Returns an immutable copy ofthiswith just thenewUpdatesfield 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.“Number of new driver updates available for this profile.”
- Parameters:
newUpdates- new value ofnewUpdatesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenewUpdatesfield changed
-
getRoleScopeTagIds
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
“List of Scope Tags for this Driver Update entity.”- Returns:
- property roleScopeTagIds
-
withRoleScopeTagIds
public WindowsDriverUpdateProfile 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 Driver 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 Driver Update entity.”- Parameters:
options- specify connect and read timeouts- Returns:
- property roleScopeTagIds
-
withUnmappedField
public WindowsDriverUpdateProfile withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getAssignments
public WindowsDriverUpdateProfileAssignmentCollectionRequest getAssignments()
“The list of group assignments of the profile.”- Returns:
- navigational property assignments
-
getDriverInventories
public WindowsDriverUpdateInventoryCollectionRequest getDriverInventories()
“Driver inventories for this profile.”- Returns:
- navigational property driverInventories
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public WindowsDriverUpdateProfile patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public WindowsDriverUpdateProfile 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<WindowsDriverUpdateProfileAssignment> assignments)
-
executeAction
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<BulkDriverActionResult> executeAction(DriverApprovalAction actionName, List<String> driverIds, OffsetDateTime deploymentDate)
-
syncInventory
public com.github.davidmoten.odata.client.ActionRequestNoReturn syncInventory()
-
-