Package odata.msgraph.client.entity
Class IosUpdateDeviceStatus
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.IosUpdateDeviceStatus
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class IosUpdateDeviceStatus extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIosUpdateDeviceStatus.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecomplianceGracePeriodExpirationDateTimeprotected StringdeviceDisplayNameprotected StringdeviceIdprotected StringdeviceModelprotected IosUpdatesInstallStatusinstallStatusprotected OffsetDateTimelastReportedDateTimeprotected StringosVersionprotected ComplianceStatusstatusprotected StringuserIdprotected StringuserNameprotected StringuserPrincipalName-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIosUpdateDeviceStatus()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IosUpdateDeviceStatus.BuilderbuilderIosUpdateDeviceStatus()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.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getComplianceGracePeriodExpirationDateTime()“The DateTime when device compliance grace period expires”Optional<String>getDeviceDisplayName()“Device name of the DevicePolicyStatus.”Optional<String>getDeviceId()“The device id that is being reported.”Optional<String>getDeviceModel()“The device model that is being reported”Optional<IosUpdatesInstallStatus>getInstallStatus()“The installation status of the policy report.”Optional<OffsetDateTime>getLastReportedDateTime()“Last modified date time of the policy report.”Optional<String>getOsVersion()“The device version that is being reported.”Optional<ComplianceStatus>getStatus()“Compliance status of the policy report.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserId()“The User id that is being reported.”Optional<String>getUserName()“The User Name that is being reported”Optional<String>getUserPrincipalName()“UserPrincipalName.”StringodataTypeName()IosUpdateDeviceStatuspatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)IosUpdateDeviceStatusput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()IosUpdateDeviceStatuswithComplianceGracePeriodExpirationDateTime(OffsetDateTime complianceGracePeriodExpirationDateTime)Returns an immutable copy ofthiswith just thecomplianceGracePeriodExpirationDateTimefield changed.IosUpdateDeviceStatuswithDeviceDisplayName(String deviceDisplayName)Returns an immutable copy ofthiswith just thedeviceDisplayNamefield changed.IosUpdateDeviceStatuswithDeviceId(String deviceId)Returns an immutable copy ofthiswith just thedeviceIdfield changed.IosUpdateDeviceStatuswithDeviceModel(String deviceModel)Returns an immutable copy ofthiswith just thedeviceModelfield changed.IosUpdateDeviceStatuswithInstallStatus(IosUpdatesInstallStatus installStatus)Returns an immutable copy ofthiswith just theinstallStatusfield changed.IosUpdateDeviceStatuswithLastReportedDateTime(OffsetDateTime lastReportedDateTime)Returns an immutable copy ofthiswith just thelastReportedDateTimefield changed.IosUpdateDeviceStatuswithOsVersion(String osVersion)Returns an immutable copy ofthiswith just theosVersionfield changed.IosUpdateDeviceStatuswithStatus(ComplianceStatus status)Returns an immutable copy ofthiswith just thestatusfield changed.IosUpdateDeviceStatuswithUnmappedField(String name, Object value)IosUpdateDeviceStatuswithUserId(String userId)Returns an immutable copy ofthiswith just theuserIdfield changed.IosUpdateDeviceStatuswithUserName(String userName)Returns an immutable copy ofthiswith just theuserNamefield changed.IosUpdateDeviceStatuswithUserPrincipalName(String userPrincipalName)Returns an immutable copy ofthiswith just theuserPrincipalNamefield changed.
-
-
-
Field Detail
-
complianceGracePeriodExpirationDateTime
protected OffsetDateTime complianceGracePeriodExpirationDateTime
-
deviceDisplayName
protected String deviceDisplayName
-
deviceId
protected String deviceId
-
deviceModel
protected String deviceModel
-
installStatus
protected IosUpdatesInstallStatus installStatus
-
lastReportedDateTime
protected OffsetDateTime lastReportedDateTime
-
osVersion
protected String osVersion
-
status
protected ComplianceStatus status
-
userId
protected String userId
-
userName
protected String userName
-
userPrincipalName
protected String userPrincipalName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderIosUpdateDeviceStatus
public static IosUpdateDeviceStatus.Builder builderIosUpdateDeviceStatus()
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
-
getComplianceGracePeriodExpirationDateTime
public Optional<OffsetDateTime> getComplianceGracePeriodExpirationDateTime()
“The DateTime when device compliance grace period expires”- Returns:
- property complianceGracePeriodExpirationDateTime
-
withComplianceGracePeriodExpirationDateTime
public IosUpdateDeviceStatus withComplianceGracePeriodExpirationDateTime(OffsetDateTime complianceGracePeriodExpirationDateTime)
Returns an immutable copy ofthiswith just thecomplianceGracePeriodExpirationDateTimefield 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 DateTime when device compliance grace period expires”
- Parameters:
complianceGracePeriodExpirationDateTime- new value ofcomplianceGracePeriodExpirationDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecomplianceGracePeriodExpirationDateTimefield changed
-
getDeviceDisplayName
public Optional<String> getDeviceDisplayName()
“Device name of the DevicePolicyStatus.”- Returns:
- property deviceDisplayName
-
withDeviceDisplayName
public IosUpdateDeviceStatus withDeviceDisplayName(String deviceDisplayName)
Returns an immutable copy ofthiswith just thedeviceDisplayNamefield 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 name of the DevicePolicyStatus.”
- Parameters:
deviceDisplayName- new value ofdeviceDisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceDisplayNamefield changed
-
getDeviceId
public Optional<String> getDeviceId()
“The device id that is being reported.”- Returns:
- property deviceId
-
withDeviceId
public IosUpdateDeviceStatus withDeviceId(String deviceId)
Returns an immutable copy ofthiswith just thedeviceIdfield 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 device id that is being reported.”
- Parameters:
deviceId- new value ofdeviceIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceIdfield changed
-
getDeviceModel
public Optional<String> getDeviceModel()
“The device model that is being reported”- Returns:
- property deviceModel
-
withDeviceModel
public IosUpdateDeviceStatus withDeviceModel(String deviceModel)
Returns an immutable copy ofthiswith just thedeviceModelfield 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 device model that is being reported”
- Parameters:
deviceModel- new value ofdeviceModelfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceModelfield changed
-
getInstallStatus
public Optional<IosUpdatesInstallStatus> getInstallStatus()
“The installation status of the policy report.”- Returns:
- property installStatus
-
withInstallStatus
public IosUpdateDeviceStatus withInstallStatus(IosUpdatesInstallStatus installStatus)
Returns an immutable copy ofthiswith just theinstallStatusfield 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 installation status of the policy report.”
- Parameters:
installStatus- new value ofinstallStatusfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinstallStatusfield changed
-
getLastReportedDateTime
public Optional<OffsetDateTime> getLastReportedDateTime()
“Last modified date time of the policy report.”- Returns:
- property lastReportedDateTime
-
withLastReportedDateTime
public IosUpdateDeviceStatus withLastReportedDateTime(OffsetDateTime lastReportedDateTime)
Returns an immutable copy ofthiswith just thelastReportedDateTimefield 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.“Last modified date time of the policy report.”
- Parameters:
lastReportedDateTime- new value oflastReportedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastReportedDateTimefield changed
-
getOsVersion
public Optional<String> getOsVersion()
“The device version that is being reported.”- Returns:
- property osVersion
-
withOsVersion
public IosUpdateDeviceStatus withOsVersion(String osVersion)
Returns an immutable copy ofthiswith just theosVersionfield 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 device version that is being reported.”
- Parameters:
osVersion- new value ofosVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theosVersionfield changed
-
getStatus
public Optional<ComplianceStatus> getStatus()
“Compliance status of the policy report.”- Returns:
- property status
-
withStatus
public IosUpdateDeviceStatus withStatus(ComplianceStatus status)
Returns an immutable copy ofthiswith just thestatusfield 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.“Compliance status of the policy report.”
- Parameters:
status- new value ofstatusfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestatusfield changed
-
getUserId
public Optional<String> getUserId()
“The User id that is being reported.”- Returns:
- property userId
-
withUserId
public IosUpdateDeviceStatus withUserId(String userId)
Returns an immutable copy ofthiswith just theuserIdfield 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 User id that is being reported.”
- Parameters:
userId- new value ofuserIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserIdfield changed
-
getUserName
public Optional<String> getUserName()
“The User Name that is being reported”- Returns:
- property userName
-
withUserName
public IosUpdateDeviceStatus withUserName(String userName)
Returns an immutable copy ofthiswith just theuserNamefield 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 User Name that is being reported”
- Parameters:
userName- new value ofuserNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserNamefield changed
-
getUserPrincipalName
public Optional<String> getUserPrincipalName()
“UserPrincipalName.”- Returns:
- property userPrincipalName
-
withUserPrincipalName
public IosUpdateDeviceStatus withUserPrincipalName(String userPrincipalName)
Returns an immutable copy ofthiswith just theuserPrincipalNamefield 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.“UserPrincipalName.”
- Parameters:
userPrincipalName- new value ofuserPrincipalNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserPrincipalNamefield changed
-
withUnmappedField
public IosUpdateDeviceStatus 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 IosUpdateDeviceStatus patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public IosUpdateDeviceStatus put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-