Package odata.msgraph.client.beta.entity
Class WindowsManagementApp
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.WindowsManagementApp
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class WindowsManagementApp extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Windows management app entity.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsManagementApp.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringavailableVersionprotected ManagedInstallerStatusmanagedInstallerprotected StringmanagedInstallerConfiguredDateTime-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsManagementApp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsManagementApp.BuilderbuilderWindowsManagementApp()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getAvailableVersion()“Windows management app available version.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()WindowsManagementAppHealthStateCollectionRequestgetHealthStates()“The list of health states for installed Windows management app.”Optional<ManagedInstallerStatus>getManagedInstaller()“Managed Installer Status”Optional<String>getManagedInstallerConfiguredDateTime()“Managed Installer Configured Date Time”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()WindowsManagementApppatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsManagementAppput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.ActionRequestNoReturnsetAsManagedInstaller()StringtoString()WindowsManagementAppwithAvailableVersion(String availableVersion)Returns an immutable copy ofthiswith just theavailableVersionfield changed.WindowsManagementAppwithManagedInstaller(ManagedInstallerStatus managedInstaller)Returns an immutable copy ofthiswith just themanagedInstallerfield changed.WindowsManagementAppwithManagedInstallerConfiguredDateTime(String managedInstallerConfiguredDateTime)Returns an immutable copy ofthiswith just themanagedInstallerConfiguredDateTimefield changed.WindowsManagementAppwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
availableVersion
protected String availableVersion
-
managedInstaller
protected ManagedInstallerStatus managedInstaller
-
managedInstallerConfiguredDateTime
protected String managedInstallerConfiguredDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderWindowsManagementApp
public static WindowsManagementApp.Builder builderWindowsManagementApp()
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
-
getAvailableVersion
public Optional<String> getAvailableVersion()
“Windows management app available version.”- Returns:
- property availableVersion
-
withAvailableVersion
public WindowsManagementApp withAvailableVersion(String availableVersion)
Returns an immutable copy ofthiswith just theavailableVersionfield 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.“Windows management app available version.”
- Parameters:
availableVersion- new value ofavailableVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theavailableVersionfield changed
-
getManagedInstaller
public Optional<ManagedInstallerStatus> getManagedInstaller()
“Managed Installer Status”- Returns:
- property managedInstaller
-
withManagedInstaller
public WindowsManagementApp withManagedInstaller(ManagedInstallerStatus managedInstaller)
Returns an immutable copy ofthiswith just themanagedInstallerfield 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.“Managed Installer Status”
- Parameters:
managedInstaller- new value ofmanagedInstallerfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themanagedInstallerfield changed
-
getManagedInstallerConfiguredDateTime
public Optional<String> getManagedInstallerConfiguredDateTime()
“Managed Installer Configured Date Time”- Returns:
- property managedInstallerConfiguredDateTime
-
withManagedInstallerConfiguredDateTime
public WindowsManagementApp withManagedInstallerConfiguredDateTime(String managedInstallerConfiguredDateTime)
Returns an immutable copy ofthiswith just themanagedInstallerConfiguredDateTimefield 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.“Managed Installer Configured Date Time”
- Parameters:
managedInstallerConfiguredDateTime- new value ofmanagedInstallerConfiguredDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themanagedInstallerConfiguredDateTimefield changed
-
withUnmappedField
public WindowsManagementApp withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getHealthStates
public WindowsManagementAppHealthStateCollectionRequest getHealthStates()
“The list of health states for installed Windows management app.”- Returns:
- navigational property healthStates
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public WindowsManagementApp patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public WindowsManagementApp put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
setAsManagedInstaller
public com.github.davidmoten.odata.client.ActionRequestNoReturn setAsManagedInstaller()
-
-