Package odata.msgraph.client.entity
Class WindowsInformationProtectionAppLearningSummary
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.WindowsInformationProtectionAppLearningSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class WindowsInformationProtectionAppLearningSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Windows Information Protection AppLearning Summary entity.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsInformationProtectionAppLearningSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringapplicationNameprotected ApplicationTypeapplicationTypeprotected IntegerdeviceCount-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsInformationProtectionAppLearningSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsInformationProtectionAppLearningSummary.BuilderbuilderWindowsInformationProtectionAppLearningSummary()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getApplicationName()“Application Name”Optional<ApplicationType>getApplicationType()“Application Type”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Integer>getDeviceCount()“Device Count”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()WindowsInformationProtectionAppLearningSummarypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsInformationProtectionAppLearningSummaryput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsInformationProtectionAppLearningSummarywithApplicationName(String applicationName)Returns an immutable copy ofthiswith just theapplicationNamefield changed.WindowsInformationProtectionAppLearningSummarywithApplicationType(ApplicationType applicationType)Returns an immutable copy ofthiswith just theapplicationTypefield changed.WindowsInformationProtectionAppLearningSummarywithDeviceCount(Integer deviceCount)Returns an immutable copy ofthiswith just thedeviceCountfield changed.WindowsInformationProtectionAppLearningSummarywithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
applicationName
protected String applicationName
-
applicationType
protected ApplicationType applicationType
-
deviceCount
protected Integer deviceCount
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderWindowsInformationProtectionAppLearningSummary
public static WindowsInformationProtectionAppLearningSummary.Builder builderWindowsInformationProtectionAppLearningSummary()
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
-
getApplicationName
public Optional<String> getApplicationName()
“Application Name”- Returns:
- property applicationName
-
withApplicationName
public WindowsInformationProtectionAppLearningSummary withApplicationName(String applicationName)
Returns an immutable copy ofthiswith just theapplicationNamefield 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.“Application Name”
- Parameters:
applicationName- new value ofapplicationNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theapplicationNamefield changed
-
getApplicationType
public Optional<ApplicationType> getApplicationType()
“Application Type”- Returns:
- property applicationType
-
withApplicationType
public WindowsInformationProtectionAppLearningSummary withApplicationType(ApplicationType applicationType)
Returns an immutable copy ofthiswith just theapplicationTypefield 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.“Application Type”
- Parameters:
applicationType- new value ofapplicationTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theapplicationTypefield changed
-
getDeviceCount
public Optional<Integer> getDeviceCount()
“Device Count”- Returns:
- property deviceCount
-
withDeviceCount
public WindowsInformationProtectionAppLearningSummary withDeviceCount(Integer deviceCount)
Returns an immutable copy ofthiswith just thedeviceCountfield 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.“Device Count”
- Parameters:
deviceCount- new value ofdeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceCountfield changed
-
withUnmappedField
public WindowsInformationProtectionAppLearningSummary withUnmappedField(String name, Object 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 WindowsInformationProtectionAppLearningSummary patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public WindowsInformationProtectionAppLearningSummary put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-