Class RetireScheduledManagedDevice
- java.lang.Object
-
- odata.msgraph.client.beta.complex.RetireScheduledManagedDevice
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class RetireScheduledManagedDevice extends Object implements com.github.davidmoten.odata.client.ODataType
“ManagedDevices that are scheduled for retire”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRetireScheduledManagedDevice.Builder
-
Field Summary
Fields Modifier and Type Field Description protected ComplianceStatuscomplianceStateprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringdeviceCompliancePolicyIdprotected StringdeviceCompliancePolicyNameprotected DeviceTypedeviceTypeprotected Stringidprotected StringmanagedDeviceIdprotected StringmanagedDeviceNameprotected ManagementAgentTypemanagementAgentprotected StringodataTypeprotected ManagedDeviceOwnerTypeownerTypeprotected OffsetDateTimeretireAfterDateTimeprotected List<String>roleScopeTagIdsprotected StringroleScopeTagIdsNextLinkprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedRetireScheduledManagedDevice()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RetireScheduledManagedDevice.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<ComplianceStatus>getComplianceState()“Managed Device ComplianceStatus”Optional<String>getDeviceCompliancePolicyId()“Device Compliance PolicyId”Optional<String>getDeviceCompliancePolicyName()“Device Compliance Policy Name”Optional<DeviceType>getDeviceType()“Managed Device Device Type”Optional<String>getId()“Key of the entity.”Optional<String>getManagedDeviceId()“Managed DeviceId”Optional<String>getManagedDeviceName()“Managed Device Name”Optional<ManagementAgentType>getManagementAgent()“Managed Device ManagementAgentType”Optional<ManagedDeviceOwnerType>getOwnerType()“Managed Device ManagedDeviceOwnerType”Optional<OffsetDateTime>getRetireAfterDateTime()“Managed Device Retire After DateTime”com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTagIds()“List of Scope Tags for this Entity instance.”com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)“List of Scope Tags for this Entity instance.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()RetireScheduledManagedDevicewithComplianceState(ComplianceStatus complianceState)Returns an immutable copy ofthiswith just thecomplianceStatefield changed.RetireScheduledManagedDevicewithDeviceCompliancePolicyId(String deviceCompliancePolicyId)Returns an immutable copy ofthiswith just thedeviceCompliancePolicyIdfield changed.RetireScheduledManagedDevicewithDeviceCompliancePolicyName(String deviceCompliancePolicyName)Returns an immutable copy ofthiswith just thedeviceCompliancePolicyNamefield changed.RetireScheduledManagedDevicewithDeviceType(DeviceType deviceType)Returns an immutable copy ofthiswith just thedeviceTypefield changed.RetireScheduledManagedDevicewithId(String id)Returns an immutable copy ofthiswith just theidfield changed .RetireScheduledManagedDevicewithManagedDeviceId(String managedDeviceId)Returns an immutable copy ofthiswith just themanagedDeviceIdfield changed.RetireScheduledManagedDevicewithManagedDeviceName(String managedDeviceName)Returns an immutable copy ofthiswith just themanagedDeviceNamefield changed.RetireScheduledManagedDevicewithManagementAgent(ManagementAgentType managementAgent)Returns an immutable copy ofthiswith just themanagementAgentfield changed.RetireScheduledManagedDevicewithOwnerType(ManagedDeviceOwnerType ownerType)Returns an immutable copy ofthiswith just theownerTypefield changed.RetireScheduledManagedDevicewithRetireAfterDateTime(OffsetDateTime retireAfterDateTime)Returns an immutable copy ofthiswith just theretireAfterDateTimefield changed.RetireScheduledManagedDevicewithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
complianceState
protected ComplianceStatus complianceState
-
deviceCompliancePolicyId
protected String deviceCompliancePolicyId
-
deviceCompliancePolicyName
protected String deviceCompliancePolicyName
-
deviceType
protected DeviceType deviceType
-
id
protected String id
-
managedDeviceId
protected String managedDeviceId
-
managedDeviceName
protected String managedDeviceName
-
managementAgent
protected ManagementAgentType managementAgent
-
ownerType
protected ManagedDeviceOwnerType ownerType
-
retireAfterDateTime
protected OffsetDateTime retireAfterDateTime
-
roleScopeTagIdsNextLink
protected String roleScopeTagIdsNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getComplianceState
public Optional<ComplianceStatus> getComplianceState()
“Managed Device ComplianceStatus”- Returns:
- property complianceState
-
withComplianceState
public RetireScheduledManagedDevice withComplianceState(ComplianceStatus complianceState)
Returns an immutable copy ofthiswith just thecomplianceStatefield 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 Device ComplianceStatus”
- Parameters:
complianceState- new value ofcomplianceStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecomplianceStatefield changed
-
getDeviceCompliancePolicyId
public Optional<String> getDeviceCompliancePolicyId()
“Device Compliance PolicyId”- Returns:
- property deviceCompliancePolicyId
-
withDeviceCompliancePolicyId
public RetireScheduledManagedDevice withDeviceCompliancePolicyId(String deviceCompliancePolicyId)
Returns an immutable copy ofthiswith just thedeviceCompliancePolicyIdfield 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 Compliance PolicyId”
- Parameters:
deviceCompliancePolicyId- new value ofdeviceCompliancePolicyIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceCompliancePolicyIdfield changed
-
getDeviceCompliancePolicyName
public Optional<String> getDeviceCompliancePolicyName()
“Device Compliance Policy Name”- Returns:
- property deviceCompliancePolicyName
-
withDeviceCompliancePolicyName
public RetireScheduledManagedDevice withDeviceCompliancePolicyName(String deviceCompliancePolicyName)
Returns an immutable copy ofthiswith just thedeviceCompliancePolicyNamefield 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 Compliance Policy Name”
- Parameters:
deviceCompliancePolicyName- new value ofdeviceCompliancePolicyNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceCompliancePolicyNamefield changed
-
getDeviceType
public Optional<DeviceType> getDeviceType()
“Managed Device Device Type”- Returns:
- property deviceType
-
withDeviceType
public RetireScheduledManagedDevice withDeviceType(DeviceType deviceType)
Returns an immutable copy ofthiswith just thedeviceTypefield 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 Device Device Type”
- Parameters:
deviceType- new value ofdeviceTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceTypefield changed
-
withId
public RetireScheduledManagedDevice withId(String id)
Returns an immutable copy ofthiswith just theidfield 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.“Key of the entity.”
- Parameters:
id- new value ofidfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theidfield changed
-
getManagedDeviceId
public Optional<String> getManagedDeviceId()
“Managed DeviceId”- Returns:
- property managedDeviceId
-
withManagedDeviceId
public RetireScheduledManagedDevice withManagedDeviceId(String managedDeviceId)
Returns an immutable copy ofthiswith just themanagedDeviceIdfield 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 DeviceId”
- Parameters:
managedDeviceId- new value ofmanagedDeviceIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themanagedDeviceIdfield changed
-
getManagedDeviceName
public Optional<String> getManagedDeviceName()
“Managed Device Name”- Returns:
- property managedDeviceName
-
withManagedDeviceName
public RetireScheduledManagedDevice withManagedDeviceName(String managedDeviceName)
Returns an immutable copy ofthiswith just themanagedDeviceNamefield 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 Device Name”
- Parameters:
managedDeviceName- new value ofmanagedDeviceNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themanagedDeviceNamefield changed
-
getManagementAgent
public Optional<ManagementAgentType> getManagementAgent()
“Managed Device ManagementAgentType”- Returns:
- property managementAgent
-
withManagementAgent
public RetireScheduledManagedDevice withManagementAgent(ManagementAgentType managementAgent)
Returns an immutable copy ofthiswith just themanagementAgentfield 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 Device ManagementAgentType”
- Parameters:
managementAgent- new value ofmanagementAgentfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themanagementAgentfield changed
-
getOwnerType
public Optional<ManagedDeviceOwnerType> getOwnerType()
“Managed Device ManagedDeviceOwnerType”- Returns:
- property ownerType
-
withOwnerType
public RetireScheduledManagedDevice withOwnerType(ManagedDeviceOwnerType ownerType)
Returns an immutable copy ofthiswith just theownerTypefield 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 Device ManagedDeviceOwnerType”
- Parameters:
ownerType- new value ofownerTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theownerTypefield changed
-
getRetireAfterDateTime
public Optional<OffsetDateTime> getRetireAfterDateTime()
“Managed Device Retire After DateTime”- Returns:
- property retireAfterDateTime
-
withRetireAfterDateTime
public RetireScheduledManagedDevice withRetireAfterDateTime(OffsetDateTime retireAfterDateTime)
Returns an immutable copy ofthiswith just theretireAfterDateTimefield 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 Device Retire After DateTime”
- Parameters:
retireAfterDateTime- new value ofretireAfterDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theretireAfterDateTimefield changed
-
getRoleScopeTagIds
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
“List of Scope Tags for this Entity instance.”- Returns:
- property roleScopeTagIds
-
getRoleScopeTagIds
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of Scope Tags for this Entity instance.”- Parameters:
options- specify connect and read timeouts- Returns:
- property roleScopeTagIds
-
withUnmappedField
public RetireScheduledManagedDevice withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static RetireScheduledManagedDevice.Builder builder()
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
-
-